From 4235cb47c7186964eac4129c3c0f8ee4e52482ea Mon Sep 17 00:00:00 2001 From: Ian Gibbs <90706300+idigs@users.noreply.github.com> Date: Fri, 11 Aug 2023 12:39:54 -0400 Subject: [PATCH 1/4] attempt bugfix --- .cmfkit/scenario/egyro | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.cmfkit/scenario/egyro b/.cmfkit/scenario/egyro index 5d73079f..5da93b9f 100644 --- a/.cmfkit/scenario/egyro +++ b/.cmfkit/scenario/egyro @@ -17,9 +17,10 @@ __build() { CMAKE_BUILD_TYPE="\"${CMAKE_BUILD_TYPE:-Release}\"" # set compiler flag hdf5 double precision - CMAKE_Fortran_FLAGS="\"-DHDF5_DOUBLE_PRESICION -fopenmp\"" + CMAKE_Fortran_FLAGS="\"-DHDF5_DOUBLE_PRESICION\"" CMAKE_Fortran_FLAGS_DEBUG="\"-g -ffpe-trap=invalid,zero,overflow\"" USE_OMP=ON + USE_PSPLINE=ON # commit outstanding CMake def variables to the final roster _deflist_accrue_vars From 7220a2528e4e348e37ba045dfa19e45c616cca74 Mon Sep 17 00:00:00 2001 From: Ian Gibbs <90706300+idigs@users.noreply.github.com> Date: Fri, 11 Aug 2023 12:43:15 -0400 Subject: [PATCH 2/4] debug with xtrace --- .cmfkit/scenario/egyro | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.cmfkit/scenario/egyro b/.cmfkit/scenario/egyro index 5da93b9f..97bfb649 100644 --- a/.cmfkit/scenario/egyro +++ b/.cmfkit/scenario/egyro @@ -35,8 +35,14 @@ __build() { echo $CMFKIT_CMDLINE_CMAKE_DEFINITIONS + # enable xtrace + set -x + cmake $CMFKIT_CMDLINE_CMAKE_DEFINITIONS .. && make VERBOSE=1 \ || return 1 + + #disable xtrace + set +x } From 94af37093b13c34cc0624f2a565909889fa946cb Mon Sep 17 00:00:00 2001 From: Ian Gibbs <90706300+idigs@users.noreply.github.com> Date: Fri, 11 Aug 2023 12:48:54 -0400 Subject: [PATCH 3/4] debug --- .cmfkit/scenario/egyro | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.cmfkit/scenario/egyro b/.cmfkit/scenario/egyro index 97bfb649..5c0edf1f 100644 --- a/.cmfkit/scenario/egyro +++ b/.cmfkit/scenario/egyro @@ -35,14 +35,14 @@ __build() { echo $CMFKIT_CMDLINE_CMAKE_DEFINITIONS - # enable xtrace set -x + cmake -DCMAKE_BUILD_TYPE="Debug" -DCMAKE_Fortran_FLAGS="-DHDF5_DOUBLE_PRESICION -fopenmp" -DCMAKE_Fortran_FLAGS_DEBUG="-g -ffpe-trap=invalid,zero,overflow" -DUSE_OMP=ON .. + + return $? + cmake $CMFKIT_CMDLINE_CMAKE_DEFINITIONS .. && make VERBOSE=1 \ || return 1 - - #disable xtrace - set +x } From 3932bcce620bf5449f8a8a0f0f1eacbc6a7183c5 Mon Sep 17 00:00:00 2001 From: Ian Gibbs <90706300+idigs@users.noreply.github.com> Date: Fri, 11 Aug 2023 13:53:04 -0400 Subject: [PATCH 4/4] show cmake version --- .cmfkit/scenario/egyro | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.cmfkit/scenario/egyro b/.cmfkit/scenario/egyro index 5c0edf1f..0f93809b 100644 --- a/.cmfkit/scenario/egyro +++ b/.cmfkit/scenario/egyro @@ -33,6 +33,8 @@ __build() { mkdir -p ./build && cd $_ + cmake --version + echo $CMFKIT_CMDLINE_CMAKE_DEFINITIONS set -x