These instructions assume that you intend to install OpenMDAO for normal use – that you will not be hacking on the OpenMDAO infrastructure or standard library, or developing any plugins that require compilation. If you do intend to perform some kind of OpenMDAO development, you should refer to the installation instructions in the Developer Guide because the developer environment has some additional system requirements on certain platforms.
OpenMDAO requires that the following software be installed at the system level on all platforms:
Platform-Specific Requirements
We recommend that you read the entire section relating to your desired platform before installing any software.
Linux:
Our current OpenMDAO distribution for Linux is a source distribution, so to use it, you must have compilers (C and Fortran) on your system.
- python-devel
- numpy
- scipy
- python-matplotlib
- gcc-gfortran
- python-dev
- python-numpy
- python-scipy
- python-matplotlib
- gfortran
Windows:
Not required, but highly recommended:
This will improve distributed simulation startup time significantly by allowing public/private key pairs to be stored securely.
Mac OS X:
Our current OpenMDAO distribution for OS X is a source distribution, so to use it, you must have compilers (C and Fortran) on your system.
also download a newer version from Apple, but you’ll have to fill out a (free) registration to do it.
this page for a pretty good overview of what’s available.
On Lion (OS X 10.7):
Python 2.7.x (OS X Lion has 2.7.1 as its native version) - Install this version of NumPy
Install this version of SciPy
Make sure that Xcode version 4.3.2 or higher is installed, via the Mac App Store. When you install Xcode, it does not by default install the compilers you need. So go to Xcode’s Preferences menu, choose Downloads, and then choose Command Line Tools.
![]()
XCode’s Downloads Screen
- Python – Install a new version (2.6.x or 2.7.x) from python.org because the built-in version has a distutils bug that will cause some of the OpenMDAO tests to fail. It’s not clear exactly what release the fix first appeared in, but version Python 2.6.5 definitely has the fix.
- NumPy
- SciPy
- gfortran – This version goes with Xcode.
- Matplotlib
- Python (2.6.x or 2.7.x)
- NumPy
- SciPy
- gfortran - Click on fortran-macosx-leopard-x86.dmg under Miscellaneous Downloads.
- Matplotlib
If you have g77 installed on Leopard, you may get build errors like: ld: library not found for -lcc_dynamic. This indicates that g77, which won’t work, is being used instead of gfortran. At the moment, the recommended fix is to change the name of g77 to something else, for example, _g77 so that it won’t be found by numpy.distutils.