Installing gfortran 64 and 32bit
Conrad McGarry updated July 17, 2014 at 6:19 PM
Introduction
This wiki explains how to download and install 64-bit and 32-bit gfortran.
We recommend that you code using the latest 64-bit gfortran. 32-bit gfortran is only intermittently updated and may be discontinued in the future. However, 32-bit gfortran remains available at IGPP to run legacy code.
Prerequisite: Install Xcode and Xcode Command Line Tools
For most users running a recent Mac OS version, Xcode can be downloaded via the App Store under /Applications/App Store.app.
Please see the wiki on installing Xcode from the App Store. Included in the wiki is how to install Xcode Command Line Tools:
If you're using an older version of Mac OS, the App Store's Xcode usually won't support it. Downloads for legacy versions of Xcode can be downloaded by registering for a free developer account:
Xcode 4 for OS X 10.6: http://developer.apple.com/xcode/
Install 64-bit gfortran
- Download the latest 64-bit installation package at http://gcc.gnu.org/wiki/GFortranBinaries#MacOS
- Open and run the installer located in the Downloads folder.
Install 32-bit gfortran
- Download the latest 32-bit installation package at http://gcc.gnu.org/wiki/GFortranBinaries#MacOS
- If not available on the website, 32-bit gfortran v4.6.1 32-bit gfortran v4.6.1 can be downloaded here: gfortran-4.6.1-i686-SnowLeopard.dmg
- Open and run the installer located in the Downloads folder.
If you need further assistance, please contact IGPP Net Ops.