numcosmo-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Numcosmo-help] Issues with Configuration File and SUNDIALS


From: Ben Horowitz
Subject: [Numcosmo-help] Issues with Configuration File and SUNDIALS
Date: Thu, 6 Oct 2016 18:59:21 -0700

Hello,

I'm attempting to configure numcosmo (trying 13.1 and 13.2, from the tar files here: http://download.savannah.gnu.org/releases/numcosmo/) with the following file:
----
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)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]