Boost logo

Boost Users :

Subject: Re: [Boost-users] [mpi] building boost::mpi libs
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2009-08-10 12:07:04


James C. Sutherland wrote:

> I have successfully built the boost MPI libraries on my mac. When
> trying on Linux I am having problems with the compiler not including
> the path for mpi.h. For example, I get errors like:
>
>> gcc.compile.c++ bin.v2/libs/mpi/build/gcc-3.4.6/release/threading-
>> multi/python/datatypes.o
>> In file included from ./boost/mpi/python/config.hpp:15,
>> from ./boost/mpi/python/serialize.hpp:23,
>> from libs/mpi/src/python/datatypes.cpp:13:
>> ./boost/mpi/config.hpp:20:17: mpi.h: No such file or directory
>
> I am not familiar with bjam. My MPI installation is in a non-standard
> location and I added
>> using mpi : /uufs/chpc.utah.edu/sys/pkg/mpich2/std/bin/mpicxx ;
>
> to my user-config.jam file.
>
> How do I tell bjam to look somewhere special for the mpi headers?

You should not need to -- the binary will be run with right options
to discover that information. Can you:

1. Show the full compile command that fails?
2. Run with --debug-configuration and show the debug messages before
actual build starts?

- Volodya


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net