Hello,
----
export GSL_DIR="/usr/common/software/gsl/1.16/intel"
export CFITSIO_DIR="/global/homes/b/bhorowit/planck/plc-2.0/cfitsio"
export SUNDIALS_DIR="/global/homes/b/bhorowit/programs/sundials-2.6.0/build"
export CFITSIO_CFLAGS="-I${CFITSIO_DIR}/include"
export CFITSIO_LIBS="-L${CFITSIO_DIR}/lib"
export SUNDIALS_CFLAGS="-I${SUNDIALS_DIR}/include"
export SUNDIALS_LIBS="-L${SUNDIALS_DIR}/lib"
export GSL_CFLAGS="-I${GSL_DIR}/include"
export GSL_LIBS="-L${GSL_DIR}/lib -lgsl -lgslc"
export LD_LIBRARY_PATH="${GSL_DIR}/lib:${SUNDIALS_DIR}/lib:${CFITSIO_DIR}/lib:${LD_LIBRARY_PATH}"
mkdir numcosmo_build
cd numcosmo_build
../numcosmo-0.13.1/configure
----
However, I get the following message:
checking for N_VNew_Serial in -lsundials_nvecserial... no
configure: error: Cannot find library sundials_nvecserial, use SUNDIALS_LIBS="-L<path_to_SUNDIALS_libs>".
Looking at the configure file, I saw that the sundials files were loaded by:
LIBS="$SUNDIALS_LIBS -lsundials_cvodes $LIBS"
I tried changing this to be more directly:
LIBS="-L${SUNDIALS_DIR}/lib"
But I get the same error... I'm uncertain as to why the configuration file isn't able to find the proper sundials location.
Thanks for your help,
Ben Horowitz
(UC Berkeley Physics)