-rw-r--r-- | .gitignore | 3 | ||||
-rwxr-xr-x | autogen.sh | 2 | ||||
-rw-r--r-- | configure.ac | 8 | ||||
-rw-r--r-- | doc/build-cobalt.txt | 42 | ||||
-rw-r--r-- | doc/env-cobalt.sh | 56 |
5 files changed, 65 insertions, 46 deletions
diff --git a/doc/env-cobalt.sh b/doc/env-cobalt.sh new file mode 100644 index 0000000..5a7a6c3 --- a/dev/null +++ b/doc/env-cobalt.sh @@ -0,0 +1,56 @@ +#!/bin/bash + +# This script sets environment variables for building and running the +# project on NCSA Cobalt. Note that this script should be executed +# with source env-cobalt.sh rather than ./env-cobalt.sh so that the +# exports affect the current shell. + +# Building on NCSA Cobalt. + +# .soft +# +# @remove +hdf4 +# @remove +hdf4-4.2.1 +# @remove +hdf5 +# @remove +hdf5-1.6.5 +# +# @remove +intel-compilers +# @remove +intel-compilers10.0 +# @remove +intel-compilers10.1 +# @remove +intel-c-10.1.017-f-10.1.017 +# @remove +intel-c-11.1.064-f-11.1.064 +# +# ...defaults... +# +# +phdf5-1.8.4 + +# Configure + +echo "Setting CPPFLAGS." + +export CPPFLAGS="\ +-I$HDF5_HOME/include \ +-I$NCBI_DIR/include \ +-I$PETSC_DIR/$PETSC_ARCH/include" + +echo CPPFLAGS=$CPPFLAGS + +echo "Setting LDFLAGS." + +export LDFLAGS="\ +-L$HDF5_HOME/lib \ +-L/usr/apps/hdf/szip/lib \ +-L/usr/local/intel/10.1.017/lib \ +-L$NCBI_DIR/lib \ +-L$PETSC_DIR/$PETSC_ARCH/lib" + +echo LDFLAGS=$LDFLAGS + +echo "Setting LD_LIBRARY_PATH." + +export LD_LIBRARY_PATH=\ +$LD_LIBRARY_PATH:\ +/usr/apps/hdf/szip/lib:\ +$PETSC_DIR/$PETSC_ARCH/lib + +echo LD_LIBRARY_PATH=$LD_LIBRARY_PATH |