Unofficial MODFLOW flow and transport executables for Linux (Ubuntu tested)

Captura2.jpg

It might be that you are a talented groundwater modeler and very proficient with Python and Flopy that you start to realize that you don´t need to work in Windows anymore and want to migrate your favorite groundwater modeling code to other nice, soft, and warm Linux-based operating systems. Or, it might be the case that you want to configure and run MODFLOW models as a part of a webapp or in a web server. For the reasons mentioned before and other reasons that modern world could bring to us, a compiled version of MODFLOW in Linux is needed.

Solutions for this task are available with the use of the Pymake library from the USGS (https://github.com/modflowpy/pymake), however, we wanted to save your time and distress from installing libraries, testing and figuring out how to run MODFLOW in Linux. This post has a unofficial and highly enthusiastic repository of MODFLOW executables for Linux on 64 bits processors with some indications for the file installation. Executables have been tested on Ubuntu.

Installation notes

In order to install you should run these lines:

sudo apt-get install gcc-7 g++-7
sudo apt-get install gfortran-7

Then make the files executable in linux with this comand:

chmod +x modflowexecutable.file

Each modflow executable can now be launched by calling it as:

./modflowexecutable.file

Executables

MODFLOW 2005

Link: https://www.usgs.gov/software/modflow-2005-usgs-three-dimensional-finite-difference-ground-water-model

Executable: mf2005

MODFLOW NWT

Link: https://www.usgs.gov/software/modflow-nwt-a-newton-formulation-modflow-2005

Executable: mfnwt

MODFLOW6

Link: https://www.usgs.gov/software/modflow-6-usgs-modular-hydrologic-model

Executable: mf6

USGS-MT3D

Link: https://www.usgs.gov/software/mt3d-usgs-groundwater-solute-transport-simulator-modflow

Executable: mt3dusgs

4 Comments

Saul Montoya

Saul Montoya es Ingeniero Civil graduado de la Pontificia Universidad Católica del Perú en Lima con estudios de postgrado en Manejo e Ingeniería de Recursos Hídricos (Programa WAREM) de la Universidad de Stuttgart con mención en Ingeniería de Aguas Subterráneas y Hidroinformática.

 

Suscribe to our online newsletter

Subscribe for free newsletter, receive news, interesting facts and dates of our courses in water resources.