diff options
Diffstat (limited to 'README.library')
-rw-r--r-- | README.library | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/README.library b/README.library index 2b7fad0..93f2d3c 100644 --- a/README.library +++ b/README.library @@ -5,6 +5,9 @@ $Header$ By default this thorn doesn't use any external libraries, and you can ignore the instructions in this file. + +Using the LAPACK and BLAS Libraries +=================================== 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. @@ -54,3 +57,17 @@ or as assignments in your ~/.cactus/config file, LAPACK=yes LAPACK_EXTRA_LIBS=g2c LAPACK_EXTRA_LIB_DIRS=/usr/lib/gcc-lib/i386-redhat-linux/2.96 + + +Compiler Version Compatability +============================== +All of Cactus -- including any external libraries -- need not be +compiled with the same compilers, but the compilers must be link-compatible. +In practice this isn't usually a problem. However, as an example of what +*not* to do, consider using libraries compiled with a gcc 2.* version +(e.g. the system default libraries on many GNU/Linux distributions as +of late 2002), combined with thorns compiled with a gcc 3.* version. +gcc 2.* and 3.* are *not* link-compatible, so if you're lucky this +combination will give all sorts of wierd errors in linking. If you're +unlucky it will link ok but then crash (or even worse, just give wrong +results) at run-time. |