jcaiuwyo / cantera

Automatically exported from code.google.com/p/cantera
0 stars 0 forks source link

Scons can't find the C++ erf.hpp #174

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.scons build

What is the expected output? What do you see instead?

Checking for C++ header file boost/math/special_functions/erf.hpp... no

What version of the product are you using? On what operating system?
Ubuntu 12.04 , python2.7 , sundials 2.5.0 , cython 0.19.1 
libboost-all-dev

Please provide any additional information below.
Manually looking for the erf.hpp file is no problem , it is in 
/usr/include/boost/math/special_functions/erf.hpp but the scons builder can't 
find it.

What can I do ?

Thanks Daniel

Original issue reported on code.google.com by thalando...@gmail.com on 20 Sep 2013 at 1:15

GoogleCodeExporter commented 9 years ago
1. What version (if from git/svn, what revision and branch) of Cantera are you 
using?

2. What are the contents of 'cantera.conf'?

3. What are the contents of 'config.log', after running 'scons build 
--config=force'?

Original comment by yarmond on 20 Sep 2013 at 7:44

GoogleCodeExporter commented 9 years ago
1. Neither nor, downloaded the Cantera 2.1.0b3 source code (beta)

2. cantera.conf:

CXX = 'icpc'
CC = 'icc'
python_package = 'full'
python3_package = 'n'
F90 = 'ifort'
blas_lapack_libs = 'mkl_rt'
blas_lapack_dir = '/opt/intel/mkl/lib/intel64'
env_vars = 'all'
boost_lib_dir = '/usr/include/boost/'

tried with
- /usr/include
- /usr/include/
- /usr/include/boost
- /usr/include/boost/

no difference.

3. the config.log after scons build --config=force us attached

Thank you so much for looking at it allready 

Original comment by thalando...@gmail.com on 21 Sep 2013 at 3:31

Attachments:

GoogleCodeExporter commented 9 years ago
If you look at the config.log, the problem isn't that it's failing to find 
Boost, it's that there are compiler errors being reported inside the Boost 
library files. It appears that the version of Boost you have installed is not 
compatible with the version of the Intel compiler you have installed.

Original comment by yarmond on 21 Sep 2013 at 10:55

GoogleCodeExporter commented 9 years ago

Original comment by yarmond on 25 Sep 2013 at 11:14