Hi,

I've tried again to build FEniCS via Hashdist on our local cluster, and I
get a failure when building boost. Since the cluster uses RedHat Enterprise
Linux 6.3, I used the configuration file examples/fenics-1.4.0.rhel6.yaml.

The error message (quoted below) indicates that boost can't find the Python
header files. In the .yaml file it explicitly says to build Python.
However, there is no file called pyconfig.h anywhere under ~/.hashdist/ (I
presume this is where it would reside if it had been built correctly?). So
it looks like Python is not built, at least not before boost.

Interestingly, when I commented out all other packages except Python in the
.yaml file then Python was built correctly, and the header files are now
present in ~/bld/python/ctzx2dm36c6d/include/python2.7/. However, I still
get the same error message from boost, so it appears as if it doesn't pick
up the Hashdist Python installation.

Any suggestions would be much appreciated.
Many thanks,
Max

==============

Error message (relevant part):

2014/12/16 12:58:44 - INFO: [package:run_job] common.mkdir
_build/boost/bin.v2/libs/python
2014/12/16 12:58:44 - INFO: [package:run_job] common.mkdir
_build/boost/bin.v2/libs/python/build
2014/12/16 12:58:44 - INFO: [package:run_job] common.mkdir
_build/boost/bin.v2/libs/python/build/gcc-4.4.6
2014/12/16 12:58:44 - INFO: [package:run_job] common.mkdir
_build/boost/bin.v2/libs/python/build/gcc-4.4.6/release
2014/12/16 12:58:44 - INFO: [package:run_job] common.mkdir
_build/boost/bin.v2/libs/python/build/gcc-4.4.6/release/address-model-64
2014/12/16 12:58:44 - INFO: [package:run_job] common.mkdir
_build/boost/bin.v2/libs/python/build/gcc-4.4.6/release/address-model-64/threading-multi
2014/12/16 12:58:45 - INFO: [package:run_job] gcc.compile.c++
_build/boost/bin.v2/libs/python/build/gcc-4.4.6/release/address-model-64/threading-multi/numeric.o
2014/12/16 12:58:45 - INFO: [package:run_job] In file included from
./boost/python/detail/prefix.hpp:13,
2014/12/16 12:58:45 - INFO: [package:run_job]                  from
./boost/python/numeric.hpp:8,
2014/12/16 12:58:45 - INFO: [package:run_job]                  from
libs/python/src/numeric.cpp:6:
2014/12/16 12:58:45 - INFO: [package:run_job]
./boost/python/detail/wrap_python.hpp:50:23: error: pyconfig.h: No such
file or directory
2014/12/16 12:58:45 - INFO: [package:run_job]
./boost/python/detail/wrap_python.hpp:75:24: error: patchlevel.h: No such
file or directory
2014/12/16 12:58:45 - INFO: [package:run_job]
./boost/python/detail/wrap_python.hpp:78:2: error: #error Python 2.2 or
higher is required for this version of Boost.Python.
2014/12/16 12:58:45 - INFO: [package:run_job]
./boost/python/detail/wrap_python.hpp:142:21: error: Python.h: No such file
or directory
2014/12/16 12:58:45 - INFO: [package:run_job] In file included from
./boost/python/object/pointer_holder.hpp:14,
2014/12/16 12:58:45 - INFO: [package:run_job]                  from
./boost/python/to_python_indirect.hpp:10,
2014/12/16 12:58:45 - INFO: [package:run_job]                  from
./boost/python/converter/arg_to_python.hpp:10,
2014/12/16 12:58:45 - INFO: [package:run_job]                  from
./boost/python/call.hpp:15,
2014/12/16 12:58:45 - INFO: [package:run_job]                  from
./boost/python/object_core.hpp:14,
2014/12/16 12:58:45 - INFO: [package:run_job]                  from
./boost/python/object.hpp:9,
2014/12/16 12:58:45 - INFO: [package:run_job]                  from
./boost/python/tuple.hpp:10,
2014/12/16 12:58:45 - INFO: [package:run_job]                  from
./boost/python/numeric.hpp:10,
2014/12/16 12:58:45 - INFO: [package:run_job]                  from
libs/python/src/numeric.cpp:6:
2014/12/16 12:58:45 - INFO: [package:run_job]
./boost/python/instance_holder.hpp:34: error: 'PyObject' has not been
declared
2014/12/16 12:58:45 - INFO: [package:run_job]
./boost/python/instance_holder.hpp:41: error: expected ';' before '(' token
2014/12/16 12:58:45 - INFO: [package:run_job]
./boost/python/instance_holder.hpp:45: error: 'PyObject' has not been
declared
_______________________________________________
fenics mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics

Reply via email to