Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Updated build scripts for negishi
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Feb 15, 2024
1 parent 9de6ca8 commit 9647c1a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion buildscripts/build_negishi_gnu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module load gcc/12.2.0
module load hdf5/1.13.2
module load netcdf-c/4.9.0
module load netcdf-fortran/4.6.0
module load shtools/gcc12.2.0/4.11.10
module load shtools/gcc12/4.11.10
cmake -P distclean.cmake
if [[ BUILD_TYPE == "Release" ]]; then
pip install --config-settings=build-dir="build" \
Expand Down
8 changes: 6 additions & 2 deletions buildscripts/build_negishi_intel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,12 @@ module load intel-oneapi-mpi/2021.8.0
source ${INTEL_ONEAPI_COMPILERS_HOME}/setvars.sh > /dev/null 2>&1
module use /depot/daminton/etc/modules
module load use.own
module load conda-env/mintongroup-py3.9.13
if [[ BUILD_TYPE == "Release" ]]; then
module load conda-env/mintongroup-py3.9.13
else
module load cmake/3.24.3
module load ninja/1.11.1-negishi
fi
module load netcdf-fortran/intel-oneapi/4.6.1
module load shtools/intel-oneapi/4.11.10
cmake -P distclean.cmake
Expand All @@ -31,7 +36,6 @@ if [[ BUILD_TYPE == "Release" ]]; then
--no-build-isolation \
-ve .
else
pip uninstall swiftest -y
cmake -P distclean.cmake
cmake -B ${ROOT_DIR}/build -S . -G Ninja \
-DMACHINE_CODE_VALUE="SSE2" \
Expand Down

0 comments on commit 9647c1a

Please sign in to comment.