TRIQS / triqs_0.x

DEPRECATED -- This is the repository of the older versions of TRIQS
Other
11 stars 9 forks source link

TRQIS test failed #109

Closed mljphy closed 11 years ago

mljphy commented 11 years ago

Hi I meet some problems when installing TRIQS. After doing cmake successfuly, I run make test, but the following fails appears: Start 115: Umat 115/118 Test #115: Umat ............................._Failed 0.12 sec Start 118: HubbardI 118/118 Test #118: HubbardI ........................._Failed 0.12 sec

98% tests passed, 2 tests failed out of 118

Total Test time (real) = 42.89 sec

The following tests FAILED: 115 - Umat (Failed) 118 - HubbardI (Failed)

Firstly,I have check the LastTest.log file, the relevent content display :

115/118 Testing: Umat 115/118 Test: Umat Command: "/usr/bin/cmake" "-Dname=Umat" "-Dcmd=/home/mlj/codes/triqs/triqs_git/build_triqs/run_pytriqs_for_test.sh" "-Dinput=/home/mlj/codes/triqs/triqs_git/TRIQS/pytriqs/Wien2k/test/Umat.py" "-DoutputName=Umat.output.h5" "-Dreference=/home/mlj/codes/triqs/triqs_git/TRIQS/pytriqs/Wien2k/test/Umat.output.h5" "-DH5_DIFF_EXECUTABLE=/usr/lib64/mpich2/bin/h5diff" "-DH5_DIFF_OPTIONS= -d 1.e-6" "-DH5_DIFF_OBJECTS=" "-P" "/home/mlj/codes/triqs/triqs_git/TRIQS/cmake/run_test.cmake" Directory: /home/mlj/codes/triqs/triqs_git/build_triqs/pytriqs/Wien2k/test "Umat" start time: Feb 24 10:09 CST

Output:

command for the test /home/mlj/codes/triqs/triqs_git/build_triqs/run_pytriqs_for_test.sh /home/mlj/codes/triqs/triqs_git/TRIQS/pytriqs/Wien2k/test/Umat.py CMake Error at /home/mlj/codes/triqs/triqs_git/TRIQS/cmake/run_test.cmake:26 (message): error runing test 'Umat': ;shell output: 1!

## Test time = 0.12 sec Test Failed. "Umat" end time: Feb 24 10:09 CST ## "Umat" time elapsed: 00:00:00 ## and 118/118 Testing: HubbardI 118/118 Test: HubbardI Command: "/usr/bin/cmake" "-Dname=HubbardI" "-Dcmd=/home/mlj/codes/triqs/triqs_git/build_triqs/run_pytriqs_for_test.sh" "-Dinput=/home/mlj/codes/triqs/triqs_git/TRIQS/pytriqs/Solvers/HubbardI/test/HubbardI.py" "-DoutputName=HubbardI.output.h5" "-Dreference=/home/mlj/codes/triqs/triqs_git/TRIQS/pytriqs/Solvers/HubbardI/test/HubbardI.output.h5" "-DH5_DIFF_EXECUTABLE=/usr/lib64/mpich2/bin/h5diff" "-DH5_DIFF_OPTIONS= -d 1.e-6" "-DH5_DIFF_OBJECTS=" "-P" "/home/mlj/codes/triqs/triqs_git/TRIQS/cmake/run_test.cmake" Directory: /home/mlj/codes/triqs/triqs_git/build_triqs/pytriqs/Solvers/HubbardI/test "HubbardI" start time: Feb 24 10:09 CST ## Output: command for the test /home/mlj/codes/triqs/triqs_git/build_triqs/run_pytriqs_for_test.sh /home/mlj/codes/triqs/triqs_git/TRIQS/pytriqs/Solvers/HubbardI/test/HubbardI.py CMake Error at /home/mlj/codes/triqs/triqs_git/TRIQS/cmake/run_test.cmake:26 (message): error runing test 'HubbardI': ;shell output: 1! ## Test time = 0.12 sec Test Failed. "HubbardI" end time: Feb 24 10:09 CST ## "HubbardI" time elapsed: 00:00:00 then I also have check Umat_output.err and HubbardI_output.err files in ../pytriqs/Wien2k/test and ../pytriqs/Solvers/HubbardI/test, I paste in the following Traceback (most recent call last): File "", line 25, in File "/home/mlj/codes/triqs/triqs_git/build_triqs/pytriqs/Wien2k/Umatrix.py", line 29, in from pytriqs.Wien2k.vertex import u4ind ImportError: libifport.so.5: cannot open shared object file: No such file or directory traceback (most recent call last): File "", line 24, in File "/home/mlj/codes/triqs/triqs_git/build_triqs/pytriqs/Solvers/HubbardI/**init**.py", line 30, in from hubbard_I import gf_hi_fullu, sigma_atomic_fullu ImportError: libifport.so.5: cannot open shared object file: No such file or directory Actually, I have updated all dependence library of TRIQS and the version of hdf5 is 1.8.7 I don't know how to deal with these poblems. Can you help me? Thanks in advance.
mferrero commented 11 years ago

Hi! It looks like the tests are having problems to find the intel fortran compiler libraries. In general with ifort you need to source some script to update your environment variables. Something like:

source /opt/intel/Compiler/11.1/056/bin/ifortvars.sh

Otherwise, you can also look where the file libifport.so.5 is located in your system and add this directory to your LD_LIBRARY_PATH

Cheers! Michel

parcollet commented 11 years ago

Indeed, first hit in google for "libifport" http://software.intel.com/en-us/forums/topic/269717

parcollet commented 11 years ago

Conclusion is that the machine was not properly set up. There is no issue here. Closing.