Skip to content

Instantly share code, notes, and snippets.

@wence-
Created February 26, 2015 14:47
Show Gist options
  • Select an option

  • Save wence-/ad04707872603a277e82 to your computer and use it in GitHub Desktop.

Select an option

Save wence-/ad04707872603a277e82 to your computer and use it in GitHub Desktop.
## Add this to ~/.bashrc
if [ -f /usr/share/modules/init/bash ]; then
. /usr/share/modules/init/bash
fi
export MODULEPATH=$MODULEPATH:$HOME/.modules
## Add the following as ~/.modules/firedrake-install
#%Module1.0
set base /data/installs
setenv PETSC_DIR $base
unsetenv PETSC_ARCH
prepend-path PATH $base/bin
prepend-path PYTHONPATH $base/lib/python2.7/site-packages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment