Skip to content

Commit

Permalink
machines: eccc: set OMP_STACKSIZE
Browse files Browse the repository at this point in the history
Since d1e972a (Update OMP (CICE-Consortium#680), 2022-02-18), OpenMP
threading is active in 'ice_transport_remap.F90', and the default OpenMP
stack size needs to be adjusted to avoid stack overflows.

Add that variable for the new machines, setting it to a 64 Mb size
as used for other machines.
  • Loading branch information
phil-blain committed May 24, 2022
1 parent 66bf9ff commit 9211a8e
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions configuration/scripts/machines/env.ppp5_intel
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ source /fs/ssm/main/opt/ssmuse/ssmuse-1.11/ssmuse_1.11_all/bin/ssmuse-boot.csh >
set ssmuse=`which ssmuse-csh`
source $ssmuse -d main/opt/hdf5-netcdf4/serial/shared/inteloneapi-2022.1.2/01

# OpenMP
setenv OMP_STACKSIZE 64M

endif

setenv ICE_MACHINE_MACHNAME ppp5
Expand Down
3 changes: 3 additions & 0 deletions configuration/scripts/machines/env.ppp6_intel
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ source /fs/ssm/main/opt/ssmuse/ssmuse-1.11/ssmuse_1.11_all/bin/ssmuse-boot.csh >
set ssmuse=`which ssmuse-csh`
source $ssmuse -d main/opt/hdf5-netcdf4/serial/shared/inteloneapi-2022.1.2/01

# OpenMP
setenv OMP_STACKSIZE 64M

endif

setenv ICE_MACHINE_MACHNAME ppp6
Expand Down
3 changes: 3 additions & 0 deletions configuration/scripts/machines/env.robert_intel
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ source /fs/ssm/main/opt/ssmuse/ssmuse-1.11/ssmuse_1.11_all/bin/ssmuse-boot.csh >
set ssmuse=`which ssmuse-csh`
source $ssmuse -d main/opt/hdf5-netcdf4/serial/shared/inteloneapi-2022.1.2/01

# OpenMP
setenv OMP_STACKSIZE 64M

endif

setenv ICE_MACHINE_MACHNAME robert
Expand Down
3 changes: 3 additions & 0 deletions configuration/scripts/machines/env.underhill_intel
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ source /fs/ssm/main/opt/ssmuse/ssmuse-1.11/ssmuse_1.11_all/bin/ssmuse-boot.csh >
set ssmuse=`which ssmuse-csh`
source $ssmuse -d main/opt/hdf5-netcdf4/serial/shared/inteloneapi-2022.1.2/01

# OpenMP
setenv OMP_STACKSIZE 64M

endif

setenv ICE_MACHINE_MACHNAME underhill
Expand Down

0 comments on commit 9211a8e

Please sign in to comment.