
#Install gfortran mac port install#
Install the correct version of gcc (here we'll assume gcc6) the one used to compile the netcdf-fortran library) when you compile SUMMA. However, make sure to use the correct version of gcc (i.e. For example, gcc6, which is what I'll assume for now. The gcc compiler will be listed under Build Dependencies. Note what version of gcc was used to compile the NetCDF Fortran library. Install the Fortran version of the NetCDF library See the MacPorts documentation for details. You can specify different variants of the package to be installed. Make sure that the NetCDF is compiled using gcc6 or higher. It may take a while the first time you do this. Just let MacPorts do its work, this is why you are using a package manager. A whole bunch of other packages (dependencies) will be installed as well. If you do not have administrative privileges, talk to the person who maintains your computer. Note that you can only sudo (execute a command as a superuser) if you have administrative privileges for your machine (i.e., you can install software, etc.). You will be asked to provide your password. Use MacPorts to install NetCDF by typing the following on the command-line Open a terminal (Applications -> Utilities -> Terminal.app) If you know nothing about Unix/Linux/Darwin, now is the time to learn. Just follow the instructions (you will be asked to install Xcode, etcetera). MacPorts has detailed instructions on how it should be installed for various versions of OS X. This is a package manager for OS X (Darwin), which will let you install many software packages that are typically used in a Unix-like environment (which is what your Mac provides). In the following I will assume that you don't have a Fortran compiler or NetCDF installed. If you want to contribute to SUMMA,, please see the following documents:

This document is mainly for people who want to use SUMMA in their modeling project, rather than contribute or change the SUMMA source code. It should also work on older versions of OS X or with other package managers such as fink or homebrew, but you will undoubtedly need to make some modifications. 10.12.6 (Sierra) and with MacPorts as the OS X package manager. The following has been tested on a MacBook Pro and iMac, both using OS X v.
#Install gfortran mac port mac os x#
Instructions for installing SUMMA on Mac OS X
