CoMS > Parallel Ice Sheet Model
Tehdyt toimenpiteet

Parallel Ice Sheet Model

Howto compile PISM in Cray XT4 (louhi.csc.fi)

Parallel ice sheet model uses four external libraries. FFTW version 3.1.1 is provided in a system module of which details can be seen with

module show fftw/3.1.1

The interesting environment variable there is FFTW_DIR which tells the install location of the library.

Rest of the libraries, NetCDF, GSL and PETSc need to be installed by user. Get a cup of your favourite beverage, change to some working directory and issue following commands:

wget http://www.csc.fi/english/pages/coms/repository/coms-snapshot.tar.gz
tar zxvf coms-snapshot.tar.gz
make -f coms/NETCDF/netcdf-3.6.1.louhi.makefile
make -f coms/GSL/gsl-1.9.louhi.makefile
make -f coms/PETSc/petsc-2.3.2-p8.louhi.makefile
make -f coms/PISM/pism.louhi.makefile
After dust has settled, PISM executables should be in directory pism/obj. Notice, that  pism.louhi.makefile downloads a snapshot from PISM repository, and snapshots do not  necessary compile...

Developers of the above software may find interesting stuff in *.makefile, mostly related to cross-compiling nuances on Cray XT4. Above builds are "first round" versions, no performance optimization beyond the defaults is done.