-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update summit build #14
base: main
Are you sure you want to change the base?
Changes from all commits
d2ef828
cb0eda1
fcf7b61
cbc021a
1910e25
18044bc
bf77c34
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,7 +47,6 @@ if [[ ! -d ${DIR_SRC} ]]; then | |
cd hpx | ||
git checkout ${HPX_VERSION} | ||
cd .. | ||
) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why should we remove this but not the opening parenthesis? |
||
fi | ||
|
||
${CMAKE_COMMAND} \ | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,15 +7,14 @@ set -ex | |
${OCT_WITH_KOKKOS_SCALAR:?} ${CUDA_SM:?} ${OCT_ARCH_FLAGS:?} | ||
|
||
|
||
DIR_SRC=${SOURCE_ROOT}/octotiger | ||
DIR_BUILD=${INSTALL_ROOT}/octotiger/build | ||
DIR_SRC=${SOURCE_ROOT}/octotiger-kokkos | ||
DIR_BUILD=${INSTALL_ROOT}/octotiger/build-kokkos | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't particularly like this change (breaks some of my scripts and my own muscle memory :-) ) Is there a specific reason for it? |
||
#DIR_INSTALL=${INSTALL_ROOT}/octotiger | ||
|
||
if [[ ! -d ${DIR_SRC} ]]; then | ||
git clone https://github.com/STEllAR-GROUP/octotiger.git ${DIR_SRC} | ||
pushd ${DIR_SRC} | ||
git checkout master | ||
git submodule update --init --recursive | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why stop checking out the testdata? This would require us to adapt all Jenkins CI pipelines to add this as an additional step (in addition to do this manually for all of our other builds). |
||
popd | ||
fi | ||
|
||
|
@@ -34,8 +33,8 @@ ${CMAKE_COMMAND} \ | |
-DOCTOTIGER_WITH_CUDA=$OCT_WITH_CUDA \ | ||
-DOCTOTIGER_WITH_KOKKOS=$OCT_WITH_KOKKOS \ | ||
-DOCTOTIGER_WITH_BLAST_TEST=ON \ | ||
-DOCTOTIGER_WITH_TESTS=ON \ | ||
-DOCTOTIGER_WITH_Vc=ON \ | ||
-DOCTOTIGER_WITH_TESTS=OFF \ | ||
-DOCTOTIGER_WITH_Vc=OFF \ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I would keep these on ON as we don't gain anything by turning it OFF yet (as some old methods still pull in Vc) |
||
-DOCTOTIGER_WITH_LEGACY_VC=OFF \ | ||
-DOCTOTIGER_WITH_GRIDDIM=8 \ | ||
-DOCTOTIGER_WITH_MAX_NUMBER_FIELDS=15 \ | ||
|
@@ -45,7 +44,7 @@ ${CMAKE_COMMAND} \ | |
-DCMAKE_BUILD_TYPE=$BUILD_TYPE \ | ||
-DVc_DIR=$INSTALL_ROOT/Vc/lib/cmake/Vc \ | ||
-DBOOST_ROOT=$BOOST_ROOT \ | ||
-DHPX_DIR=$INSTALL_ROOT/hpx/$LIBHPX/cmake/HPX/ \ | ||
-DHPX_DIR=$INSTALL_ROOT/hpx/$LIBHPX64/cmake/HPX/ \ | ||
-DHDF5_INCLUDE_DIR=$INSTALL_ROOT/hdf5/include \ | ||
-DSilo_INCLUDE_DIR=$INSTALL_ROOT/silo/include \ | ||
-DSilo_LIBRARY=$INSTALL_ROOT/silo/lib/libsiloh5.a \ | ||
|
@@ -55,7 +54,9 @@ ${CMAKE_COMMAND} \ | |
-DOCTOTIGER_ARCH_FLAG=${OCT_ARCH_FLAGS} \ | ||
-DCPPuddle_DIR=$INSTALL_ROOT/cppuddle/build/cppuddle/lib/cmake/CPPuddle \ | ||
-DKokkos_DIR=$INSTALL_ROOT/kokkos/install/${LIB_DIR_NAME}/cmake/Kokkos \ | ||
-DHPXKokkos_DIR=$INSTALL_ROOT/hpx-kokkos/install/${LIB_DIR_NAME}/cmake/HPXKokkos | ||
-DHPXKokkos_DIR=$INSTALL_ROOT/hpx-kokkos/install/${LIB_DIR_NAME}/cmake/HPXKokkos \ | ||
-DCMAKE_CXX_COMPILER="${OCT_CMAKE_CXX_COMPILER}" \ | ||
-DOCTOTIGER_WITH_GRIDDIM=16 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This seems like an error |
||
|
||
${CMAKE_COMMAND} --build ${DIR_BUILD} -- -j${PARALLEL_BUILD} VERBOSE=1 | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why should we remove this but not the opening parenthesis?