

- #INSTALL GFORTRAN MAC PORT MAC OS X#
- #INSTALL GFORTRAN MAC PORT INSTALL#
- #INSTALL GFORTRAN MAC PORT FREE#
PGPLOT is free for non-commercial use and downloadable as source.
#INSTALL GFORTRAN MAC PORT MAC OS X#
By default the the installation should add a block similar to that shown below to. Compiling PGPLOT on Mac OS X a guide for the perplexed Benjamin Weiner, May 2012 PGPLOT PGPLOT is a library of plotting subroutines written by Tim Pearson, callable from Fortran and C, that have been used in a variety of astronomy programs, and some other software packages. Get MacPorts-1.9. from the Snow Leopard link at and follow the standard installation. To be sure, you can recompile netcdf but this may affect other software that uses netcdf libraries from macports.
#INSTALL GFORTRAN MAC PORT INSTALL#
It is free.Ĭaution: the download is almost 3 GB so it might take a while to download. sudo apt-get install g77 or sudo fink install g77 from the terminal, apt-get install would install the binary, fink install would compile it from source. If you have installed MacPorts but have not yet installed the gfortran: sudo port install gcc44 sudo port install gccselect sudo gccselect mp-gcc44 If you are using gfortran from fink, please note that you dont have gccselect, but you can still use following steps to make sure you are using both gcc and gfortran from fink. installation of netcdf on mac os x WARNING: If you already have macports and gcc and gfortran and netcdf libraries, be sure that you use the same compiler for WaveWatch III that you used for netcdf. To download this you need to sign up (free) as an ADC member, but if you already have an Apple account (e.g. sudo port install gcc48 sudo port install sextractor. Thus, Fortran needed to be installed by MacPorts. Follow the standard installation (this means that it will install itself when you click on it, and you just need to click to accept a few defaults). While I attempted to install gfortran using the GNU Mavericks installer, several sites reported a bug/feature where MacPorts ignores items in the /usr/local/bin folder. you need Xcode to install MacPorts, MacPorts to install gfortran, and gfortran to make HDF5, NetCDF, etc.).ĭownload the Apple Developers Tools Xcode, from /technologies/tools/, click the Xcode 3: "Free Download" button then the "Mac Dev Center" button. Note: most of this software needs to be installed in the order given (e.g.

Be aware that this is a 'Unix/X11' port as oppossed to a 'native' OS X application. You must be logged in as a user with administrator privileges to complete most this tutorial. The pre-built executable was built on an OS X 10.10 system using the gfortran/gcc compilers. 1.9.2 NetCDF Version 4 Format (optional).1.9.1 NetCDF Version 3 Format (recommended).
