Error with Sundials when trying to install Cantera v 4.2.0

247 views
Skip to first unread message

Suraj Chatrathi

unread,
Mar 25, 2019, 1:19:04 PM3/25/19
to Cantera Users' Group
Hi, I am trying to install Cantera version 4.2.0 onto my university's computing cluster. When I run my build script on it, it throws these errors.

Currently Loaded Modules:

  1) scons/3.0.4       3) gcc/8.2.0        5) matlab/r2018b

  2) anaconda2/5.1.0   4) sundials/4.1.0


Environment: CC=gcc, CXX=g++, CFLAGS=-I/usr/local/pacerepov2/sundials/4.1.0/gcc-8.2.0/include -I/usr/local/pacerepov2/gcc/8.2.0/include, FC=gfortran, F77=gfortran, F90=gfortran, FFLAGS=, MPIVERSION=, COMPILERVERSION=gcc-8.2.0

SCons by Steven Knight et al.:

script: v3.0.4, 2019-03-13 18:13:40, by schatrathi3 on devel7-compile

engine: v3.0.4, 2019-03-13 18:13:40, by schatrathi3 on devel7-compile

engine path: ['/usr/local/pacerepov2/scons/3.0.4/lib/scons/SCons']

Copyright (c) 2001 - 2019 The SCons Foundation

scons: Reading SConscript files ...

Removing directory ".sconf_temp"

Removing file ".sconsign.dblite"

Removing file "config.log"

Removing file "site_scons/buildutils.pyc"

Removing file "site_scons/site_tools/gch.pyc"

Removing file "site_scons/site_tools/recursiveInstall.pyc"

Removing file "site_scons/site_tools/wix.pyc"

Removing file "site_scons/site_tools/subst.pyc"

Done removing output files.

scons: Reading SConscript files ...

INFO: SCons is using the following Python interpreter: /usr/local/pacerepov2/anaconda/anaconda2/5.1.0/bin/python


scons: *** Invalid value for option system_fmt: no.  Valid values are: ('default', 'y', 'n')

File "/gpfs/pace2/project/pf1/schatrathi3/cantera/2.4.0/SConstruct", line 676, in <module>

scons: Reading SConscript files ...

INFO: SCons is using the following Python interpreter: /usr/local/pacerepov2/anaconda/anaconda2/5.1.0/bin/python

fatal: Not a git repository (or any parent up to mount point /gpfs/pace2)

Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

Configuration variables read from 'cantera.conf' and command line:

    prefix = '/usr/local/pacerepov2/cantera/2.4.0/gcc-8.2.0/'

    python_package = 'new'

    system_fmt = 'n'

    sundials_include = '/usr/local/pacerepov2/sundials/4.1.0/gcc-8.2.0/include'

    sundials_libdir = '/usr/local/pacerepov2/sundials/4.1.0/gcc-8.2.0/lib64'


Checking for C++ header file cmath... yes

INFO: Using private installation of fmt library.

INFO: Found fmt version 5.0.0

Checking for C++ header file gtest/gtest.h... no

Checking for C++ header file gmock/gmock.h... no

INFO: Using Googletest from Git submodule

Checking for C++ header file Eigen/Dense... no

INFO: Using private installation of Eigen.

INFO: Found Eigen version 3.3.4

Checking whether __GLIBCXX__ is declared... yes

Checking whether _LIBCPP_VERSION is declared... no

INFO: Found Boost version 1.53

Checking for CVodeCreate(CV_BDF, CV_NEWTON) in C++ library sundials_cvodes... no

ERROR: Expected system installation of Sundials, but it could not be found.

See 'config.log' for details.


I was wondering if anyone could hep me resolve this issue? I already have sundials set up in the system and in when I call scons build I have sundials_include and sundials_lib pointed to the correct paths.


Nick Curtis

unread,
Mar 25, 2019, 1:28:54 PM3/25/19
to Cantera Users' Group
Hi Suraj,

First, green on pink text is difficult to read, consider black on white when posting error logs.
Second, Cantera only currently supports Sundials versions 2.4 to 3.1, which is the likely cause of your issue.  
There might be more useful information in the generated "config.log" file in the build directory (where you ran "scons build").
If your system doesn't have a compatible TCL sundials module, you might consider deactivating 4.1, and installing sundials via anaconda.

Nick

Suraj Chatrathi

unread,
Mar 25, 2019, 1:43:32 PM3/25/19
to Cantera Users' Group
Hi Nick, very sorry about the pink on green text I have no idea why that happened, and thank you, I think this is the issue since I am running Sundials 4.1.0
Reply all
Reply to author
Forward
0 new messages