See contribution guidelines for additional information. The fprettify package is included in the Conda environment in environment.yml. This tool can be installed with pip or conda and used from the command line or integrated with a VSCode or Visual Studio development environment. fprettifyįprettify can be used to format Fortran source code and in combination with the MODFLOW 6 fprettify configuration establishes a contribution standard for properly formatted MODFLOW 6 Fortran source. It can also be installed independently - note that if you do so you will need to manually add the executable to the PATH. Meson is recommended for building MODFLOW 6 and is included in environment.yml. The Conda environment.yml contains a number of other dependencies also required for various development tasks, but they are not described in detail here. This project depends critically on a few Python packages for building, linting and testing tasks: Either invoke ifort from command prompt or relaunch PowerShell, e.g.Ĭonda env update -f environment.yml Dependencies Note: Invoking the setvars.bat scripts from a Powershell session will not put ifort on the path, since batch script environments are local to their process. The required libraries can be installed by ticking the "Desktop Development with C++" checkbox in the Visual Studio Installer's Workloads tab. On Windows, Visual Studio and a number of libraries must be installed for ifort to work.
General information can be found here, with specific instructions to configure a shell session for ifort here. A minimalĪ number of environment variables must be set before using Intel Fortran. An installer is bundled with the download. The ifort compiler is available in the Intel oneAPI HPC Toolkit. Intel Fortran can also be used to compile MODFLOW 6 and associated utilities. Click the New buttonĪnd enter the location of the mingw64/bin directory. Path variable in the User Variables (the top table). Click the Environmental Variables button and double-click the Find Edit the system environment variables in your Windows
Make sure to change Architecture to x86_64. Download the Minimalist GNU for Windows (MinGW) installer from Source Forge:.GNU Fortran can be installed on all three major platforms. The GNU Fortran compiler gfortran or the Intel Fortran compiler ifort can be used to compile MODFLOW 6. GitHub's Guide to Installing Git is a good source of information. Git and/or the GitHub app (for Mac or Windows). Some additional, optional tools are also discussed below. Rebuilding and installing release binariesīefore you can build and test MODFLOW 6, you must install and configure the.Details on how to contribute your code to the repository are found in the separate document CONTRIBUTING.md. This document describes how to set up a development environment to modify, build and test MODFLOW 6.