Charles Pavloski (cfp102@psu.edu), Department of Meteorology, Penn State University
Robert Nicholas (ren10@psu.edu), Earth and Environmental Systems Institute, Penn State University

updated 09 November 2015

Introduction

The instructions below describe how to download, build, install, and perform a test run of version 0.7 of the Parallel Ice Sheet Model (PISM) on SCRiM systems woju and mizuna.

Download, Build, and Install

First, set up your environment. Here, we choose to use $HOME/pism as the root directory for our PISM installation. You’ll also need to run this sequence of commands each time you use the model in a new shell; alternately, you may add them to your $HOME/.cshrc.cat file.

setenv PISM_INSTALL_PREFIX ~/pism

module load petsc/3.5.4-gcc
module load python/2.7.7
module load openmpi/1.6.5-gcc
module swap netcdf/4.3.3rc2-gcc
module load netcdf-fortran/4.4.1-gcc
module load udunits2/2.2.18
module load hdf/hdf5-1.8.15
module load fftw3/3.3.4

Next, we create the directory structure and download the model from GitHub.

mkdir -p $PISM_INSTALL_PREFIX/src
cd $PISM_INSTALL_PREFIX/src
git clone git://github.com/pism/pism.git pism0.7

Finally, we build and install the model.

mkdir pism0.7/build
cd pism0.7/build

cmake ..
make
make install

Test

Here are a few simple tests for checking the build of the model; see Section 4 of http://pism-docs.org/wiki/lib/exe/fetch.php?media=installation.pdf for additional tests.

mpiexec -n 4 $PISM_INSTALL_PREFIX/bin/pismv -test G -y 200
ncdump unnamed.nc

$PISM_INSTALL_PREFIX/bin/pisms -y 5000 -view_map thk,temppabase,velsurf_mag
ncdump unnamed.nc

You can check out the NetCDF output using a variety of tools (like ncdump, ncview, or Panoply).