Skip to content

Commit

Permalink
Merge pull request #5187 from ye-luo/update-aurora-recipe
Browse files Browse the repository at this point in the history
Update Aurora build recipe.
  • Loading branch information
prckent authored Sep 25, 2024
2 parents 6d2cfde + 886b640 commit 92746e6
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions config/build_alcf_aurora_icpx.sh
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
#!/bin/bash
# This recipe is intended for ALCF Sunspot https://www.alcf.anl.gov/support-center/aurora-sunspot
# last revision: Feb 20th 2024
# This recipe is intended for ALCF Aurora https://www.alcf.anl.gov/support-center/aurora-sunspot
# last revision: Sep 23th 2024
#
# How to invoke this script?
# build_alcf_sunspot_icpx.sh # build all the variants assuming the current directory is the source directory.
# build_alcf_sunspot_icpx.sh <source_dir> # build all the variants with a given source directory <source_dir>
# build_alcf_sunspot_icpx.sh <source_dir> <install_dir> # build all the variants with a given source directory <source_dir> and install to <install_dir>
# build_alcf_aurora_icpx.sh # build all the variants assuming the current directory is the source directory.
# build_alcf_aurora_icpx.sh <source_dir> # build all the variants with a given source directory <source_dir>
# build_alcf_aurora_icpx.sh <source_dir> <install_dir> # build all the variants with a given source directory <source_dir> and install to <install_dir>

for module_name in oneapi/release oneapi/eng-compiler
do
if module is-loaded $module_name ; then module unload $module_name; fi
done

module load spack-pe-gcc cmake
module load oneapi/eng-compiler/2024.04.15.002
module load hdf5/1.14.3 boost/1.84.0
module load oneapi/eng-compiler/2024.07.30.002
module load cmake hdf5/1.14.3 boost/1.84.0
module list >& module_list.txt

echo "**********************************"
Expand All @@ -24,7 +23,7 @@ echo "**********************************"

TYPE=Release
Machine=aurora
Compiler=icpx20240227
Compiler=icpx20240629

if [[ $# -eq 0 ]]; then
source_folder=`pwd`
Expand Down

0 comments on commit 92746e6

Please sign in to comment.