Skip to content

Instantly share code, notes, and snippets.

@njwilson23
Last active August 29, 2015 14:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save njwilson23/2a0192bf433d58cb6006 to your computer and use it in GitHub Desktop.
Save njwilson23/2a0192bf433d58cb6006 to your computer and use it in GitHub Desktop.
ISSM configuration file creation
#!/bin/sh
./configure \
--prefix="$ISSM_DIR" \
--with-triangle-dir="$ISSM_DIR/externalpackages/triangle/install" \
--with-python-dir="$HOME/venv-issm" \
--with-python-numpy-dir="$HOME/venv-issm/lib/python2.7/site-packages/numpy/core/include/numpy" \
--with-mpi-include="$ISSM_DIR/externalpackages/mpich/install/include" \
--with-mpi-libflags="-L$ISSM_DIR/externalpackages/mpich/install/lib -lmpich -lmpl -ldl" \
--with-petsc-dir="$ISSM_DIR/externalpackages/petsc/install" \
--with-metis-dir="$ISSM_DIR/externalpackages/metis/install" \
--with-mumps-dir="$ISSM_DIR/externalpackages/petsc/install/" \
--with-blas-lapack-dir="$ISSM_DIR/externalpackages/petsc/install" \
--with-scalapack-dir="$ISSM_DIR/externalpackages/petsc/install/" \
--with-m1qn3-dir="$ISSM_DIR/externalpackages/m1qn3/install" \
--with-cxxoptflags="-mtune=barcelona -ffast-math -O3 -msse4.2 -Wno-write-strings "\
--with-fortran-lib="-L/usr/lib/gcc/x86_64-linux-gnu/4.8/ -lgfortran"\
--with-numthreads=4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment