Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions ush/parsing_namelists_CICE.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ fi
# Get correct MPI options for NPROC and grid
local processor_shape=${cice6_processor_shape:-'slenderX2'}
local shape=${processor_shape#${processor_shape%?}}
local NPX=$(( ICEPETS / shape )) #number of processors in x direction
local NPY=$(( ICEPETS / NPX )) #number of processors in y direction
local NPX=$(( ntasks_cice6 / shape )) #number of processors in x direction
local NPY=$(( ntasks_cice6 / NPX )) #number of processors in y direction
if (( $(( NX_GLB % NPX )) == 0 )); then
local block_size_x=$(( NX_GLB / NPX ))
else
Expand Down Expand Up @@ -201,7 +201,7 @@ cat > ice_in <<eof
/

&domain_nml
nprocs = ${ICEPETS}
nprocs = ${ntasks_cice6}
nx_global = ${NX_GLB}
ny_global = ${NY_GLB}
block_size_x = ${block_size_x}
Expand Down