Boost logo

Boost Users :

Subject: Re: [Boost-users] [bjam] boost mpi compiler wrapper
From: Belcourt, Kenneth (kbelco_at_[hidden])
Date: 2010-07-10 01:14:47


On Jul 9, 2010, at 8:30 PM, alfC wrote:

> In my system (cluster) there is a mpiCC wrapper for mpi c++
> compilation.
> Unfortunately it is not compatible with bjam detection.
>
> so I added the lines:
>
> using mpi : mpiCC : <...>... ;
>
> to project-config.jam

I'm not sure about project-config.jam, I put using mpi ... into the
user-config.jam and it seems to work fine.

You might run bjam --debug-configuration to see if the build system is
able to fine MPI.

You should see something like this in your output.

===============MPI Auto-configuration===============
Found recent LAM-MPI or Open MPI wrapper compiler: /usr/local/mpi/
openmpi-1.2.8/intel-11.0/bin/mpicxx
MPI compilation flags: -D_REENTRANT -I/usr/local/mpi/openmpi-1.2.8/
intel-11.0/include
MPI link flags: -Wl,-u,_munmap -Wl,-multiply_defined,suppress -L/usr/
local/mpi/openmpi-1.2.8/intel-11.0/lib -lmpi_cxx -lmpi -lopen-rte -
lopen-pal
MPI build features:
<define>_REENTRANT <include>/usr/local/mpi/openmpi-1.2.8/intel-11.0/
include <library-path>/usr/local/mpi/openmpi-1.2.8/intel-11.0/lib
<find-shared-library>mpi_cxx <find-shared-library>mpi <find-shared-
library>open-rte <find-shared-library>open-pal <linkflags>-Wl,-
u,_munmap -Wl,-multiply_defined,suppress
MPI launcher: mpirun -np
====================================================

-- Noel


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