summaryrefslogtreecommitdiffstats
Unidiff
-rw-r--r--.gitignore3
-rwxr-xr-xautogen.sh2
-rw-r--r--configure.ac8
-rw-r--r--doc/build-cobalt.txt42
-rw-r--r--doc/env-cobalt.sh56
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 @@
1#!/bin/bash
2
3# This script sets environment variables for building and running the
4# project on NCSA Cobalt. Note that this script should be executed
5# with source env-cobalt.sh rather than ./env-cobalt.sh so that the
6# exports affect the current shell.
7
8# Building on NCSA Cobalt.
9
10# .soft
11#
12# @remove +hdf4
13# @remove +hdf4-4.2.1
14# @remove +hdf5
15# @remove +hdf5-1.6.5
16#
17# @remove +intel-compilers
18# @remove +intel-compilers10.0
19# @remove +intel-compilers10.1
20# @remove +intel-c-10.1.017-f-10.1.017
21# @remove +intel-c-11.1.064-f-11.1.064
22#
23# ...defaults...
24#
25# +phdf5-1.8.4
26
27# Configure
28
29echo "Setting CPPFLAGS."
30
31export CPPFLAGS="\
32-I$HDF5_HOME/include \
33-I$NCBI_DIR/include \
34-I$PETSC_DIR/$PETSC_ARCH/include"
35
36echo CPPFLAGS=$CPPFLAGS
37
38echo "Setting LDFLAGS."
39
40export LDFLAGS="\
41-L$HDF5_HOME/lib \
42-L/usr/apps/hdf/szip/lib \
43-L/usr/local/intel/10.1.017/lib \
44-L$NCBI_DIR/lib \
45-L$PETSC_DIR/$PETSC_ARCH/lib"
46
47echo LDFLAGS=$LDFLAGS
48
49echo "Setting LD_LIBRARY_PATH."
50
51export LD_LIBRARY_PATH=\
52$LD_LIBRARY_PATH:\
53/usr/apps/hdf/szip/lib:\
54$PETSC_DIR/$PETSC_ARCH/lib
55
56echo LD_LIBRARY_PATH=$LD_LIBRARY_PATH

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.