Closed Reyhanehe closed 3 years ago
Dear @Reyhanehe,
TRIQS 3.0 no longer provides the pytriqs
module. Instead you have import from triqs
.
I.e. you would need to run
python -c "import triqs.version as v; print(v.version); print(v.git_hash)"
instead.
Best,
Nils
Dear Wenzell Thanks for your comment on my issue. 1)Yes I installed triqs 3.0.0 on my systems from source using "https://triqs.github.io/triqs/latest/install.html" cite without any error. 2)I am the user of Fedora and it's version is 26. when I used "python -c "import triqs.version as v; print(v.version); print(v.git_hash)"" now , I hav not any error and have following line: "3.0.0 672ebcc........... " but errors which are created in "make test" step of installing "cthyb" solver still exicted. Have you any idea about this problem? Sincerely yours Reyhaneh
Hi Reyhanehe,
could you please run ctest -V -R setup_Delta_tau_and_h_loc
in the cthyb build dir and post the output so that we can analyze the exact error?
Hi Dear hampel, I have following sentences in the command line when I executed "ctest -V -R setup_Delta_tau_and_h_loc": " [reyhan@cm7 ~]$ ctest -V -R setup_Delta_tau_and_h_loc UpdateCTestConfiguration from :/home/reyhan/DartConfiguration.tcl UpdateCTestConfiguration from :/home/reyhan/DartConfiguration.tcl Test project /home/reyhan Constructing a list of tests Updating test list for fixtures Added 0 tests to meet fixture requirements Checking test dependency graph... Checking test dependency graph end No tests were found!!! " Sincerely yours Reyhaneh
But you had some output above? Are you in the correct directory where the make test command fails? Can you try again with one of the other failing tests, e.g. ctest -V -R histograms
. Just run this command instead of make test
after make
.
Dear Hampel I am in the buiding directory,mean I am in "cthyb.build" directory where I use the "make test" command. I try to run another failing test such as "ctest -V -R atomic_observables" and I have the below error:
"0% tests passed, 1 tests failed out of 1
Total Test time (real) = 1.21 sec
The following tests FAILED: 18 - atomic_observables (SEGFAULT) Errors while running CTest"
Sincerely yours, Reyhaneh
I am a bit confused. If I run the command, I get a lot of output before the "0% tests passed..." It should look similar to this:
ctest -V -R atomic_observable
UpdateCTestConfiguration from :/dev/shm/triqs3_unstable_build/cthyb.build/DartConfiguration.tcl
UpdateCTestConfiguration from :/dev/shm/triqs3_unstable_build/cthyb.build/DartConfiguration.tcl
Test project /dev/shm/triqs3_unstable_build/cthyb.build
Constructing a list of tests
Done constructing a list of tests
Updating test list for fixtures
Added 0 tests to meet fixture requirements
Checking test dependency graph...
Checking test dependency graph end
test 19
Start 19: Py_atomic_observables
19: Test command: /cm/shared/sw/pkg/devel/python3/3.7.3/bin/python3 "/dev/shm/triqs3_unstable_build/cthyb.src/test/python//atomic_observables.py"
19: Environment variables:
19: PYTHONPATH=/dev/shm/triqs3_unstable_build/cthyb.build/python:/mnt/home/ahampel/git/ccq-software-build/triqs/3_unst_llvm_ompi/installation/lib/python3.7/site-packages:/cm/shared/sw/pkg/devel/python3/3.7.3-mpi4py-openmpi4
19: Test timeout computed to be: 10000000
19: Starting run with 1 MPI rank(s) at : 2020-12-15 17:18:09.666739
1/1 Test #19: Py_atomic_observables ............ Passed 1.64 sec
The following tests passed:
Py_atomic_observables
100% tests passed, 0 tests failed out of 1
Total Test time (real) = 1.67 sec
You do not see any of this in your terminal? Of course in your case it fails, but it will still show most of the output above which will tell us where you run in etc.
Dear Hampel I could install "cthyb " solver on my laptop without any errors and check it by running the tests that are failed before , such as: "reyhan@cm7 cthyb.build]$ ctest -V -R atomic_observables UpdateCTestConfiguration from :/home/reyhan/triqs/triqs/cthyb.build/DartConfiguration.tcl UpdateCTestConfiguration from :/home/reyhan/triqs/triqs/cthyb.build/DartConfiguration.tcl Test project /home/reyhan/triqs/triqs/cthyb.build Constructing a list of tests Done constructing a list of tests Updating test list for fixtures Added 0 tests to meet fixture requirements Checking test dependency graph... Checking test dependency graph end test 18 Start 18: Py_atomic_observables
18: Test command: /usr/bin/python3 "/home/reyhan/triqs/triqs/cthyb.src/test/python//atomic_observables.py" 18: Environment variables: 18: PYTHONPATH=/home/reyhan/triqs/triqs/cthyb.build/python:/home/reyhan/triqs/triqs/triqs.install/lib/python3.6/site-packages:/home/reyhan/triqs/triqs/triqs.install/lib/python3.6/site-packages:/home/reyhan/triqs/triqs/triqs.install/lib/python3.6/site-packages:/home/reyhan/triqs/triqs/triqs.install/lib/python3.6/site-packages:/usr/bin/phonopy 18: Test timeout computed to be: 10000000 18: Starting run with 1 MPI rank(s) at : 2020-12-15 23:58:32.705643 1/1 Test #18: Py_atomic_observables ............ Passed 9.76 sec
The following tests passed: Py_atomic_observables
100% tests passed, 0 tests failed out of 1
Total Test time (real) = 9.89 sec " when I remove and reinstall "openmpi" in my laptop my errors resolved and "cthyb" installed correctly. Thanks a lot to you for your best comment in my issue. Best regards, Reyhaneh
Okay than I can mark this as resolved. Please also mark issues as resolved when they are.
Dear all Hi I want install "cthyb" solver using triqs 3.0.0. I installed "cthyb" from source using "https://triqs.github.io/cthyb/latest/install.html" cite . But when I want install it in "make test" step I have below errors: "60% tests passed, 10 tests failed out of 25
Total Test time (real) = 31.15 sec
The following tests FAILED: 16 - setup_Delta_tau_and_h_loc (Failed) 17 - single_site_bethe (SEGFAULT) 18 - atomic_observables (SEGFAULT) 19 - kanamori (SEGFAULT) 20 - slater (SEGFAULT) 21 - measure_static (SEGFAULT) 22 - histograms (SEGFAULT) 23 - move_global (SEGFAULT) 24 - h5_read_write (SEGFAULT) 25 - O_tau_ins (SEGFAULT) Errors while running CTest Makefile:96: recipe for target 'test' failed make: *** [test] Error 8 " I check the "pytriqs" version using " python -c "import pytriqs.version as v; print(v.version); print(v.git_hash); print(v.file)" "
"command but I have following error: raceback (most recent call last): File "", line 1, in
ModuleNotFoundError: No module named 'pytriqs'
"
Could you please help me to solving this problem?
best regards;
Reyhaneh