aboutsummaryrefslogtreecommitdiff
path: root/README.library
diff options
context:
space:
mode:
Diffstat (limited to 'README.library')
-rw-r--r--README.library12
1 files changed, 8 insertions, 4 deletions
diff --git a/README.library b/README.library
index 745707b..93f2d3c 100644
--- a/README.library
+++ b/README.library
@@ -34,8 +34,8 @@ 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_LIBS_DIRS = the directory (or blank-separated list of
- directories) containing that 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*
@@ -43,7 +43,11 @@ 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_LIBS_DIRS = `g77 --print-file-name=libg2c.a | xargs dirname`
+ 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,
@@ -52,7 +56,7 @@ or as assignments in your ~/.cactus/config file,
% cat ~/.cactus/config
LAPACK=yes
LAPACK_EXTRA_LIBS=g2c
- LAPACK_EXTRA_LIBS_DIRS=/usr/lib/gcc-lib/i386-redhat-linux/2.96
+ LAPACK_EXTRA_LIB_DIRS=/usr/lib/gcc-lib/i386-redhat-linux/2.96
Compiler Version Compatability