You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to use the Debug configuration of iron when running the examples in the framework?
Simply adding the Debug option to "cmake" does not seem to work:
cmake -DOpenCMISSLibs_DIR=/software/opencmiss/opencmiss/install -DCMAKE_BUILD_TYPE=Debug -DTEST_DB=/Desktop/functional_tests/my_testing_select/ ../functional_test_framework
since the output of "make" is
[ 6%] Performing update step for 'test_db'
Current branch develop is up to date.
[ 12%] No configure step for 'test_db'
[ 18%] No build step for 'test_db'
[ 25%] No install step for 'test_db'
[ 31%] Completed 'test_db'
[ 50%] Built target test_db
-- Configuring done
-- Generating done
-- Build files have been written to: /data/homes/zanon/Desktop/functional_tests/functional_test_framework-build/testacquire-build
[ 50%] Built target acquire_tests
[ 56%] Performing update step for 'ndiff'
Current branch v2.0.0 is up to date.
[ 62%] Performing configure step for 'ndiff'
-- Configuring done
-- Generating done
-- Build files have been written to: /data/homes/zanon/Desktop/functional_tests/functional_test_framework-build/ndiff/build
[ 68%] No build step for 'ndiff'
[ 75%] Performing install step for 'ndiff'
Scanning dependencies of target ndiff
[ 16%] Building C object CMakeFiles/ndiff.dir/ndiff.c.o
[ 33%] Building C object CMakeFiles/ndiff.dir/store.c.o
[ 50%] Building C object CMakeFiles/ndiff.dir/awklib.c.o
[ 66%] Linking C executable ndiff
[100%] Built target ndiff
Install the project... -- Install configuration: "Release"
-- Installing: /data/homes/zanon/Desktop/functional_tests/functional_test_framework-build/ndiff/build/bin/ndiff
[ 81%] Completed 'ndiff'
[100%] Built target ndiff
-- Configuring done
-- Generating done
-- Build files have been written to: /data/homes/zanon/Desktop/functional_tests/functional_test_framework-build/testsetup-build
[100%] Built target setup_tests
-- Looking for an MPI ...
-- Looking for MPICH_VERSION
-- Looking for MPICH_VERSION - not found
-- Looking for I_MPI_VERSION
-- Looking for I_MPI_VERSION - not found
-- Looking for an MPI ... found openmpi
-- Looking for MPICH_VERSION
-- Looking for MPICH_VERSION - not found
-- Looking for I_MPI_VERSION
-- Looking for I_MPI_VERSION - not found
-- Looking for OpenCMISS-Iron ...
-- Looking for OpenCMISS-Iron ... Success
-- Looking for OpenCMISS-Zinc ...
-- Looking for OpenCMISS-Zinc ... Success
-- Configuring done
-- Generating done
-- Build files have been written to: /data/homes/zanon/Desktop/functional_tests/functional_test_framework-build/testrunner-build
[100%] Built target laplace_equation_Fortran
[100%] Built target build_tests
Test project /data/homes/zanon/Desktop/functional_tests/functional_test_framework-build
Start 1: laplace_equation
1/1 Test #1: laplace_equation .................***Failed 0.10 sec
The text was updated successfully, but these errors were encountered:
I should add that I did not even build the release version of the library. That is, in my
opencmiss/opencmiss/build/iron
there is only a folder "debug", having used to compile iron the option
-DOPENCMISS_CONFIG_BUILD_TYPE=Debug
Nevertheless, according to the output of "make" in the previous post, the install configuration is "release", and I cannot run any example with totalview using the source in (say)
As Chris suggested, as a temporary solution, I replaced "release" with "debug" in /functional_test_framework/CMakeLists.txt (attached). Now the output of "make" delivers a debug configuration as expected:
Install the project...
-- Install configuration: "Debug"
Still, there is no thread in totalview, using as source the path as above:
functional_test_framework-build/testrunner-build/laplace_equation/src/fortran
Does it mean that the correct debug version is being used by the framework, but no debugging inside the framework is possible?
Is it possible to use the Debug configuration of iron when running the examples in the framework?
Simply adding the Debug option to "cmake" does not seem to work:
cmake -DOpenCMISSLibs_DIR=
/software/opencmiss/opencmiss/install -DCMAKE_BUILD_TYPE=Debug -DTEST_DB=/Desktop/functional_tests/my_testing_select/ ../functional_test_frameworksince the output of "make" is
[ 6%] Performing update step for 'test_db'
Current branch develop is up to date.
[ 12%] No configure step for 'test_db'
[ 18%] No build step for 'test_db'
[ 25%] No install step for 'test_db'
[ 31%] Completed 'test_db'
[ 50%] Built target test_db
-- Configuring done
-- Generating done
-- Build files have been written to: /data/homes/zanon/Desktop/functional_tests/functional_test_framework-build/testacquire-build
[ 50%] Built target acquire_tests
[ 56%] Performing update step for 'ndiff'
Current branch v2.0.0 is up to date.
[ 62%] Performing configure step for 'ndiff'
-- Configuring done
-- Generating done
-- Build files have been written to: /data/homes/zanon/Desktop/functional_tests/functional_test_framework-build/ndiff/build
[ 68%] No build step for 'ndiff'
[ 75%] Performing install step for 'ndiff'
Scanning dependencies of target ndiff
[ 16%] Building C object CMakeFiles/ndiff.dir/ndiff.c.o
[ 33%] Building C object CMakeFiles/ndiff.dir/store.c.o
[ 50%] Building C object CMakeFiles/ndiff.dir/awklib.c.o
[ 66%] Linking C executable ndiff
[100%] Built target ndiff
Install the project...
-- Install configuration: "Release"
-- Installing: /data/homes/zanon/Desktop/functional_tests/functional_test_framework-build/ndiff/build/bin/ndiff
[ 81%] Completed 'ndiff'
[100%] Built target ndiff
-- Configuring done
-- Generating done
-- Build files have been written to: /data/homes/zanon/Desktop/functional_tests/functional_test_framework-build/testsetup-build
[100%] Built target setup_tests
-- Looking for an MPI ...
-- Looking for MPICH_VERSION
-- Looking for MPICH_VERSION - not found
-- Looking for I_MPI_VERSION
-- Looking for I_MPI_VERSION - not found
-- Looking for an MPI ... found openmpi
-- Looking for MPICH_VERSION
-- Looking for MPICH_VERSION - not found
-- Looking for I_MPI_VERSION
-- Looking for I_MPI_VERSION - not found
-- Looking for OpenCMISS-Iron ...
-- Looking for OpenCMISS-Iron ... Success
-- Looking for OpenCMISS-Zinc ...
-- Looking for OpenCMISS-Zinc ... Success
-- Configuring done
-- Generating done
-- Build files have been written to: /data/homes/zanon/Desktop/functional_tests/functional_test_framework-build/testrunner-build
[100%] Built target laplace_equation_Fortran
[100%] Built target build_tests
Test project /data/homes/zanon/Desktop/functional_tests/functional_test_framework-build
Start 1: laplace_equation
1/1 Test #1: laplace_equation .................***Failed 0.10 sec
The text was updated successfully, but these errors were encountered: