From d98902f42bc530a7e89e54f38e4a85111b6ee561 Mon Sep 17 00:00:00 2001 From: David Huber <69919478+DavidHuber-NOAA@users.noreply.github.com> Date: Thu, 9 Feb 2023 09:08:48 -0500 Subject: [PATCH] Use new EPIC-maintained hpc-stack on Jet (#771) Update the Jet build module to point to the new hpc-stack. Add CMake file to run the unit tests on Jet. Fixes #770. --- cmake/mpiexec.jet | 16 ++++++++++++++++ modulefiles/build.jet.intel.lua | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100755 cmake/mpiexec.jet diff --git a/cmake/mpiexec.jet b/cmake/mpiexec.jet new file mode 100755 index 000000000..a59fbcbd9 --- /dev/null +++ b/cmake/mpiexec.jet @@ -0,0 +1,16 @@ +#!/bin/bash +# +# Arguments: +# +# $1 - Number of MPI Tasks +# $2+ - Executable and its arguments +# + +ACCOUNT=nesdis-rdo2 +QOS=debug +PARTITION=xjet + +NP=$1 +shift + +srun -A $ACCOUNT -p $PARTITION -q $QOS -n $NP $@ diff --git a/modulefiles/build.jet.intel.lua b/modulefiles/build.jet.intel.lua index bc716c79d..c85f8e498 100644 --- a/modulefiles/build.jet.intel.lua +++ b/modulefiles/build.jet.intel.lua @@ -8,7 +8,7 @@ load(pathJoin("cmake", cmake_ver)) hpss_ver=os.getenv("hpss_ver") or "" load(pathJoin("hpss", hpss_ver)) -prepend_path("MODULEPATH", "/lfs4/HFIP/hfv3gfs/nwprod/hpc-stack/libs/modulefiles/stack") +prepend_path("MODULEPATH", "/lfs4/HFIP/hfv3gfs/role.epic/hpc-stack/libs/intel-2022.1.2/modulefiles/stack") hpc_ver=os.getenv("hpc_ver") or "1.2.0" load(pathJoin("hpc", hpc_ver))