For MODFLOW-OWHM I recommend using WINE when it is available on the Linux OS. I do also include an Ubuntu compiled executable binary along with the download (I call the ubuntu executable
bin/mf-owhm.nix ).
Just an fyi, anything that runs on MODFLOW-2005 and MODFLOW-NWT will run on MODFLOW-OWHM, so if you are working in any of those archs, then it might be easiest to just pull the most recent .nix on there (and let me know if it works).
If you go to
that will have download links (scroll down past the code) for the latest executable for both windows and ubuntu linux.
It also includes a GNU makefile that can build MODFLOW for linux or windows, but requires either gfortran 10 or intel fortran. Earlier versions of gfortran dont work due to several compiler bugs that GNU fixed in v10 but has yet to backport, so right now Intel is the only compiler option (which is recommended anyways cause it tends to produce faster running executables).
All you have to do for the makefile is open it in a text editor and answer some of the questions (just following the comments).
When you are ready to compile you just have to type the word make at while in the directory with the makefile and everything should be handled automatically.
I've tested this makefile on several Linux OSes and Windows running MinGW GNU Make.
*Note that you only need a C compiler if you are using the GMG solver package, which I would not recommend if you do not need to use it (PGCN and NWT are better options).
#############################################################################
#############################################################################
### Set the following Variables ###
#############################################################################
#############################################################################
#
# Compilation Configuration-Optimization Scheme
# ===> Accepted Answers: RELEASE, DEBUG
CONFIG := RELEASE
#
# Decide if you want to compile the GMG solver.
# This is the only C code dependency. If set to No then the C compiler is not used.)
# ===> Accepted Answers: YES, NO
USEGMG := NO
#
# Compilation Software
# ===> Accepted Answers: INTEL, GCC, LLVM --> LLVM not fully-supported yet
COMPILER := INTEL
#
# Define the Fortran Compiler
# ===> For example: gfortran, gfortran-10, ifort
F90 := ifort
#
# Define the C Compiler
# ===> Accepted Answers: gcc, icc
CC := icc
#
# ----------------------IGNORE THE REST OF THE MAKEFILE--------------------------
#
Hope that helps out,
Scott