Boost logo

Boost Users :

Subject: [Boost-users] [mpi] building boost::mpi libs
From: James C. Sutherland (James.Sutherland_at_[hidden])
Date: 2009-08-10 11:15:31


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?

Thanks for any tips.

James


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