Skip to content

Commit

Permalink
Merge pull request #14 from zach1221/Gaea_Machine-name
Browse files Browse the repository at this point in the history
Gaea machine name
  • Loading branch information
ulmononian authored Jan 25, 2024
2 parents ddc577c + 42c97c9 commit f4dc1f7
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 9 deletions.
4 changes: 2 additions & 2 deletions tests/compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ if [[ $MACHINE_ID == macosx ]] || [[ $MACHINE_ID == linux ]]; then
source $PATHTR/modulefiles/ufs_${MACHINE_ID}.${RT_COMPILER}
else
# Activate lua environment for gaea c5
if [[ $MACHINE_ID == gaea-c5 ]]; then
source /lustre/f2/dev/role.epic/contrib/Lmod_init_C5.sh
if [[ $MACHINE_ID == gaea ]]; then
module reset
fi
# Load fv3 module
module use $PATHTR/modulefiles
Expand Down
2 changes: 1 addition & 1 deletion tests/default_vars.sh
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ elif [[ $MACHINE_ID = s4 ]]; then
ICE_tasks_cpl_bmrk=48
WAV_tasks_cpl_bmrk=80

elif [[ $MACHINE_ID = gaea-c5 ]]; then
elif [[ $MACHINE_ID = gaea ]]; then

TPN=128

Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions tests/module-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ elif [[ $MACHINE_ID = stampede ]] ; then
fi
module purge

elif [[ $MACHINE_ID = gaea-c5 ]] ; then
# We are on GAEA C5
elif [[ $MACHINE_ID = gaea ]] ; then
# We are on GAEA
if ( ! eval module help > /dev/null 2>&1 ) ; then
# We cannot simply load the module command. The GAEA
# /etc/profile modifies a number of module-related variables
Expand Down
6 changes: 4 additions & 2 deletions tests/rt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -313,9 +313,11 @@ elif [[ $MACHINE_ID = gaea-c5 ]]; then
ROCOTOCOMPLETE=$(which rocotocomplete)
ROCOTO_SCHEDULER=slurm


module load PrgEnv-intel/8.3.3
module load intel-classic/2023.1.0
module load cray-mpich/8.1.25
module load intel-classic/2023.1.0
module use /ncrc/proj/epic/spack-stack/modulefiles
module load python/3.9.12
module use /ncrc/proj/epic/spack-stack/modulefiles
module load ecflow/5.8.4
Expand Down Expand Up @@ -657,7 +659,7 @@ if [[ $ROCOTO == true ]]; then
QUEUE=main
COMPILE_QUEUE=main
ROCOTO_SCHEDULER=pbspro
elif [[ $MACHINE_ID = gaea-c5 ]]; then
elif [[ $MACHINE_ID = gaea ]]; then
QUEUE=normal
COMPILE_QUEUE=normal
ROCOTO_SCHEDULER=slurm
Expand Down
4 changes: 2 additions & 2 deletions tests/run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ cp ${PATHTR}/modulefiles/ufs_common* ./modulefiles/.
cp ${PATHRT}/module-setup.sh module-setup.sh

# load nccmp module
if [[ " s4 hera orion hercules gaea-c5 jet derecho acorn wcoss2 " =~ " $MACHINE_ID " ]]; then
if [[ " s4 hera orion hercules gaea jet derecho acorn wcoss2 " =~ " $MACHINE_ID " ]]; then
if [[ " wcoss2 acorn " =~ " ${MACHINE_ID} " ]] ; then
module load intel/19.1.3.304 netcdf/4.7.4
module load nccmp
Expand All @@ -106,7 +106,7 @@ if [[ " s4 hera orion hercules gaea-c5 jet derecho acorn wcoss2 " =~ " $MACHINE_
module load stack-intel/2021.5.0 stack-intel-oneapi-mpi/2021.5.0
module load miniconda/3.9.12
module load nccmp/1.9.0.1
elif [[ " hera orion hercules gaea-c5 jet " =~ " ${MACHINE_ID} " ]] ; then
elif [[ " hera orion hercules gaea jet " =~ " ${MACHINE_ID} " ]] ; then
module use modulefiles
module load modules.fv3
else
Expand Down

0 comments on commit f4dc1f7

Please sign in to comment.