Hello Gwyneth,
Thanks Roland! Adding -lgfortran to LIB_CXX eliminated most of the "undefined symbols" errors.
Good to hear.
The ones that remain are related to liblapack.a and liblorene_g.a. For example:
Undefined symbols for architecture x86_64: "_ATL_cGetNB", referenced from: _ATL_ilaenv in liblapack.a(ATL_ilaenv.o)
I guess there's still some problem with the libraries.
Apparently one needs the development version of Lapack for a successful Lorene compilation (http://www.lorene.obspm.fr/prerequisites.html), but I think I only have the December 2016 release. I'll see if adding the development version makes a difference.
This symbol (_ATL_cGetNB) seems to be from Atlas (https://www.google.com/search?q=ATL_cGetNB) a self-tuning LAPACK variant.
There seems to be a bug in some versions of LAPACK on redhat systems that can cause this (at least this is what the google results seem to indicate). In that case you may want to contact your local cluster admin to ask about a corrected version of ATALAS/LAPACK.
A workaround may be to explicitly link in the blas library from atlas usually called libatlas .
If you are using the system LAPACK, you can try and see if compiling (one of the versions of) LAPACK included in the Einstein Toolkit lets you continue.
There are two options: 1. use OpenBLAS which is a fast LAPACK+BLAS library 2. use the reference LAPACK and BLAS wich will almost always work but are much (factor or 10 or more) slower than optimized versions. Speed of course only matters to you if you rely on BLAS for speed (and not much in the ET does).
To compile OpenBLAS please do the following:
* make sure that ExternalLibraries/OpenBLAS appears in your thornlist (and is not commented out) * make sure that ExternalLibraries/BLAS and ExternalLibraries/LAPACK do *not* appear in your thorn list * set the options: OPENBLAS_DIR=BUILD in your option list and recompile
If compiling OpenBLAS fails then you can also try the reference LAPACK+BLAS:
* make sure that ExternalLibraries/OpenBLAS does *not* appear in your thornlist * make sure that ExternalLibraries/BLAS and ExternalLibraries/LAPACK do appear in your thorn list * set the options: BLAS_DIR=BUILD and LAPACK_DIR=BUILD in your option list and recompile
Yours, Roland