Skip to content

Use Debug configuration #20

@lorenzo-mechbau

Description

@lorenzo-mechbau

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions