qmcurrents / gimic

Gauge-including magnetically induced currents.
https://gimic.readthedocs.io
GNU General Public License v2.0
28 stars 19 forks source link

make test error on ubuntu #217

Closed patrashantigopal closed 5 years ago

patrashantigopal commented 5 years ago

I am having a problem in running $ make test:

dabu@RES-SHANTIPA:/mnt/c/Users/Shantigp/projects/gimic-master/build$ make test Running tests... Test project /mnt/c/Users/Shantigp/projects/gimic-master/build Start 1: benzene/integration-gauss 1/24 Test #1: benzene/integration-gauss .........Failed 28.46 sec Start 2: benzene/integration-lobatto 2/24 Test #2: benzene/integration-lobatto .......Failed 0.99 sec Start 3: benzene/vectors 3/24 Test #3: benzene/vectors ...................Failed 1.20 sec Start 4: benzene/2d 4/24 Test #4: benzene/2d ........................Failed 1.14 sec Start 5: benzene/3d 5/24 Test #5: benzene/3d ........................Failed 1.95 sec Start 6: benzene/keyword-magnet 6/24 Test #6: benzene/keyword-magnet ............Failed 1.06 sec Start 7: benzene/3d-keyword-magnet 7/24 Test #7: benzene/3d-keyword-magnet .........Failed 2.09 sec Start 8: benzene/2d-keyword-magnet 8/24 Test #8: benzene/2d-keyword-magnet .........Failed 1.21 sec Start 9: benzene/keyword-spacing 9/24 Test #9: benzene/keyword-spacing ...........Failed 1.08 sec Start 10: benzene/keyword-rotation 10/24 Test #10: benzene/keyword-rotation ..........Failed 1.01 sec Start 11: benzene/keyword-rotation_origin 11/24 Test #11: benzene/keyword-rotation_origin ...Failed 1.04 sec Start 12: benzene/keyword-radius 12/24 Test #12: benzene/keyword-radius ............Failed 1.22 sec Start 13: benzene/int-grid-bond-even 13/24 Test #13: benzene/int-grid-bond-even ........Failed 1.02 sec Start 14: benzene/int-cdens 14/24 Test #14: benzene/int-cdens .................Failed 1.23 sec Start 15: benzene/diamag-off 15/24 Test #15: benzene/diamag-off ................Failed 1.19 sec Start 16: benzene/paramag-off 16/24 Test #16: benzene/paramag-off ...............Failed 1.30 sec Start 17: benzene/giao-test 17/24 Test #17: benzene/giao-test .................Failed 1.31 sec Start 18: c4h4/integration 18/24 Test #18: c4h4/integration ..................Failed 1.31 sec Start 19: c4h4/read-grid 19/24 Test #19: c4h4/read-grid ....................Failed 1.28 sec Start 20: open-shell/3d 20/24 Test #20: open-shell/3d .....................Failed 5.27 sec Start 21: open-shell/integration 21/24 Test #21: open-shell/integration ............Failed 1.35 sec Start 22: benzene/valgrind-integral 22/24 Test #22: benzene/valgrind-integral .........Failed 19.49 sec Start 23: benzene/valgrind-2d 23/24 Test #23: benzene/valgrind-2d ...............Failed 3.49 sec Start 24: benzene/skip-jmod-integration 24/24 Test #24: benzene/skip-jmod-integration .....Failed 1.38 sec

0% tests passed, 24 tests failed out of 24

Total Test time (real) = 89.35 sec

The following tests FAILED: 1 - benzene/integration-gauss (Failed) 2 - benzene/integration-lobatto (Failed) 3 - benzene/vectors (Failed) 4 - benzene/2d (Failed) 5 - benzene/3d (Failed) 6 - benzene/keyword-magnet (Failed) 7 - benzene/3d-keyword-magnet (Failed) 8 - benzene/2d-keyword-magnet (Failed) 9 - benzene/keyword-spacing (Failed) 10 - benzene/keyword-rotation (Failed) 11 - benzene/keyword-rotation_origin (Failed) 12 - benzene/keyword-radius (Failed) 13 - benzene/int-grid-bond-even (Failed) 14 - benzene/int-cdens (Failed) 15 - benzene/diamag-off (Failed) 16 - benzene/paramag-off (Failed) 17 - benzene/giao-test (Failed) 18 - c4h4/integration (Failed) 19 - c4h4/read-grid (Failed) 20 - open-shell/3d (Failed) 21 - open-shell/integration (Failed) 22 - benzene/valgrind-integral (Failed) 23 - benzene/valgrind-2d (Failed) 24 - benzene/skip-jmod-integration (Failed) Errors while running CTest Makefile:94: recipe for target 'test' failed make: *** [test] Error 8

I shall be very grateful if someone can help me.

Best regards, Shanti

EudesG commented 5 years ago

Have you installed the runtest from requirements file?

patrashantigopal commented 5 years ago

Yes, I have the runtest installed in my system.

bast commented 5 years ago

Please have a look at Testing/Temporary/LastTest.log - what error do you see there? I guess it is the same error for all tests.

patrashantigopal commented 5 years ago

Please have a look:

Start testing: Mar 20 11:23 STD

1/24 Testing: benzene/integration-gauss 1/24 Test: benzene/integration-gauss Command: "/mnt/c/Users/Shantigp/projects/gimic-master/test/benzene/integration-gauss/test" "--binary-dir=/mnt/c/Users/shantigp/projects/gimic-master/build/bin" "--work-dir=/mnt/c/Users/shantigp/projects/gimic-master/build/test/benzene/integration-gauss" "--verbose" Directory: /mnt/c/Users/shantigp/projects/gimic-master/test/benzene/integration-gauss "benzene/integration-gauss" start time: Mar 20 11:23 STD Output:

ERROR: filter [10 lines from " *** Integrating current"] did not extract anything from file /mnt/c/Users/shantigp/projects/gimic-master/build/test/benzene/integration-gauss/stdout

running test with input files ['gimic.inp'] and args None

Test time = 28.46 sec ---------------------------------------------------------- Test Failed. "benzene/integration-gauss" end time: Mar 20 11:23 STD "benzene/integration-gauss" time elapsed: 00:00:28 ---------------------------------------------------------- 2/24 Testing: benzene/integration-lobatto 2/24 Test: benzene/integration-lobatto Command: "/mnt/c/Users/Shantigp/projects/gimic-master/test/benzene/integration-lobatto/test" "--binary-dir=/mnt/c/Users/shantigp/projects/gimic-master/build/bin" "--work-dir=/mnt/c/Users/shantigp/projects/gimic-master/build/test/benzene/integration-lobatto" "--verbose" Directory: /mnt/c/Users/shantigp/projects/gimic-master/test/benzene/integration-lobatto "benzene/integration-lobatto" start time: Mar 20 11:23 STD Output: ---------------------------------------------------------- ERROR: filter [10 lines from " *** Integrating current"] did not extract anything from file /mnt/c/Users/shantigp/projects/gimic-master/build/test/benzene/integration-lobatto/stdout running test with input files ['gimic.inp'] and args None Test time = 0.99 sec ---------------------------------------------------------- Test Failed. "benzene/integration-lobatto" end time: Mar 20 11:23 STD "benzene/integration-lobatto" time elapsed: 00:00:00 ---------------------------------------------------------- 3/24 Testing: benzene/vectors 3/24 Test: benzene/vectors Command: "/mnt/c/Users/Shantigp/projects/gimic-master/test/benzene/vectors/test" "--binary-dir=/mnt/c/Users/shantigp/projects/gimic-master/build/bin" "--work-dir=/mnt/c/Users/shantigp/projects/gimic-master/build/test/benzene/vectors" "--verbose" Directory: /mnt/c/Users/shantigp/projects/gimic-master/test/benzene/vectors "benzene/vectors" start time: Mar 20 11:23 STD Output: ---------------------------------------------------------- ERROR: could not open file /mnt/c/Users/shantigp/projects/gimic-master/build/test/benzene/vectors/jvec.vti running test with input files ['vectors.inp'] and args None Test time = 1.20 sec ---------------------------------------------------------- Test Failed. "benzene/vectors" end time: Mar 20 11:23 STD "benzene/vectors" time elapsed: 00:00:01 ---------------------------------------------------------- 4/24 Testing: benzene/2d 4/24 Test: benzene/2d Command: "/mnt/c/Users/Shantigp/projects/gimic-master/test/benzene/2d/test" "--binary-dir=/mnt/c/Users/shantigp/projects/gimic-master/build/bin" "--work-dir=/mnt/c/Users/shantigp/projects/gimic-master/build/test/benzene/2d" "--verbose" Directory: /mnt/c/Users/shantigp/projects/gimic-master/test/benzene/2d "benzene/2d" start time: Mar 20 11:23 STD Output: ---------------------------------------------------------- ERROR: could not open file /mnt/c/Users/shantigp/projects/gimic-master/build/test/benzene/2d/jvec.vti running test with input files ['gimic.inp'] and args None Test time = 1.14 sec ---------------------------------------------------------- Test Failed. "benzene/2d" end time: Mar 20 11:23 STD "benzene/2d" time elapsed: 00:00:01 ---------------------------------------------------------- 5/24 Testing: benzene/3d 5/24 Test: benzene/3d Command: "/mnt/c/Users/Shantigp/projects/gimic-master/test/benzene/3d/test" "--binary-dir=/mnt/c/Users/shantigp/projects/gimic-master/build/bin" "--work-dir=/mnt/c/Users/shantigp/projects/gimic-master/build/test/benzene/3d" "--verbose" Directory: /mnt/c/Users/shantigp/projects/gimic-master/test/benzene/3d "benzene/3d" start time: Mar 20 11:23 STD Output: ---------------------------------------------------------- ERROR: could not open file /mnt/c/Users/shantigp/projects/gimic-master/build/test/benzene/3d/acid.vti running test with input files ['gimic.inp'] and args None Test time = 1.95 sec ---------------------------------------------------------- Test Failed. "benzene/3d" end time: Mar 20 11:23 STD "benzene/3d" time elapsed: 00:00:01 ---------------------------------------------------------- 6/24 Testing: benzene/keyword-magnet 6/24 Test: benzene/keyword-magnet Command: "/mnt/c/Users/Shantigp/projects/gimic-master/test/benzene/keyword-magnet/test" "--binary-dir=/mnt/c/Users/shantigp/projects/gimic-master/build/bin" "--work-dir=/mnt/c/Users/shantigp/projects/gimic-master/build/test/benzene/keyword-magnet" "--verbose" Directory: /mnt/c/Users/shantigp/projects/gimic-master/test/benzene/keyword-magnet "benzene/keyword-magnet" start time: Mar 20 11:23 STD Output: ---------------------------------------------------------- ERROR: filter [10 lines from " *** Integrating current"] did not extract anything from file /mnt/c/Users/shantigp/projects/gimic-master/build/test/benzene/keyword-magnet/stdout running test with input files ['gimic.inp'] and args None Test time = 1.06 sec ---------------------------------------------------------- Test Failed. "benzene/keyword-magnet" end time: Mar 20 11:23 STD "benzene/keyword-magnet" time elapsed: 00:00:01 ---------------------------------------------------------- 7/24 Testing: benzene/3d-keyword-magnet 7/24 Test: benzene/3d-keyword-magnet Command: "/mnt/c/Users/Shantigp/projects/gimic-master/test/benzene/3d-keyword-magnet/test" "--binary-dir=/mnt/c/Users/shantigp/projects/gimic-master/build/bin" "--work-dir=/mnt/c/Users/shantigp/projects/gimic-master/build/test/benzene/3d-keyword-magnet" "--verbose" Directory: /mnt/c/Users/shantigp/projects/gimic-master/test/benzene/3d-keyword-magnet "benzene/3d-keyword-magnet" start time: Mar 20 11:23 STD Output: ---------------------------------------------------------- ERROR: could not open file /mnt/c/Users/shantigp/projects/gimic-master/build/test/benzene/3d-keyword-magnet/acid.vti running test with input files ['gimic.inp'] and args None Test time = 2.09 sec ---------------------------------------------------------- Test Failed. "benzene/3d-keyword-magnet" end time: Mar 20 11:23 STD "benzene/3d-keyword-magnet" time elapsed: 00:00:02 ---------------------------------------------------------- 8/24 Testing: benzene/2d-keyword-magnet 8/24 Test: benzene/2d-keyword-magnet Command: "/mnt/c/Users/Shantigp/projects/gimic-master/test/benzene/2d-keyword-magnet/test" "--binary-dir=/mnt/c/Users/shantigp/projects/gimic-master/build/bin" "--work-dir=/mnt/c/Users/shantigp/projects/gimic-master/build/test/benzene/2d-keyword-magnet" "--verbose" Directory: /mnt/c/Users/shantigp/projects/gimic-master/test/benzene/2d-keyword-magnet "benzene/2d-keyword-magnet" start time: Mar 20 11:23 STD Output: ---------------------------------------------------------- ERROR: could not open file /mnt/c/Users/shantigp/projects/gimic-master/build/test/benzene/2d-keyword-magnet/jvec.vti running test with input files ['gimic.inp'] and args None Test time = 1.21 sec ---------------------------------------------------------- Test Failed. "benzene/2d-keyword-magnet" end time: Mar 20 11:23 STD "benzene/2d-keyword-magnet" time elapsed: 00:00:01 ---------------------------------------------------------- 9/24 Testing: benzene/keyword-spacing 9/24 Test: benzene/keyword-spacing Command: "/mnt/c/Users/Shantigp/projects/gimic-master/test/benzene/keyword-spacing/test" "--binary-dir=/mnt/c/Users/shantigp/projects/gimic-master/build/bin" "--work-dir=/mnt/c/Users/shantigp/projects/gimic-master/build/test/benzene/keyword-spacing" "--verbose" Directory: /mnt/c/Users/shantigp/projects/gimic-master/test/benzene/keyword-spacing "benzene/keyword-spacing" start time: Mar 20 11:24 STD Output: ---------------------------------------------------------- ERROR: filter [10 lines from " *** Integrating current"] did not extract anything from file /mnt/c/Users/shantigp/projects/gimic-master/build/test/benzene/keyword-spacing/stdout running test with input files ['gimic.inp'] and args None Test time = 1.08 sec ---------------------------------------------------------- Test Failed. "benzene/keyword-spacing" end time: Mar 20 11:24 STD "benzene/keyword-spacing" time elapsed: 00:00:01 ---------------------------------------------------------- 10/24 Testing: benzene/keyword-rotation 10/24 Test: benzene/keyword-rotation Command: "/mnt/c/Users/Shantigp/projects/gimic-master/test/benzene/keyword-rotation/test" "--binary-dir=/mnt/c/Users/shantigp/projects/gimic-master/build/bin" "--work-dir=/mnt/c/Users/shantigp/projects/gimic-master/build/test/benzene/keyword-rotation" "--verbose" Directory: /mnt/c/Users/shantigp/projects/gimic-master/test/benzene/keyword-rotation "benzene/keyword-rotation" start time: Mar 20 11:24 STD Output: ---------------------------------------------------------- ERROR: filter [10 lines from " *** Integrating current"] did not extract anything from file /mnt/c/Users/shantigp/projects/gimic-master/build/test/benzene/keyword-rotation/stdout running test with input files ['gimic.inp'] and args None Test time = 1.01 sec ---------------------------------------------------------- Test Failed. "benzene/keyword-rotation" end time: Mar 20 11:24 STD "benzene/keyword-rotation" time elapsed: 00:00:01 ---------------------------------------------------------- 11/24 Testing: benzene/keyword-rotation_origin 11/24 Test: benzene/keyword-rotation_origin Command: "/mnt/c/Users/Shantigp/projects/gimic-master/test/benzene/keyword-rotation_origin/test" "--binary-dir=/mnt/c/Users/shantigp/projects/gimic-master/build/bin" "--work-dir=/mnt/c/Users/shantigp/projects/gimic-master/build/test/benzene/keyword-rotation_origin" "--verbose" Directory: /mnt/c/Users/shantigp/projects/gimic-master/test/benzene/keyword-rotation_origin "benzene/keyword-rotation_origin" start time: Mar 20 11:24 STD Output: ---------------------------------------------------------- ERROR: filter [10 lines from " *** Integrating current"] did not extract anything from file /mnt/c/Users/shantigp/projects/gimic-master/build/test/benzene/keyword-rotation_origin/stdout running test with input files ['gimic.inp'] and args None Test time = 1.04 sec ---------------------------------------------------------- Test Failed. "benzene/keyword-rotation_origin" end time: Mar 20 11:24 STD "benzene/keyword-rotation_origin" time elapsed: 00:00:01 ---------------------------------------------------------- 12/24 Testing: benzene/keyword-radius 12/24 Test: benzene/keyword-radius Command: "/mnt/c/Users/Shantigp/projects/gimic-master/test/benzene/keyword-radius/test" "--binary-dir=/mnt/c/Users/shantigp/projects/gimic-master/build/bin" "--work-dir=/mnt/c/Users/shantigp/projects/gimic-master/build/test/benzene/keyword-radius" "--verbose" Directory: /mnt/c/Users/shantigp/projects/gimic-master/test/benzene/keyword-radius "benzene/keyword-radius" start time: Mar 20 11:24 STD Output: ---------------------------------------------------------- ERROR: filter [10 lines from " *** Integrating current"] did not extract anything from file /mnt/c/Users/shantigp/projects/gimic-master/build/test/benzene/keyword-radius/stdout running test with input files ['gimic.inp'] and args None Test time = 1.22 sec ---------------------------------------------------------- Test Failed. "benzene/keyword-radius" end time: Mar 20 11:24 STD "benzene/keyword-radius" time elapsed: 00:00:01 ---------------------------------------------------------- 13/24 Testing: benzene/int-grid-bond-even 13/24 Test: benzene/int-grid-bond-even Command: "/mnt/c/Users/Shantigp/projects/gimic-master/test/benzene/int-grid-bond-even/test" "--binary-dir=/mnt/c/Users/shantigp/projects/gimic-master/build/bin" "--work-dir=/mnt/c/Users/shantigp/projects/gimic-master/build/test/benzene/int-grid-bond-even" "--verbose" Directory: /mnt/c/Users/shantigp/projects/gimic-master/test/benzene/int-grid-bond-even "benzene/int-grid-bond-even" start time: Mar 20 11:24 STD Output: ---------------------------------------------------------- ERROR: filter [10 lines from " *** Integrating current"] did not extract anything from file /mnt/c/Users/shantigp/projects/gimic-master/build/test/benzene/int-grid-bond-even/stdout running test with input files ['gimic.inp'] and args None Test time = 1.02 sec ---------------------------------------------------------- Test Failed. "benzene/int-grid-bond-even" end time: Mar 20 11:24 STD "benzene/int-grid-bond-even" time elapsed: 00:00:01 ---------------------------------------------------------- 14/24 Testing: benzene/int-cdens 14/24 Test: benzene/int-cdens Command: "/mnt/c/Users/Shantigp/projects/gimic-master/test/benzene/int-cdens/test" "--binary-dir=/mnt/c/Users/shantigp/projects/gimic-master/build/bin" "--work-dir=/mnt/c/Users/shantigp/projects/gimic-master/build/test/benzene/int-cdens" "--verbose" Directory: /mnt/c/Users/shantigp/projects/gimic-master/test/benzene/int-cdens "benzene/int-cdens" start time: Mar 20 11:24 STD Output: ---------------------------------------------------------- ERROR: could not open file /mnt/c/Users/shantigp/projects/gimic-master/build/test/benzene/int-cdens/jmod.txt running test with input files ['gimic.inp'] and args None Test time = 1.23 sec ---------------------------------------------------------- Test Failed. "benzene/int-cdens" end time: Mar 20 11:24 STD "benzene/int-cdens" time elapsed: 00:00:01 ---------------------------------------------------------- 15/24 Testing: benzene/diamag-off 15/24 Test: benzene/diamag-off Command: "/mnt/c/Users/Shantigp/projects/gimic-master/test/benzene/diamag-off/test" "--binary-dir=/mnt/c/Users/shantigp/projects/gimic-master/build/bin" "--work-dir=/mnt/c/Users/shantigp/projects/gimic-master/build/test/benzene/diamag-off" "--verbose" Directory: /mnt/c/Users/shantigp/projects/gimic-master/test/benzene/diamag-off "benzene/diamag-off" start time: Mar 20 11:24 STD Output: ---------------------------------------------------------- ERROR: filter [10 lines from " *** Integrating current"] did not extract anything from file /mnt/c/Users/shantigp/projects/gimic-master/build/test/benzene/diamag-off/stdout running test with input files ['gimic.inp'] and args None Test time = 1.19 sec ---------------------------------------------------------- Test Failed. "benzene/diamag-off" end time: Mar 20 11:24 STD "benzene/diamag-off" time elapsed: 00:00:01 ---------------------------------------------------------- 16/24 Testing: benzene/paramag-off 16/24 Test: benzene/paramag-off Command: "/mnt/c/Users/Shantigp/projects/gimic-master/test/benzene/paramag-off/test" "--binary-dir=/mnt/c/Users/shantigp/projects/gimic-master/build/bin" "--work-dir=/mnt/c/Users/shantigp/projects/gimic-master/build/test/benzene/paramag-off" "--verbose" Directory: /mnt/c/Users/shantigp/projects/gimic-master/test/benzene/paramag-off "benzene/paramag-off" start time: Mar 20 11:24 STD Output: ---------------------------------------------------------- ERROR: filter [10 lines from " *** Integrating current"] did not extract anything from file /mnt/c/Users/shantigp/projects/gimic-master/build/test/benzene/paramag-off/stdout running test with input files ['gimic.inp'] and args None Test time = 1.30 sec ---------------------------------------------------------- Test Failed. "benzene/paramag-off" end time: Mar 20 11:24 STD "benzene/paramag-off" time elapsed: 00:00:01 ---------------------------------------------------------- 17/24 Testing: benzene/giao-test 17/24 Test: benzene/giao-test Command: "/mnt/c/Users/Shantigp/projects/gimic-master/test/benzene/giao-test/test" "--binary-dir=/mnt/c/Users/shantigp/projects/gimic-master/build/bin" "--work-dir=/mnt/c/Users/shantigp/projects/gimic-master/build/test/benzene/giao-test" "--verbose" Directory: /mnt/c/Users/shantigp/projects/gimic-master/test/benzene/giao-test "benzene/giao-test" start time: Mar 20 11:24 STD Output: ---------------------------------------------------------- ERROR: filter [10 lines from " *** Integrating current"] did not extract anything from file /mnt/c/Users/shantigp/projects/gimic-master/build/test/benzene/giao-test/stdout running test with input files ['gimic.inp'] and args None Test time = 1.31 sec ---------------------------------------------------------- Test Failed. "benzene/giao-test" end time: Mar 20 11:24 STD "benzene/giao-test" time elapsed: 00:00:01 ---------------------------------------------------------- 18/24 Testing: c4h4/integration 18/24 Test: c4h4/integration Command: "/mnt/c/Users/Shantigp/projects/gimic-master/test/c4h4/integration/test" "--binary-dir=/mnt/c/Users/shantigp/projects/gimic-master/build/bin" "--work-dir=/mnt/c/Users/shantigp/projects/gimic-master/build/test/c4h4/integration" "--verbose" Directory: /mnt/c/Users/shantigp/projects/gimic-master/test/c4h4/integration "c4h4/integration" start time: Mar 20 11:24 STD Output: ---------------------------------------------------------- ERROR: filter [10 lines from " *** Integrating current"] did not extract anything from file /mnt/c/Users/shantigp/projects/gimic-master/build/test/c4h4/integration/stdout running test with input files ['gimic.inp'] and args None Test time = 1.31 sec ---------------------------------------------------------- Test Failed. "c4h4/integration" end time: Mar 20 11:24 STD "c4h4/integration" time elapsed: 00:00:01 ---------------------------------------------------------- 19/24 Testing: c4h4/read-grid 19/24 Test: c4h4/read-grid Command: "/mnt/c/Users/Shantigp/projects/gimic-master/test/c4h4/read-grid/test" "--binary-dir=/mnt/c/Users/shantigp/projects/gimic-master/build/bin" "--work-dir=/mnt/c/Users/shantigp/projects/gimic-master/build/test/c4h4/read-grid" "--verbose" Directory: /mnt/c/Users/shantigp/projects/gimic-master/test/c4h4/read-grid "c4h4/read-grid" start time: Mar 20 11:24 STD Output: ---------------------------------------------------------- ERROR: could not open file /mnt/c/Users/shantigp/projects/gimic-master/build/test/c4h4/read-grid/jvec.vti running test with input files ['gimic.inp'] and args None Test time = 1.28 sec ---------------------------------------------------------- Test Failed. "c4h4/read-grid" end time: Mar 20 11:24 STD "c4h4/read-grid" time elapsed: 00:00:01 ---------------------------------------------------------- 20/24 Testing: open-shell/3d 20/24 Test: open-shell/3d Command: "/mnt/c/Users/Shantigp/projects/gimic-master/test/open-shell/3d/test" "--binary-dir=/mnt/c/Users/shantigp/projects/gimic-master/build/bin" "--work-dir=/mnt/c/Users/shantigp/projects/gimic-master/build/test/open-shell/3d" "--verbose" Directory: /mnt/c/Users/shantigp/projects/gimic-master/test/open-shell/3d "open-shell/3d" start time: Mar 20 11:24 STD Output: ---------------------------------------------------------- ERROR: could not open file /mnt/c/Users/shantigp/projects/gimic-master/build/test/open-shell/3d/jvecspindens.vti running test with input files ['gimic.inp'] and args None Test time = 5.27 sec ---------------------------------------------------------- Test Failed. "open-shell/3d" end time: Mar 20 11:24 STD "open-shell/3d" time elapsed: 00:00:05 ---------------------------------------------------------- 21/24 Testing: open-shell/integration 21/24 Test: open-shell/integration Command: "/mnt/c/Users/Shantigp/projects/gimic-master/test/open-shell/integration/test" "--binary-dir=/mnt/c/Users/shantigp/projects/gimic-master/build/bin" "--work-dir=/mnt/c/Users/shantigp/projects/gimic-master/build/test/open-shell/integration" "--verbose" Directory: /mnt/c/Users/shantigp/projects/gimic-master/test/open-shell/integration "open-shell/integration" start time: Mar 20 11:24 STD Output: ---------------------------------------------------------- ERROR: filter [10 lines from "*** Integrating total density"] did not extract anything from file /mnt/c/Users/shantigp/projects/gimic-master/build/test/open-shell/integration/stdout running test with input files ['gimic.inp'] and args None Test time = 1.35 sec ---------------------------------------------------------- Test Failed. "open-shell/integration" end time: Mar 20 11:24 STD "open-shell/integration" time elapsed: 00:00:01 ---------------------------------------------------------- 22/24 Testing: benzene/valgrind-integral 22/24 Test: benzene/valgrind-integral Command: "/mnt/c/Users/Shantigp/projects/gimic-master/test/benzene/valgrind-integral/test" "--binary-dir=/mnt/c/Users/shantigp/projects/gimic-master/build/bin" "--work-dir=/mnt/c/Users/shantigp/projects/gimic-master/build/test/benzene/valgrind-integral" "--verbose" Directory: /mnt/c/Users/shantigp/projects/gimic-master/test/benzene/valgrind-integral "benzene/valgrind-integral" start time: Mar 20 11:24 STD Output: ---------------------------------------------------------- ERROR: test /mnt/c/Users/shantigp/projects/gimic-master/build/test/benzene/valgrind-integral/valgrind-summary.dat failed ERROR: extracted sizes do not match own gave 1 numbers: ==107== in use at exit: 17,872 bytes in 138 blocks reference gave 2 numbers: ==30761== in use at exit: 0 bytes in 0 blocks running test with input files ['gimic.inp'] and args None Test time = 19.49 sec ---------------------------------------------------------- Test Failed. "benzene/valgrind-integral" end time: Mar 20 11:24 STD "benzene/valgrind-integral" time elapsed: 00:00:19 ---------------------------------------------------------- 23/24 Testing: benzene/valgrind-2d 23/24 Test: benzene/valgrind-2d Command: "/mnt/c/Users/Shantigp/projects/gimic-master/test/benzene/valgrind-2d/test" "--binary-dir=/mnt/c/Users/shantigp/projects/gimic-master/build/bin" "--work-dir=/mnt/c/Users/shantigp/projects/gimic-master/build/test/benzene/valgrind-2d" "--verbose" Directory: /mnt/c/Users/shantigp/projects/gimic-master/test/benzene/valgrind-2d "benzene/valgrind-2d" start time: Mar 20 11:24 STD Output: ---------------------------------------------------------- ERROR: test /mnt/c/Users/shantigp/projects/gimic-master/build/test/benzene/valgrind-2d/valgrind-summary.dat failed ERROR: extracted sizes do not match own gave 1 numbers: ==111== in use at exit: 17,916 bytes in 139 blocks reference gave 2 numbers: ==30761== in use at exit: 0 bytes in 0 blocks running test with input files ['gimic.inp'] and args None Test time = 3.49 sec ---------------------------------------------------------- Test Failed. "benzene/valgrind-2d" end time: Mar 20 11:24 STD "benzene/valgrind-2d" time elapsed: 00:00:03 ---------------------------------------------------------- 24/24 Testing: benzene/skip-jmod-integration 24/24 Test: benzene/skip-jmod-integration Command: "/mnt/c/Users/Shantigp/projects/gimic-master/test/benzene/skip-jmod-integration/test" "--binary-dir=/mnt/c/Users/shantigp/projects/gimic-master/build/bin" "--work-dir=/mnt/c/Users/shantigp/projects/gimic-master/build/test/benzene/skip-jmod-integration" "--verbose" Directory: /mnt/c/Users/shantigp/projects/gimic-master/test/benzene/skip-jmod-integration "benzene/skip-jmod-integration" start time: Mar 20 11:24 STD Output: ---------------------------------------------------------- ERROR: filter [10 lines from " *** Integrating current"] did not extract anything from file /mnt/c/Users/shantigp/projects/gimic-master/build/test/benzene/skip-jmod-integration/stdout running test with input files ['gimic.inp'] and args None Test time = 1.38 sec ---------------------------------------------------------- Test Failed. "benzene/skip-jmod-integration" end time: Mar 20 11:24 STD "benzene/skip-jmod-integration" time elapsed: 00:00:01 ---------------------------------------------------------- End testing: Mar 20 11:24 STD
EudesG commented 5 years ago

Could you show us the steps of installation that you used ?

bast commented 5 years ago

It looks like all tests fail for the same reason. So you can perhaps first focus on one test only. It might be helpful to run one of them interactively, e.g.:

$ cd ~/tmp/gimic/test/benzene/2d
$ ./test -b ~/tmp/gimic/build/bin/  
patrashantigopal commented 5 years ago

dabu@RES-SHANTIPA:/mnt/c/Users/Shantigp/projects/gimic-master/test/benzene/2d$ ./test -b /mnt/c/Users/Shantigp/projects/gimic-master/build/bin/

running test with input files ['gimic.inp'] and args None ERROR: could not open file /mnt/c/Users/Shantigp/projects/gimic-master/test/benzene/2d/jvec.vti

patrashantigopal commented 5 years ago

dabu@RES-SHANTIPA:/mnt/c/Users/Shantigp/projects/gimic-master/test/benzene/2d$ ./test -b /mnt/c/Users/Shantigp/projects/gimic-master/build/bin/

running test with input files ['gimic.inp'] and args None passed

bast commented 5 years ago

OK next thing to try is to run GIMIC directly (adjust path):

$ cd test/benzene/2d
$ /path/to/gimic/build/bin/gimic 
patrashantigopal commented 5 years ago

Now it passed. Thanks a lot @bast . I am new to this program as well as Ubuntu. I may face another problem. Will post here please help.

bast commented 5 years ago

OK but please explain how you solved it. For the next person who hits this same problem.

patrashantigopal commented 5 years ago

Actually jvec.vti file was inside 2D/reference folder. So I copied it from reference and pasted in 2D. Then it works.

bast commented 5 years ago

But then I am not sure you really solved it. The error that you have seen meant that the test script could not find the file. But GIMIC should have generated it. Please try to run GIMIC directly as I have recommended. I think you will see some error.

patrashantigopal commented 5 years ago

unable to set path:

dabu@RES-SHANTIPA:/mnt/c/Users/Shantigp/projects/gimic-master/test/benzene/2d$ /path/to/gimic/build/bin/gimic -bash: /path/to/gimic/build/bin/gimic: No such file or directory

bast commented 5 years ago

OK that was an example path I produced - it should be the path to your gimic binary and I am not sure where precisely that is.

patrashantigopal commented 5 years ago

ok

patrashantigopal commented 5 years ago

The path is set now. What next?

bast commented 5 years ago

The GIMIC example runs without any errors? I suspect there are errors.

patrashantigopal commented 5 years ago

how to run gimic from my work directory? I tried this way:

/mnt/c/Users/shantigp/projects/gimic-master/test/bz$ gimic [gimic.inp]>gimic.out /mnt/c/Users/shantigp/projects/gimic-master/build/bin/

Command 'gimic' not found, did you mean:

command 'gmic' from deb gmic

Try: sudo apt install

Please help.

bast commented 5 years ago

Instead of

$ gimic [gimic.inp]>gimic.out /mnt/c/Users/shantigp/projects/gimic-master/build/bin/

Try

$ /mnt/c/Users/shantigp/projects/gimic-master/build/bin/gimic
patrashantigopal commented 5 years ago

/mnt/c/Users/shantigp/projects/gimic-master/test/bz$ /mnt/c/Users/shantigp/projects/gimic-master/build /bin/gimic

This is F-GIMIC.

 ****************************************************************
 ***                                                          ***
 ***           GIMIC 2.1.4 ()                              ***
 ***              Written by Jonas Juselius                   ***
 ***                                                          ***
 ***  This software is copyright (c) 2003-2011 by             ***
 ***  Jonas Juselius,  University of Tromso.                  ***
 ***                                                          ***
 ***  You are free to distribute this software under the      ***
 ***  terms of the GNU General Public License                 ***
 ***                                                          ***
 ***  A Pretty Advanced 'Hello World!' Program                ***
 ****************************************************************

 Thu Mar 21 12:23:51 2019
  TITLE:

 INFO: GIAOs not used!

 INFO: Detected TURBOMOLE input

 Number of atoms =  12

 Normalizing basis

   Total number of primitive  GTO's    354
   Total number of contracted GTO's    252

 *** Calculating screening coefficients
 INFO: Screening threshold:   0.1000E-07

 INFO: Reordering densities [TURBOMOLE]

 Integration grid data
 ------------------------------------------------
 center     2.277078   -0.005328    0.000000
 origin     7.277078   -0.005328   -5.000000
 basv1     -0.000000   -0.000000    1.000000
 basv2     -1.000000   -0.000000   -0.000000
 basv3      0.000000   -1.000000    0.000000
 lenghts   10.000000    7.200000    0.000000
 magnet     0.000000    0.000000   -1.000000

 Grid mode = bond
 INFO: Integration grid selected.
 INFO: Adjusted number of grid points for quadrature:    36   36    0
   Number of grid points <v1,v2>:   36   36    1
   Total number of grid points  :      1296

 *** Grid plot in grid.xyz
    Magnetic field <x,y,z> =   0.00000   0.00000  -1.00000

 INFO: Closed-shell calculation

 Integrating current density
 *****************************************
 Jmod integration skipped.
 *** Integrating current
    Magnetic field <x,y,z> =   0.00000   0.00000  -1.00000

 ************************************************************
    Induced current (au)    :     0.890254
       Positive contribution:     0.956999  (  26.967661 )
       Negative contribution:    -0.066745  (  -1.880828 )

    Induced current (nA/T)  :    25.086833
       (conversion factor)  :    28.179409
 ************************************************************

 *** Deallocated grid data
 INFO: Deallocated basis set and atom data

 ----------------------------------------------------------------------
    wall time:     0.55sec (   0.0 h )
         user:     0.48sec (   0.0 h )
          sys:     0.06sec (   0.0 h )
 ----------------------------------------------------------------------
 Thu Mar 21 12:23:52 2019
 Hello World! (tm)

 done.

Thank you @bast . You are awesome!

bast commented 5 years ago

Excellent - no visible error to me (?). Still it is not clear to me why it hasn't created the file which the test script was looking for but it looks not too bad.

patrashantigopal commented 5 years ago

Yes, still some tests are not passed. But I just wanted to see whether I can do the final step.

heikef commented 5 years ago

Note, the Valgrind test do not pass when you have not installed Valgrind. When all other tests pass you can use the program.

bast commented 5 years ago

Following up on the Valgrind aspect in #219. Apart from that I consider this to be solved. Closing.