Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost.MPI build problem: auto-configuration fails
From: Kondov, Ivan (ivan.kondov_at_[hidden])
Date: 2010-10-22 04:46:26


They exist and both are actually links to the same binary
'opal_wrapper':

user_at_host:~/boost/boost_1_43_0$ file
/software/all/openmpi/1.4.2/bin/mpic++
/software/all/openmpi/1.4.2/bin/mpic++: symbolic link to `opal_wrapper'

user_at_host:~/boost/boost_1_43_0$ file
/software/all/openmpi/1.4.2/bin/mpiCC
/software/all/openmpi/1.4.2/bin/mpiCC: symbolic link to `opal_wrapper'

user_at_host:~/boost/boost_1_43_0$ file
/software/all/openmpi/1.4.2/bin/opal_wrapper
/software/all/openmpi/1.4.2/bin/opal_wrapper: ELF 64-bit LSB executable,
AMD x86-64, version 1 (SYSV), for GNU/Linux 2.6.4, dynamically linked
(uses shared libs), for GNU/Linux 2.6.4, not stripped

user_at_host:~/test/openmpi$ mpic++ -v
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../gcc-4.4.4/configure --enable-threads=posix
--enable-shared --prefix=/software/all/gcc/4.4.4
--enable-languages=c,c++,fortran,java --enable-checking=release
--with-tune=generic --build=x86_64-linux-gnu --host=x86_64-linux-gnu
--target=x86_64-linux-gnu
--with-gmp=/software/all/gcc_infrastructure/gmp/4.3.2
-with-mpfr=/software/all/gcc_infrastructure/mpfr/2.4.2
--with-ppl=/software/all/gcc_infrastructure/ppl/0.10.2
--with-cloog=/software/all/gcc_infrastructure/cloog-ppl/0.15.9
Thread model: posix
gcc version 4.4.4 (GCC)

I just tested and it can also produce executables so than it is the
right binary. I suppose that the autoconfiguration in bjam expects
something from openmpi but I have no idea what is expected. I tried the
instructions in

http://www.boost.org/doc/libs/1_43_0/doc/html/mpi/getting_started.html#m
pi.config

"--debug-configuration" says nothing more about MPI. I also want to try
but unfortunately do not understand the hint for
user-config.jam:

using mpi : : <find-shared-library>lammpio <find-shared-library>lammpi++
              <find-shared-library>mpi <find-shared-library>lam
              <find-shared-library>dl ;

Best,
Ivan

>-----Original Message-----
>From: boost-users-bounces_at_[hidden] [mailto:boost-users-
>bounces_at_[hidden]] On Behalf Of Vladimir Prus
>Sent: Friday, October 22, 2010 8:11 AM
>To: boost-users_at_[hidden]
>Subject: Re: [Boost-users] Boost.MPI build problem: auto-configuration
>fails
>
>Kondov, Ivan wrote:
>
>> Hi,
>>
>> I would like to build boost.mpi from boost/1.43.0 with gcc/4.4.4,
>> openmpi/1.4.2
>> on GNU/Linux 2.6.18-128.1.14.el5.8hp.2sp SMP x86_64
>>
>> bjam always skips the MPI section (see below).
>>
>> Adding a line in user-config.jam
>>
>> "using mpi : /software/all/openmpi/1.4.2/bin/mpiCC ;" or
>>
>> "using mpi : /software/all/openmpi/1.4.2/bin/mpic++ ;"
>
>I'm confused -- what is the right binary? Do both exist?
>
>Does
>
> /software/all/openmpi/1.4.2/bin/mpiCC -showme:compile
>
>work?
>
>- Volodya
>
>_______________________________________________
>Boost-users mailing list
>Boost-users_at_[hidden]
>http://lists.boost.org/mailman/listinfo.cgi/boost-users


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