fail to build ESyS-Particle using home grown Boost

Bug #1490179 reported by high end compute
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ESyS-Particle
New
Low
Unassigned

Bug Description

Hi

I saw your useful post about building boost & ESys-Particle
https://answers.launchpad.net/esys-particle/+faq/1235

I'm not sure if versions have changed but I've had to install (build?)
boost on my RHEL system but ESys-Particle is failing and I can't see why
- as below (& attached), it appears to not be able to find 'python.hpp'
which actually does exist. All help gratefully received!

export BOOST_ROOT=$HOME/boost/1.59
./configure CC=mpicc CXX=mpicxx 2>&1 | tee configure.txt

{snip}
configure: Detected BOOST_ROOT; continuing with
--with-boost=/gpfs/stfc/local/HCPhi020/mxb01/mxb52-mxb01/boost/1.59
checking for Boost headers version >=
1.34.1... /gpfs/stfc/local/HCPhi020/mxb01/mxb52-mxb01/boost/1.59/include
checking for Boost's header version... 105900
Boost Version is 1.59.0
checking for the toolset name used by Boost for mpicxx... gcc44 -gcc
checking boost/system/error_code.hpp usability... yes
checking boost/system/error_code.hpp presence... yes
checking for boost/system/error_code.hpp... yes
checking for the Boost system
library... /gpfs/stfc/local/HCPhi020/mxb01/mxb52-mxb01/boost/1.59/lib/libboost_system.so ...
libboost_system.so links to libboost_system.so.1.59.0
yes...
yes
checking boost/filesystem/path.hpp usability... yes
checking boost/filesystem/path.hpp presence... yes
checking for boost/filesystem/path.hpp... yes
checking for the Boost filesystem
library... /gpfs/stfc/local/HCPhi020/mxb01/mxb52-mxb01/boost/1.59/lib/libboost_filesystem.so ...
libboost_filesystem.so links to libboost_filesystem.so.1.59.0
yes...
(cached) yes
checking boost/python.hpp usability... no
checking boost/python.hpp presence... no
checking for boost/python.hpp... no
configure: error: cannot find boost/python.hpp

$ find $HOME/boost/1.59 -name 'python.hpp'
/gpfs/stfc/local/HCPhi020/mxb01/mxb52-mxb01/boost/1.59/include/boost/python.hpp
/gpfs/stfc/local/HCPhi020/mxb01/mxb52-mxb01/boost/1.59/include/boost/mpi/python.hpp
/gpfs/stfc/local/HCPhi020/mxb01/mxb52-mxb01/boost/1.59/include/boost/parameter/python.hpp

-- Michael High End Compute http://highendcompute.co.uk @highendcompute

Revision history for this message
high end compute (enq) wrote :
Revision history for this message
high end compute (enq) wrote :

The SOLUTION was to ensure both a valid libbz2 and libpython2.7 -- the config.log showed that it was a problem linking to these (and not a problem finding libboost at all)

Changed in esys-particle:
importance: Undecided → Low
assignee: nobody → high end compute (enq)
assignee: high end compute (enq) → nobody
Revision history for this message
aaron (zhaotaoscu) wrote :

Hi,

Just a comment if someone meets the same problem again.

I found to install python2.7-dev library would solve this problem.

Cheers,
Aaron

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.