They exist and both are actually links to the same binary 'opal_wrapper': user@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@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@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@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@lists.boost.org [mailto:boost-users- bounces@lists.boost.org] On Behalf Of Vladimir Prus Sent: Friday, October 22, 2010 8:11 AM To: boost-users@lists.boost.org 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@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users