Skip to content

Commit

Permalink
Use IO_LAYOUT=2,2 in global_ALE
Browse files Browse the repository at this point in the history
- In order to testing distributed restarts, we need to do
  I/O on more that one processor. This would have caught
  the bug addressed by NOAA-GFDL/MOM6#840 .
  • Loading branch information
adcroft committed Aug 23, 2018
1 parent 5007183 commit f45003c
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 7 deletions.
5 changes: 4 additions & 1 deletion ocean_only/global_ALE/common/MOM_input
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ NJGLOBAL = 210 !
! STATIC_MEMORY_ this is set in MOM_memory.h at compile time.
!LAYOUT = 8, 8 !
! The processor layout that was acutally used.
IO_LAYOUT = 1, 1 ! default = 0
IO_LAYOUT = 2, 2 ! default = 0
! The processor layout to be used, or 0,0 to automatically
! set the io_layout to be the same as the layout.

Expand Down Expand Up @@ -116,6 +116,9 @@ CHECK_BAD_SURFACE_VALS = True ! [Boolean] default = False
SAVE_INITIAL_CONDS = True ! [Boolean] default = False
! If true, write the initial conditions to a file given
! by IC_OUTPUT_FILE.
PARALLEL_RESTARTFILES = True ! [Boolean] default = False
! If true, each processor writes its own restart file,
! otherwise a single restart file is generated

! === module MOM_tracer_registry ===
TFREEZE_DP = -7.75E-08 ! [deg C Pa-1] default = 0.0
Expand Down
2 changes: 1 addition & 1 deletion ocean_only/global_ALE/hycom/MOM_parameter_doc.all
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ ROTATION = "2omegasinlat" ! default = "2omegasinlat"
! USER - call a user modified routine.
OMEGA = 7.2921E-05 ! [s-1] default = 7.2921E-05
! The rotation rate of the earth.
PARALLEL_RESTARTFILES = False ! [Boolean] default = False
PARALLEL_RESTARTFILES = True ! [Boolean] default = False
! If true, each processor writes its own restart file,
! otherwise a single restart file is generated

Expand Down
2 changes: 1 addition & 1 deletion ocean_only/global_ALE/hycom/MOM_parameter_doc.layout
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ NJPROC = 8 !
! STATIC_MEMORY_ this is set in MOM_memory.h at compile time.
LAYOUT = 8, 8 !
! The processor layout that was acutally used.
IO_LAYOUT = 1, 1 ! default = 1
IO_LAYOUT = 2, 2 ! default = 1
! The processor layout to be used, or 0,0 to automatically
! set the io_layout to be the same as the layout.
NIBLOCK = 1 ! default = 1
Expand Down
3 changes: 3 additions & 0 deletions ocean_only/global_ALE/hycom/MOM_parameter_doc.short
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,9 @@ CHANNEL_CONFIG = "global_1deg" ! default = "none"
! test case.
! file - Read open face widths everywhere from a
! NetCDF file on the model grid.
PARALLEL_RESTARTFILES = True ! [Boolean] default = False
! If true, each processor writes its own restart file,
! otherwise a single restart file is generated

! === module MOM_tracer_registry ===

Expand Down
2 changes: 1 addition & 1 deletion ocean_only/global_ALE/layer/MOM_parameter_doc.all
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ ROTATION = "2omegasinlat" ! default = "2omegasinlat"
! USER - call a user modified routine.
OMEGA = 7.2921E-05 ! [s-1] default = 7.2921E-05
! The rotation rate of the earth.
PARALLEL_RESTARTFILES = False ! [Boolean] default = False
PARALLEL_RESTARTFILES = True ! [Boolean] default = False
! If true, each processor writes its own restart file,
! otherwise a single restart file is generated

Expand Down
2 changes: 1 addition & 1 deletion ocean_only/global_ALE/layer/MOM_parameter_doc.layout
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ NJPROC = 8 !
! STATIC_MEMORY_ this is set in MOM_memory.h at compile time.
LAYOUT = 8, 8 !
! The processor layout that was acutally used.
IO_LAYOUT = 1, 1 ! default = 1
IO_LAYOUT = 2, 2 ! default = 1
! The processor layout to be used, or 0,0 to automatically
! set the io_layout to be the same as the layout.
NIBLOCK = 1 ! default = 1
Expand Down
3 changes: 3 additions & 0 deletions ocean_only/global_ALE/layer/MOM_parameter_doc.short
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,9 @@ CHANNEL_CONFIG = "global_1deg" ! default = "none"
! test case.
! file - Read open face widths everywhere from a
! NetCDF file on the model grid.
PARALLEL_RESTARTFILES = True ! [Boolean] default = False
! If true, each processor writes its own restart file,
! otherwise a single restart file is generated

! === module MOM_tracer_registry ===

Expand Down
2 changes: 1 addition & 1 deletion ocean_only/global_ALE/z/MOM_parameter_doc.all
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ ROTATION = "2omegasinlat" ! default = "2omegasinlat"
! USER - call a user modified routine.
OMEGA = 7.2921E-05 ! [s-1] default = 7.2921E-05
! The rotation rate of the earth.
PARALLEL_RESTARTFILES = False ! [Boolean] default = False
PARALLEL_RESTARTFILES = True ! [Boolean] default = False
! If true, each processor writes its own restart file,
! otherwise a single restart file is generated

Expand Down
2 changes: 1 addition & 1 deletion ocean_only/global_ALE/z/MOM_parameter_doc.layout
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ NJPROC = 8 !
! STATIC_MEMORY_ this is set in MOM_memory.h at compile time.
LAYOUT = 8, 8 !
! The processor layout that was acutally used.
IO_LAYOUT = 1, 1 ! default = 1
IO_LAYOUT = 2, 2 ! default = 1
! The processor layout to be used, or 0,0 to automatically
! set the io_layout to be the same as the layout.
NIBLOCK = 1 ! default = 1
Expand Down
3 changes: 3 additions & 0 deletions ocean_only/global_ALE/z/MOM_parameter_doc.short
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,9 @@ CHANNEL_CONFIG = "global_1deg" ! default = "none"
! test case.
! file - Read open face widths everywhere from a
! NetCDF file on the model grid.
PARALLEL_RESTARTFILES = True ! [Boolean] default = False
! If true, each processor writes its own restart file,
! otherwise a single restart file is generated

! === module MOM_tracer_registry ===

Expand Down

0 comments on commit f45003c

Please sign in to comment.