Skip to content

Commit

Permalink
Merge branch 'gpu_init' of https://github.com/ORNL-Fusion/KORC into g…
Browse files Browse the repository at this point in the history
…pu_init
  • Loading branch information
mbeidler3 committed Aug 24, 2023
2 parents 9c4bc92 + 3932bcc commit 7efda0e
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .cmfkit/scenario/egyro
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -32,8 +33,16 @@ __build() {

mkdir -p ./build && cd $_

cmake --version

echo $CMFKIT_CMDLINE_CMAKE_DEFINITIONS

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
}
Expand Down

0 comments on commit 7efda0e

Please sign in to comment.