aboutsummaryrefslogtreecommitdiff
path: root/README.library
diff options
context:
space:
mode:
authorjthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5>2003-01-22 12:27:46 +0000
committerjthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5>2003-01-22 12:27:46 +0000
commit8b0a74a327fbecb12f3d32ecff1fa28a6a6c2a15 (patch)
tree434af140b12333ff085ea5c5983d46387cbe6267 /README.library
parent82e2251230c9dc90d1b4650bafc85e75bad61ad7 (diff)
* add support for sparse-matrix Jacobians ==> works!
* change default in param.ccl to use this * change default in src/include/config.h to default to no longer link in LAPACK routines * update documentation git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@931 f88db872-0e4f-0410-b76b-b9085cfa78c5
Diffstat (limited to 'README.library')
-rw-r--r--README.library56
1 files changed, 56 insertions, 0 deletions
diff --git a/README.library b/README.library
new file mode 100644
index 0000000..2b7fad0
--- /dev/null
+++ b/README.library
@@ -0,0 +1,56 @@
+Library Configuration
+=====================
+$Header$
+
+By default this thorn doesn't use any external libraries, and you
+can ignore the instructions in this file.
+
+However, if this thorn is configured to use the LAPACK and BLAS
+libraries (see README for details), then you need to configure Cactus
+to use these libraries; this file describes how to do this.
+
+Basically, you just need to set
+ LAPACK=yes
+when configuring your Cactus configuration.
+
+If all goes well, Cactus will find the LAPACK and BLAS libraries and give
+during the configure process saying that it found them. Otherwise, the
+configure process will abort with a message saying that you need to set
+the configure variable LAPACK_DIR to a directory (or blank-separated list
+of directories) containing the LAPACK and BLAS libraries.
+
+[If you don't have LAPACK/BLAS installed on your system already, you
+can get Fortran 77 source code and/or binaries for various architectures,
+from http://www.netlib.org/lapack/ and http://www.netlib.org/blas/
+respectively. But many systems have these installed already -- try
+'locate liblapack' and 'locate libblas' on your system.]
+
+If the LAPACK and/or BLAS libraries were compiled with a (Fortran)
+compiler which is *not* used to compile any part of this Cactus'
+configuration, then you may also need to set the configure variables
+ LAPACK_EXTRA_LIBS = the name (or blank-separated list of names) of
+ that (Fortran) compiler's run-time support
+ library(ies)
+ LAPACK_EXTRA_LIB_DIRS = the directory (or blank-separated list of
+ directories) containing that library(ies)
+
+For example, if your LAPACK and/or BLAS were compiled with the GNU g77
+compiler (as is common on GNU/Linux and *BSD systems), and you are *not*
+using g77 to compile any part of your Cactus configuration (maybe because
+you're using a different Fortran compiler), then you may need to set the
+environment variables to point to the g77 support library g2c:
+ LAPACK_EXTRA_LIBS = g2c
+ LAPACK_EXTRA_LIBDIRS = `g77 --print-file-name=libg2c.a | xargs basename`
+
+For example, on the AEI xeons the settings would be
+ LAPACK_EXTRA_LIBS = g2c
+ LAPACK_EXTRA_LIBDIRS = `g77 --print-file-name=libg2c.a | xargs dirname`
+
+All of these settings are of configure variables, i.e. you set them either
+on the command line when configuring,
+ % gmake my-configuration LAPACK=yes
+or as assignments in your ~/.cactus/config file,
+ % cat ~/.cactus/config
+ LAPACK=yes
+ LAPACK_EXTRA_LIBS=g2c
+ LAPACK_EXTRA_LIB_DIRS=/usr/lib/gcc-lib/i386-redhat-linux/2.96