« Previous - Version 22/24 (diff) - Next » - Current version
Brian Granzow, 11/10/2014 02:45 pm

Installing Albany

These are instructions for building Albany on SCOREC workstations.

Set environment variables

The build process needs to find the mpicxx wrappers and mpi libraries. This can be done by loading the appropriate mpi module.


  source /usr/local/etc/bash_profile
  module load cmake/latest
  module load pumi

Clone repository from GitHub to desired directory

Method 1: HTTPS

git clone https://github.com/gahansen/Albany.git

Method 2: SSH

git clone git@github.com:gahansen/Albany.git

You should see the following message

Cloning into 'Albany'...

which, after some time, will be followed by the message

Checking out files: 100% (2130/2130), done.

the directory Albany will now have been created

cd Albany

Configure Albany

mkdir build
cd build
touch config.sh
chmod +x config.sh

example contents of config.sh

export TRILINOS_INSTALL_DIR=/lore/granzb/trilinos/install
cmake \

A cmake configure script with many possible configure options is located at:



Configure Albany like the above

make -j N   (N: # processes to use)


To run a suite of Albany tests

cd $ALBANY_SRC/build