Wednesday Exercise 2

From AIMSWiki

Table of contents

Overview

Build the science application and run simulations.

Objective

Understand the function of the science application when run in standalone mode.

Procedure

  • Build the science application and run the test case:
$cd malariaModel
$./autogen.sh
$./configure
$make test

What does this do?

  • Examine the test/sandbox directory. Discuss the content (which process created which file, examine the content of the text files).
  • Force the application to checkpoint.
  • Optional: Explain how the summaryOption attribute in scenario.xml works.
  • Optional: ldd cpp/malaria from the malariaModel root dir. Would you distribute this binary to the world?

Prerequisites and Hints

Download the Intel Fortran compiler here http://shrike.aims.ac.za/l_fc_c_10.0.025.tar.gz

Register one user per group on http://www.intel.com/cd/software/products/asmo-na/eng/compilers/flin/282048.htm to get a license key

Unpack the compiler installer

cd into the installer directory

$sudo install.sh

Append the following two lines to your .bashrc

source /opt/intel/fc/10.0.025/bin/ifortvars.sh
source /opt/intel/idb/10.0.025/bin/idbvars.sh

Hide some .so files to force static linking (workaround)

$sudo mkdir /opt/intel/fc/10.0.025/lib/bak
$sudo mv /opt/intel/fc/10.0.025/lib/*so /opt/intel/fc/10.0.025/lib/bak