numcosmo-help
[Top][All Lists]
Advanced

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

Re: [Numcosmo-help] Issues with Configuration File and SUNDIALS


From: Sandro Dias Pinto Vitenti
Subject: Re: [Numcosmo-help] Issues with Configuration File and SUNDIALS
Date: Thu, 6 Oct 2016 23:59:09 -0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0

Hi,

For all problems related to the configure process, it is better to take
a look at the config.log that is generated. Inside it you have info
about all tests performed during the last configure process.

Are you sure that you configured sundials and installed (through make
install) it at /global/homes/b/bhorowit/programs/sundials-2.6.0/build?
Note that a simple "make" is not enough, you must configure it through
cmake to use the that dir as prefix and then make && make install. As it
is you must have a file called libsundials_nvecserial.(so|dll|dylib|...)
inside /global/homes/b/bhorowit/programs/sundials-2.6.0/build/lib .

Best,
Sandro Vitenti

On 10/06/2016 10:59 PM, Ben Horowitz wrote:
> 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)

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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