Professional Documents
Culture Documents
TXT
NOTE: Any use of trade, product or firm names is for descriptive purposes
only and does not imply endorsement by the U.S. Government.
IMPORTANT: Users should review the file mf2005.txt for a description of, and
references for, this software. Users should also review the file release.txt,
which describes changes that have been introduced into MODFLOW-2005 with each
official release; these changes may substantially affect users.
TABLE OF CONTENTS
A. DISTRIBUTION FILE
B. INSTALLING
C. EXECUTING MODFLOW-2005
D. TESTING
E. COMPILING
A. DISTRIBUTION FILE
mf2005v1_12_00.zip
|
|--mf2005.1_12
|--bin ; MODFLOW-2005 executables for personal computers
|--doc ; Documentation files
|MF2005convert ; Documentation of package conversions for MODFLOW-2005
|Updates ; Revisions and enhancements to MODFLOW-2005
|--src ; MODFLOW-2005 source code for use on any computer
|hydprograms ; Source for hydrograph post processing program
|--test-run ; Input data to run verification tests
|--test-out ; Output files from running the tests
The installation instructions assume that the files have been extracted from
the zip file into directory C:\WRDAPP, maintaining the above structure.
B. INSTALLING
From the Start menu, select Control Panel. Select System and Security,
and within that screen choose the System option. Then select the Advanced
System Settings option. Select the Environment Variables button. In the
System Variables pane, select the PATH variable followed by Edit. In the
Edit window, add ";C:\WRDAPP\mf2005.1_12\bin" to the end of the Variable
Value (ensure that the current contents of the User Value are not deleted)
and click OK. Click OK in the Environment Variables window and then exit
from the control panel windows. Initiate and use a new Windows Command
window.
From the Start menu, select Settings and then Control Panel. Select
System & Maintenance followed by System. Choose the Advanced System
option. Select the Settings Task, and then select the Environmental
Variables button. In the System Variables pane, select the PATH
variable followed by Edit. In the Edit window, add
";C:\WRDAPP\mf2005.1_12\bin" to the end of the Variable Value (ensure
that the current contents of the User Value are not deleted) and click
OK. Click OK in the Environment Variables window and then exit from the
control panel windows. Initiate and use a new Windows Command window.
C. EXECUTING MODFLOW-2005
Two MODFLOW-2005 runfiles for use on personal computers are provided.
mf2005.exe is like the version that has been provided in all prior
versions of MODFLOW-2005. It uses mixed single and double precision for
computations and internal data storage, which was determined to be useful
for a wide range of simulations. There are situations in which the mixed
precision is inadequate, which can be indicated by difficulty attaining
solver convergence or poor budget error. Accordingly, a runfile that
uses full double precision is provided -- mf2005dbl.exe. If mixed
precision is suspected of causing problems in a simulation, the same
simulation can be run using the full double precision runfile. Input for
the two runfiles is the same. In fact the source code is identical for
both. The double precision runfile is created by using a compiler option
that raises the precision of single precision numbers to double precision.
The penalty for using full double precision is additional computer memory,
longer run times (depending on the computer), and unformatted (binary) files
that are doubled in size. (Binary files are used for saving head, drawdown,
and budget data.) This penalty is frequently not very significant. Typical
computers have adequate memory to run most double precision simulations, are
nearly as fast performing double precision as mixed precision, and have
abundant disk space for storing binary output files.
mf2005 [Fname]
or
mf2005dbl [Fname]
mf2005 abc
Some of the files written by MODFLOW are unformatted files. The structure
of these files depends on the precision of the data in the program,
the compiler, and options in the Fortran write statement. Any program
that use the unformatted files produced by MODFLOW must read the files
in the same way they were written. For example, Zonebudget and Modpath
use unformatted budget files produced by MODFLOW. Current versions of
Zonebudget and Modpath automatically detect the precision of the data in
unformatted files and the runfiles provided by the USGS are compatible
with the structure of the unformatted files produced by this release of
MODFLOW-2005.
The MODFLOW runfiles included with this distribution are compiled for
64-bit versions of the Windows operating system.
D. TESTING
E. COMPILING
The executable files provided in MF2005.1_12\bin were created using the Intel
Visual Fortran 2016.4 and Microsoft Visual C++ .NET compilers. Although
executable versions of the program are provided, the source code is provided
in the mf2005.1_12\src directory so that MODFLOW can be recompiled if
necessary. However, the USGS cannot provide assistance to those compiling
MODFLOW. In general, the requirements are a Fortran compiler, a compatible
C compiler, and the knowledge of using the compilers.