aboutsummaryrefslogtreecommitdiff
path: root/README
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
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')
-rw-r--r--README59
1 files changed, 8 insertions, 51 deletions
diff --git a/README b/README
index d129f57..4d4de14 100644
--- a/README
+++ b/README
@@ -69,55 +69,12 @@ Most of this thorn's relativity code is machine-generated using Maple
(version 7), but you don't need Maple unless you want to modify the
relativity code.
-This thorn uses the LAPACK library (which in turn uses the BLAS library).
-Thus you need to configure your Cactus with LAPACK=yes.
-[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.]
-
-
-Library Configuration
-=====================
-
-When configuring your Cactus configuration, you need to set
- LAPACK=yes .
-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 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
+By default, this thorn doesn't use any external libraries. However,
+if HAVE_DENSE_JACOBIAN__LAPACK is defined in src/include/configure.h,
+then this thorn uses the LAPACK library (which in turn uses the BLAS
+library), so you will need to configure your Cactus to use LAPACK.
+Instructions on doing this are in the file README.library in this
+directory.
Code Notes
@@ -138,8 +95,8 @@ In particular:
alas none of the more modern forms (<cstdio> and namespace std::)
seem to be supported on as wide a range of systems as the pre-namespaces
form.)
-* To avoid various portability problems, the C++ standard template
- library (STL) isn't used.
+* To avoid various portability problems, none of the C++ standard
+ template library (STL) is used.
Compiler Notes