Mad SDK
The Mad SDK is a collection of compilers and run-time libraries which make it easy to install and use various pieces of software developed within the Madison Massive Star Group. Currently it functions as a superset of the MESA SDK, with the following additional packages included:
- The ODEPACK ordinary differential equation solver library
- The argtable command line parser library
- The MPICH implementation of the MPI standard
- The Python programming language (+numpy & scipy)
The compatibility and pre-requisites of the Mad SDK are the same as for the MESA SDK.
Linux
Download
To download the SDK for Linux, click on the appropriate link in the table:
| Release Date | 32-bit Linux | 64-bit Linux | Notes |
|---|---|---|---|
| April 2 2013 (current) | madsdk-i686-linux-20130402.tar.gz | madsdk-x86_64-linux-20130402.tar.gz | Upgraded to gfortran 4.9; rolled in Python |
| March 7 2013 | madsdk-i686-linux-20130307.tar.gz | madsdk-x86_64-linux-20130307.tar.gz |
Note that versions of the SDK older than the current one are not formally supported but are provided here as a courtesy; if you run into problems using an older version, you should first try upgrading to the current version.
Installation
On Linux the SDK can be installed anywhere. However, for simplicity the following instructions will assume you're installing in your home directory. The steps are as follows:
- Download the package from the table above
- Extract it using the command tar xvfz package_name -C ~/ (note that's a tilde in front of the slash!)
- Set the path to the SDK:
- For the C shell: setenv MADSDK_ROOT ~/madsdk
- For the Bourne shell: export MADSDK_ROOT=~/madsdk
- Initialize the SDK (also checks compatibility):
- For the C shell: source $MADSDK_ROOT/bin/madsdk_init.csh
- For the Bourne shell: source $MADSDK_ROOT/bin/madsdk_init.sh
- Check that the SDK is properly installed by running gfortran --version. The first line of the output should look something like this:
GNU Fortran (GCC) 4.9.0 20130402 (experimental)
Steps 3 and 4 need to be repeated each time you begin a new shell session; alternatively, they can be added to the appropriate shell start-up file (~/.cshrc for the C shell, and ~/.profile for the Bourne shell).
Mac OS X
Download
To download the SDK for OS X, click on the appropriate link in the table:
| Release Date | 32-bit OS X | 64-bit OS X | Notes |
|---|---|---|---|
| April 2 2013 (current) | not yet supported | madsdk-x86_64-darwin-20130402.dmg | Upgraded to gfortran 4.9; rolled in Python |
| March 6 2013 (current) | not yet supported | madsdk-x86_64-darwin-20130306.dmg |
Note that versions of the SDK older than the current one are not formally supported but are provided here as a courtesy; if you run into problems using an older version, you should first try upgrading to the current version.
Installation
On OS X the SDK is installed in the Applications folder. The steps are as follows:
- Download the disk image from the table above
- Open it by double clicking on it in the Finder
- Drag the mesasdk folder across to the Applications folder
- Set the path to the SDK:
- For the C shell: setenv MADSDK_ROOT /Applications/madsdk
- For the Bourne shell: export MADSDK_ROOT=/Applications/madsdk
- Initialize the SDK (also checks compatibility):
- For the C shell: source $MADSDK_ROOT/bin/madsdk_init.csh
- For the Bourne shell: source $MADSDK_ROOT/bin/madsdk_init.sh
- Check that the SDK is properly installed by running gfortran --version. The first line of the output should look something like this:
GNU Fortran (GCC) 4.9.0 20130403 (experimental)
Steps 4 and 5 need to be repeated each time you begin a new shell session; alternatively, they can be added to the appropriate shell start-up file (~/.cshrc for the C shell, and ~/.profile for the Bourne shell).
