Skip to content

Commit

Permalink
Fix OpenMP over-allocation of resources in exglobal_atmos_products.sh…
Browse files Browse the repository at this point in the history
… when running MPMD tasks (#2212)

Fix OpenMP over-allocation of resources running MPMD tasks
Co-authored-by: Innocent Souopgui <isouopgui@redlineperf.com>
  • Loading branch information
souopgui committed Jan 10, 2024
1 parent b056b53 commit 4cb5802
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/exglobal_atmos_products.sh
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ for (( nset=1 ; nset <= downset ; nset++ )); do

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

0 comments on commit 4cb5802

Please sign in to comment.