Madagascar on Shaheen

This page describes how to build madagascar 3.0.1 from source on Shaheen

First login to cdl5 login node on Shaheen. This has the processor of the same microarchitecture as the Shaheen compute nodes

ssh cdl5

 

Now load the environment of choice. For compiling with Intel compiler

module swap PrgEnv-cray PrgEnv-intel module unload cray-libsci

Or if using GNU compiler:

module swap PrgEnv-cray PrgEniv-gnu

Now let’s manage dependencies:

Download and untar the source from a GitHub repository, a release. Once you have the source, the following needs to be modified (added) to SConstruct so the scons environment know where is what.

In case of using Intel compiler:

Or if using GNUcompiler:

 

Run configure to capture the environment and setup which creates a Makefile. The configure script invokes scons build.

We are now ready to run a parallel build: