What process creates TEST.PASSED_*
Posted: 15 Dec 2020, 19:37
Hi,
When running
make test
all my parallel tests fail.
While investigating the problem I have experimented with fem/tests/AdvReactDB and concluded that the problem is missing TEST.PASSED_6 file.
The question is what process creates this file as looking into CMake scripts gave me no answer.
Facts: Test run by cmake fail, but running ElmerSolver by hand looks OK. Below I show the screen output of the two cases.
I will appreciate any hint.
Best regards,
Roman
-------------------------------- Running ctest:
putanowr@krakus:~/work/ELMER/build/fem/tests/AdvReactDB$ ctest -V -R AdvReactDB_np6
[... skip some output ..]
2: ======================================= HERE:
2: -- BINARY_DIR = /home/prac/putanowr/work/ELMER/build
2: -- Extra library directories
2: HHHHHHH: /usr/bin/mpiexec.hydra -np 6 /home/prac/putanowr/work/ELMER/build/fem/src/ElmerSolver_mpi
2: CMake Error at /home/prac/putanowr/work/ELMER/elmerfem/cmake/Modules/test_macros.cmake:158 (FILE):
2: FILE failed to open for reading (No such file or directory):
2:
2: /home/prac/putanowr/work/ELMER/build/fem/tests/AdvReactDB/TEST.PASSED_6
2: Call Stack (most recent call first):
2: /home/prac/putanowr/work/ELMER/elmerfem/fem/tests/AdvReactDB/runtest.cmake:4 (RUN_ELMER_TEST)
2:
2:
1/1 Test #2: AdvReactDB_np6 ...................***Failed 2.20 sec
0% tests passed, 1 tests failed out of 1
------------------------------------------------------------ Running ElmerSolver directly:
putanowr@krakus:~/work/ELMER/build/fem/tests/AdvReactDB$ /usr/bin/mpiexec.hydra -np 6 /home/prac/putanowr/work/ELMER/build/fem/src/ElmerSolver_mpi
This produces quite verbose output, where I could read:
CompareToReferenceSolution: PASSED all 1 tests!
ElmerSolver: *** Elmer Solver: ALL DONE ***
The execution status echo $? is 0.
When running
make test
all my parallel tests fail.
While investigating the problem I have experimented with fem/tests/AdvReactDB and concluded that the problem is missing TEST.PASSED_6 file.
The question is what process creates this file as looking into CMake scripts gave me no answer.
Facts: Test run by cmake fail, but running ElmerSolver by hand looks OK. Below I show the screen output of the two cases.
I will appreciate any hint.
Best regards,
Roman
-------------------------------- Running ctest:
putanowr@krakus:~/work/ELMER/build/fem/tests/AdvReactDB$ ctest -V -R AdvReactDB_np6
[... skip some output ..]
2: ======================================= HERE:
2: -- BINARY_DIR = /home/prac/putanowr/work/ELMER/build
2: -- Extra library directories
2: HHHHHHH: /usr/bin/mpiexec.hydra -np 6 /home/prac/putanowr/work/ELMER/build/fem/src/ElmerSolver_mpi
2: CMake Error at /home/prac/putanowr/work/ELMER/elmerfem/cmake/Modules/test_macros.cmake:158 (FILE):
2: FILE failed to open for reading (No such file or directory):
2:
2: /home/prac/putanowr/work/ELMER/build/fem/tests/AdvReactDB/TEST.PASSED_6
2: Call Stack (most recent call first):
2: /home/prac/putanowr/work/ELMER/elmerfem/fem/tests/AdvReactDB/runtest.cmake:4 (RUN_ELMER_TEST)
2:
2:
1/1 Test #2: AdvReactDB_np6 ...................***Failed 2.20 sec
0% tests passed, 1 tests failed out of 1
------------------------------------------------------------ Running ElmerSolver directly:
putanowr@krakus:~/work/ELMER/build/fem/tests/AdvReactDB$ /usr/bin/mpiexec.hydra -np 6 /home/prac/putanowr/work/ELMER/build/fem/src/ElmerSolver_mpi
This produces quite verbose output, where I could read:
CompareToReferenceSolution: PASSED all 1 tests!
ElmerSolver: *** Elmer Solver: ALL DONE ***
The execution status echo $? is 0.