forked from mom-ocean/MOM6
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MOM6: Redirected layout parameters to *_parameter_doc.layout
- In order to avoid repeatedly resetting the MOM_ and SIS_parameter_doc.* files after @Hallberg-NOAA has checked in with static memory we are moving the layout parameters (LAYOUT, IO_LAYOUT, NIPROC, NJPROC, MASKTABLE, SYMMETRIC_MEMORY, etc.) into their own documentation files. - MOM_parameter_doc.layout (and SIS_parameter_doc.layout) now are created for parameters with the optional argument layoutParam=.true. to doc_param(), get_param(). - I only coded layoutParam for integers and logicals. I hope we never have real parameters as layout parameters. - Does not change answers. - Closes mom-ocean#17.
- Loading branch information
Showing
169 changed files
with
1,569 additions
and
2,966 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
coupled_AM2_LM3_SIS/AM2_MOM6i_1deg/MOM_parameter_doc.layout
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
! This file was written by the model and records the layout parameters used at run-time. | ||
!SYMMETRIC_MEMORY_ = False ! [Boolean] | ||
! If defined, the velocity point data domain includes | ||
! every face of the thickness points. In other words, | ||
! some arrays are larger than others, depending on where | ||
! they are on the staggered grid. Also, the starting | ||
! index of the velocity-point arrays is usually 0, not 1. | ||
! This can only be set at compile time. | ||
!STATIC_MEMORY_ = False ! [Boolean] | ||
! If STATIC_MEMORY_ is defined, the principle variables | ||
! will have sizes that are statically determined at | ||
! compile time. Otherwise the sizes are not determined | ||
! until run time. The STATIC option is substantially | ||
! faster, but does not allow the PE count to be changed | ||
! at run time. This can only be set at compile time. | ||
NIPROC = 10 ! | ||
! The number of processors in the x-direction. With | ||
! STATIC_MEMORY_ this is set in MOM_memory.h at compile time. | ||
NJPROC = 6 ! | ||
! The number of processors in the x-direction. With | ||
! STATIC_MEMORY_ this is set in MOM_memory.h at compile time. | ||
LAYOUT = 10, 6 ! | ||
! The processor layout that was acutally used. | ||
IO_LAYOUT = 1, 1 ! default = 0 | ||
! The processor layout to be used, or 0,0 to automatically | ||
! set the io_layout to be the same as the layout. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
! This file was written by the model and records the layout parameters used at run-time. | ||
!SYMMETRIC_MEMORY_ = False ! [Boolean] | ||
! If defined, the velocity point data domain includes | ||
! every face of the thickness points. In other words, | ||
! some arrays are larger than others, depending on where | ||
! they are on the staggered grid. Also, the starting | ||
! index of the velocity-point arrays is usually 0, not 1. | ||
! This can only be set at compile time. | ||
!STATIC_MEMORY_ = False ! [Boolean] | ||
! If STATIC_MEMORY_ is defined, the principle variables | ||
! will have sizes that are statically determined at | ||
! compile time. Otherwise the sizes are not determined | ||
! until run time. The STATIC option is substantially | ||
! faster, but does not allow the PE count to be changed | ||
! at run time. This can only be set at compile time. | ||
NIPROC = 10 ! | ||
! The number of processors in the x-direction. With | ||
! STATIC_MEMORY_ this is set in MOM_memory.h at compile time. | ||
NJPROC = 6 ! | ||
! The number of processors in the x-direction. With | ||
! STATIC_MEMORY_ this is set in MOM_memory.h at compile time. | ||
LAYOUT = 10, 6 ! | ||
! The processor layout that was acutally used. | ||
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.