Boost logo

Boost-Build :

From: K. Noel Belcourt (kbelco_at_[hidden])
Date: 2008-01-26 14:50:42


Hi Sandeep,

On Jan 25, 2008, at 2:49 AM, Sandeep Gupta wrote:

> Please tell me how to set up mpi support for intel compilers on
> linux. I understand that to do so I have to set various flags and
> libraries in the "using mpi" declaration.

I'd start by just following this recommendation

        note: to enable MPI support, add "using mpi ;" to user-config.jam.

and then run bjam to see what, if any, errors the mpi auto
configuration reports.

> What i am having difficulty is configuring it for different file
> types, namely .c, .cc, and .f files. The compile commands for each
> file type is different.

What does your user-config.jam look like, what are the errors you're
getting, which mpi (Mpich, Openmpi, Lam, ...) and which version.
Also which version of intel compilers on what platform?

Here's one of our configurations:

using mpi
   : /usr/local/mpi/mpich/64Bit/1.2.7/gcc-3.4.3/bin/mpiCC
   :
   : /usr/local/mpi/mpich/64Bit/1.2.7/gcc-3.4.3/bin/mpirun
   ;

-- Noel


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk