Skip to content

Commit

Permalink
feat(HPC): dfn changes for HPC package (MODFLOW-USGS#1763)
Browse files Browse the repository at this point in the history
Co-authored-by: scottrp <[email protected]>
  • Loading branch information
spaulins-usgs and scottrp authored May 1, 2024
1 parent c2efa39 commit 9b959fe
Show file tree
Hide file tree
Showing 3 changed files with 85 additions and 1 deletion.
2 changes: 1 addition & 1 deletion doc/mf6io/mf6ivar/dfn/gwf-gnc.dfn
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# --------------------- gwf gnc options ---------------------
# flopy subpackage gnc_filerecord gnc gncdata gncdata
# flopy parent_name_type parent_model_or_package
# flopy parent_name_type parent_model_or_package MFModel/MFPackage

block options
name print_input
Expand Down
44 changes: 44 additions & 0 deletions doc/mf6io/mf6ivar/dfn/sim-nam.dfn
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,50 @@ optional true
longname print input to listing file
description keyword to activate printing of simulation input summaries to the simulation list file (mfsim.lst). With this keyword, input summaries will be written for those packages that support newer input data model routines. Not all packages are supported yet by the newer input data model routines.

block options
name hpc_filerecord
type record hpc6 filein hpc6_filename
shape
reader urword
tagged true
optional true
longname
description hpc record

block options
name hpc6
type keyword
shape
in_record true
reader urword
tagged true
optional false
longname head keyword
description keyword to specify that record corresponds to a hpc file.

block options
name filein
type keyword
shape
in_record true
reader urword
tagged true
optional false
longname file keyword
description keyword to specify that an input filename is expected next.

block options
name hpc6_filename
type string
preserve_case true
in_record true
reader urword
optional false
tagged false
longname file name of time series information
description name of input file to define HPC file settings for the HPC package. See the ``HPC File'' section for instructions for preparing HPC input files.


# --------------------- sim nam timing ---------------------

block timing
Expand Down
40 changes: 40 additions & 0 deletions doc/mf6io/mf6ivar/dfn/utl-hpc.dfn
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# --------------------- sim hpc options ---------------------
# flopy subpackage hpc_filerecord hpc hpc_data hpc
# flopy parent_name_type parent_package MFSimulation

block options
name dev_log_mpi
type keyword
reader urword
optional true
longname log mpi traffic
description keyword to enable (extremely verbose) logging of mpi traffic to file.


# --------------------- sim hpc partitions ---------------------

block partitions
name partitions
type recarray mname mrank
reader urword
optional
longname list of partition numbers
description is the list of zero-based partition numbers.

block partitions
name mname
in_record true
type string
tagged false
reader urword
longname model name
description is the unique model name.

block partitions
name mrank
in_record true
type integer
tagged false
reader urword
longname model rank
description is the zero-based partition number (also: MPI rank or processor id) to which the model will be assigned.

0 comments on commit 9b959fe

Please sign in to comment.