Skip to content

Commit 4cb5802

Browse files
authored
Fix OpenMP over-allocation of resources in exglobal_atmos_products.sh when running MPMD tasks (#2212)
Fix OpenMP over-allocation of resources running MPMD tasks Co-authored-by: Innocent Souopgui <isouopgui@redlineperf.com>
1 parent b056b53 commit 4cb5802

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/exglobal_atmos_products.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ for (( nset=1 ; nset <= downset ; nset++ )); do
129129

130130
# Run with MPMD or serial
131131
if [[ "${USE_CFP:-}" = "YES" ]]; then
132-
"${HOMEgfs}/ush/run_mpmd.sh" "${DATA}/poescript"
132+
OMP_NUM_THREADS=1 "${HOMEgfs}/ush/run_mpmd.sh" "${DATA}/poescript"
133133
export err=$?
134134
else
135135
chmod 755 "${DATA}/poescript"

0 commit comments

Comments
 (0)