From a6be8f286d1477bd68d202192d1bc1b2ad4dab97 Mon Sep 17 00:00:00 2001 From: "Michael Kavulich, Jr" Date: Wed, 2 Feb 2022 17:30:30 -0700 Subject: [PATCH 1/2] Fix number of processors used for Cheyenne mpirun command --- ush/machine/cheyenne.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ush/machine/cheyenne.sh b/ush/machine/cheyenne.sh index d32b1f90d..a707901db 100755 --- a/ush/machine/cheyenne.sh +++ b/ush/machine/cheyenne.sh @@ -56,7 +56,7 @@ FIXLAM_NCO_BASEDIR=${FIXLAM_NCO_BASEDIR:-"/needs/to/be/specified"} RUN_CMD_SERIAL="time" RUN_CMD_UTILS='mpirun -np $nprocs' -RUN_CMD_FCST='mpirun -np $nprocs' +RUN_CMD_FCST='mpirun -np ${PE_MEMBER01}' RUN_CMD_POST='mpirun -np $nprocs' # MET Installation Locations From 58f53510be875de6cd73797227e9ac7e5ed40fe5 Mon Sep 17 00:00:00 2001 From: "Michael Kavulich, Jr" Date: Wed, 2 Feb 2022 17:31:52 -0700 Subject: [PATCH 2/2] Remove module purge from load_modules_run_task.sh; it is unnecessary and can cause errors --- ush/load_modules_run_task.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/ush/load_modules_run_task.sh b/ush/load_modules_run_task.sh index 59e3e156f..28b0f5647 100755 --- a/ush/load_modules_run_task.sh +++ b/ush/load_modules_run_task.sh @@ -132,8 +132,6 @@ jjob_fp="$2" #----------------------------------------------------------------------- # -module purge - machine=$(echo_lowercase $MACHINE) env_fp="${SR_WX_APP_TOP_DIR}/env/${BUILD_ENV_FN}" module use "${SR_WX_APP_TOP_DIR}/env"