pymake Documentation¶
This is a python package for compiling MODFLOW-based and other Fortran, C, and
C++ programs. The package determines the build order using a directed acyclic
graph and then compiles the source files using GNU compilers (gcc
,
g++
, gfortran
) or Intel compilers (ifort
, icc
).
pymake can be run from the command line or it can be called from within python. By default, pymake sets the optimization level, Fortran flags, C/C++ flags, and linker flags that are consistent with those used to compile MODFLOW-based programs released by the USGS.
pymake includes example scripts for building MODFLOW 6, MODFLOW-2005, MODFLOW-NWT, MODFLOW-USG, MODFLOW-LGR, MODFLOW-2000, MODPATH 6, MODPATH 7, GSFLOW, VS2DT, MT3DMS, MT3D-USGS, SEAWAT, and SUTRA. Example scripts for creating the utility programs CRT, Triangle, and GRIDGEN are also included. The scripts download the distribution file from the USGS (and other organizations) and compile the source into a binary executable.
The main documentation for the site is organized into the following sections:
- API Documentation
- pymake.pymake module
- pymake.pymake_build_apps module
- pymake.pymake_base module
- pymake.pymake_parser module
- pymake.plot package
- pymake.autotest package
- pymake.utils package
- pymake package
- Subpackages
- Submodules
- Module contents
Pymake
build_apps
compare
compare_budget
compare_concs
compare_heads
compare_stages
compare_swrbudget
download_and_unzip
get_entries_from_namefile
get_input_files
get_mf6_blockdata
get_mf6_comparison
get_mf6_files
get_mf6_ftypes
get_mf6_mshape
get_mf6_nper
get_namefiles
get_repo_assets
get_sim_name
getmfexes
main
make_plots
parser
repo_latest_version
setup
setup_comparison
setup_mf6
setup_mf6_comparison
teardown
to_pydot
usgs_program_data
zip_all