Dear Robert Thanks for getting back to me. Yes the other tests work perfectly well. Thanks again Cheers
On Thursday, December 10, 2015 at 2:46:59 PM UTC, Robert Cimrman wrote: >
On 12/09/2015 03:42 PM, Nina Halabi wrote:
Kindly , I'm trying to install SfePy on a redhat linux workstation.
I was running the python tests and test_linear_solvers.py failed. the command: python run_tests.py --debug tests/test_linear_solvers.py gave the below.
Please note that I got the message "mpi4py (optional) is available in version 1.3, but >= 1.3.1 is needed; you may get run-time errors" during compilation.
You need to worry about this only when using petsc solvers in parallel. But it might work anyway.
gmh@calx039$ python run_tests.py --debug tests/test_linear_solvers.py
... condition: 0, err0: 3.588e+00, err: 3.550e-12 ... solution times (rezidual norms): ... 0.05 [s] (3.288e-12) : i20 ls.scipy_iterative cg ... 0.07 [s] (2.835e-12) : i21 ls.scipy_iterative bicgstab ... 0.09 [s] (2.428e-12) : i10 ls.petsc cg icc ... 0.11 [s] (3.550e-12) : i22 ls.scipy_iterative qmr ... 1.34 [s] (1.554e-14) : d01 ls.scipy_direct superlu ... 1.49 [s] (4.898e-15) : d00 ls.scipy_direct umfpack ... 10000000000.00 [s] (1.000e+10) : i00 ls.pyamg ruge_stuben_solver ... 10000000000.00 [s] (1.000e+10) : i01 ls.pyamg smoothed_aggregation_solver +++ test_solvers: ok
all passed in 5.02 s 1 test file(s) executed in 5.02 s, 0 failure(s) of 1 test(s) WARNING! There are options you set that were not used! WARNING! could be spelling mistake, etc! Option left: name:-sub_pc_type (no value) gmh@calx039$
It is just a warning, the test passed. It seems that the petsc solvers work ok despite the warning.
The other tests worked correctly?