Boost logo

Boost-MPI :

Subject: [Boost-mpi] Boost 1.47.0 (or 1.53.0) failed mpi installation on Linux 3.6.1-1.fc17.x86_64
From: Jorge D'Elia (jdelia_at_[hidden])
Date: 2013-04-23 07:45:37


Dear Boost-developers,

I installed Boost 1.47.0 version for Linux, that is required
by the compiler Coarray Fortran 2.0 (CAF), according to

http://svn.rice.edu/r/caf/caf-compiler/release-notes/relnotes.pdf
(document dated April 7, 2012).

The Boost installation is OK except with regard to the MPI part:

 warning: skipping optional Message Passing Interface (MPI) library.
 note: to enable MPI support, add "using mpi;" to user-config.jam.
 note: to suppress this message, pass "- without-mpi" to bjam.
 note: otherwise, you can safely ignore this message.

I followed the instructions given in "Configure and Build":

http://www.boost.org/doc/libs/1_53_0/more/getting_started/unix-variants.html
http://www.boost.org/doc/libs/1_53_0/doc/html/mpi/getting_started.html#mpi.config

but without good luck. The same problem also occurs with
the Current Release Version 1.53.0.

Please, is this the correct list for this query? If so, then at
the end summarize the failed installation and, please, can you
give tips for fix it, otherwise tell me which is the list that
I should ask about this.

Thank you in any case,

Regards.

Jorge.

--
[jdelia_at_coyote boost-install]$ cat /proc/version
Linux version 3.6.1-1.fc17.x86_64 (mockbuild@) 
(gcc version 4.7.2 20120921 (Red Hat 4.7.2-2) (GCC) ) 
#1 SMP Wed Oct 10 12:13:05 UTC 2012
[jdelia_at_coyote boost-install]$ ls -all hola-mpi.*
-rwxr-xr-x 1 jdelia users 2845 Apr 19 12:38 hola-mpi.c
-rwxr-xr-x 1 jdelia users 3134 Apr 19 12:42 hola-mpi.cpp
[jdelia_at_coyote boost-install]$ which mpicc
/usr/lib64/openmpi/bin/mpicc
[jdelia_at_coyote boost-install]$ mpicc --showme:compile
-I/usr/include/openmpi-x86_64 -pthread -m64
[jdelia_at_coyote boost-install]$ mpicc --showme:link
-pthread -m64 -L/usr/lib64/openmpi/lib -lmpi -ldl
[jdelia_at_coyote boost-install]$ mpicc --version
gcc (GCC) 4.7.2 20120921 (Red Hat 4.7.2-2)
[jdelia_at_coyote boost-install]$ mpicc -o hola-c.exe hola-mpi.c
[jdelia_at_coyote boost-install]$ mpirun -machinefile ~/machi.dat -np 4 hola-c.exe
Hello world from process 1 of 4
Hello world from process 0 of 4
Hello world from process 2 of 4
Hello world from process 3 of 4
[jdelia_at_coyote boost-install]$ which mpicxx
/usr/lib64/openmpi/bin/mpicxx
[jdelia_at_coyote boost-install]$ mpicxx --showme:compile
-I/usr/include/openmpi-x86_64 -pthread -m64
[jdelia_at_coyote boost-install]$ mpicxx --showme:link   
-pthread -m64 -L/usr/lib64/openmpi/lib -lmpi_cxx -lmpi -ldl
[jdelia_at_coyote boost-install]$ mpicxx --version    
g++ (GCC) 4.7.2 20120921 (Red Hat 4.7.2-2)
[jdelia_at_coyote boost-install]$ mpicxx -o hola-cpp.exe hola-mpi.cpp
[jdelia_at_coyote boost-install]$ mpirun -machinefile ~/machi.dat -np 4 hola-cpp.exe
hola desde 1 de 4
hola desde 0 de 4
hola desde 3 de 4
hola desde 2 de 4
[jdelia_at_coyote boost-install]$ cd boost_1_47_0/
[jdelia_at_coyote boost_1_47_0]$ cat tools/build/v2/user-config.jam
# Copyright 2003, 2005 Douglas Gregor
# Copyright 2004 John Maddock
# Copyright 2002, 2003, 2004, 2007 Vladimir Prus
# Distributed under the Boost Software License, Version 1.0.
#(See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
#   This file is used to configure your Boost.Build installation. You can modify
# this file in place, or you can place it in a permanent location so that it
# does not get overwritten should you get a new version of Boost.Build. See:
#
#   http://www.boost.org/boost-build2/doc/html/bbv2/overview/configuration.html
#
# for documentation about possible permanent locations.
#   This file specifies which toolsets (C++ compilers), libraries, and other
# tools are available. Often, you should be able to just uncomment existing
# example lines and adjust them to taste. The complete list of supported tools,
# and configuration instructions can be found at:
#
#   http://boost.org/boost-build2/doc/html/bbv2/reference/tools.html
#   This file uses Jam language syntax to describe available tools. Mostly,
# there are 'using' lines, that contain the name of the used tools, and
# parameters to pass to those tools -- where paremeters are separated by
# semicolons. Important syntax notes:
#
#   - Both ':' and ';' must be separated from other tokens by whitespace
#   - The '\' symbol is a quote character, so when specifying Windows paths you
#     should use '/' or '\\' instead.
#
# More details about the syntax can be found at:
#
#   http://boost.org/boost-build2/doc/html/bbv2/advanced.html#bbv2.advanced.jam_language
# ------------------
# GCC configuration.
# ------------------
# Configure gcc (default version).
# using gcc ;
# Configure specific gcc version, giving alternative name to use.
# using gcc : 3.2 : g++-3.2 ;
# -------------------
# MSVC configuration.
# -------------------
# Configure msvc (default version, searched for in standard locations and PATH).
# using msvc ;
# Configure specific msvc version (searched for in standard locations and PATH).
# using msvc : 8.0 ;
# ----------------------
# Borland configuration.
# ----------------------
# using borland ;
# ----------------------
# STLPort configuration.
# ----------------------
#   Configure specifying location of STLPort headers. Libraries must be either
# not needed or available to the compiler by default.
# using stlport : : /usr/include/stlport ;
# Configure specifying location of both headers and libraries explicitly.
# using stlport : : /usr/include/stlport /usr/lib ;
# -----------------
# QT configuration.
# -----------------
# Configure assuming QTDIR gives the installation prefix.
# using qt ;
# Configure with an explicit installation prefix.
# using qt : /usr/opt/qt ;
# ---------------------
# Python configuration.
# ---------------------
# Configure specific Python version.
# using python : 3.1 : /usr/bin/python3 : /usr/include/python3.1 : /usr/lib ;
# ---------------------
# MPI configuration.
# ---------------------
# using mpi ; 
[jdelia_at_coyote boost_1_47_0]$ echo $PREFIX
/usr/local/boost-beta
[jdelia_at_coyote boost_1_47_0]$ echo $EPREFIX
/usr/local/boost-beta
[jdelia_at_coyote boost_1_47_0]$ echo $BUILD
/usr/local/paquetes/boost-install/build
[jdelia_at_coyote boost_1_47_0]$ echo $PATH
/usr/lib64/openmpi/bin:.:/usr/local/bin:/usr/bin:/u/jdelia/bin:/usr/local/g95-coarray/:/usr/local/gfortran-beta/bin:/opt/intel/composerxe-2011.2.137/bin/intel64:/opt/intel/composerxe-2011.2.137/mpirt/bin/intel64:.:/usr/lib64/qt-3.3/bin:/usr/lib64/ccache:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/local/dislin/bin:/u/jdelia/bin
[jdelia_at_coyote boost_1_47_0]$ echo $LD_LIBRARY_PATH
/usr/lib:/usr/lib64:/usr/local/include:/usr/local/lib:/usr/local/lib64:/usr/lib64/openmpi/lib::/usr/local/gfortran-beta/lib:/usr/local/gfortran-beta/lib64:/usr/local/g95-coarray//lib:/usr/local/dislin:/usr/lib64/openmpi/lib:/opt/intel/composerxe-2011.2.137/compiler/lib/intel64:/opt/intel/composerxe-2011.2.137/mpirt/lib/intel64:/opt/intel/composerxe-2011.2.137/ipp/../compiler/lib/intel64:/opt/intel/composerxe-2011.2.137/ipp/lib/intel64:/opt/intel/composerxe-2011.2.137/compiler/lib/intel64:/opt/intel/composerxe-2011.2.137/mkl/lib/intel64:/opt/intel/composerxe-2011.2.137/tbb/lib/intel64//cc4.1.0_libc2.4_kernel2.6.16.21
[jdelia_at_coyote boost_1_47_0]$ ./bootstrap.sh --prefix="${PREFIX}" --exec-prefix="${EPREFIX}" --libdir="${LIBDIR}" --includedir="${INCDIR}" toolset=gcc 2>&1 | tee bootstrap-echo.log 
Building Boost.Build engine with toolset gcc... tools/build/v2/engine/bin.linuxx86_64/b2
Detecting Python version... 2.7
Detecting Python root... /usr
Unicode/ICU support for Boost.Regex?... not found.
Backing up existing Boost.Build configuration in project-config.jam.1
Generating Boost.Build configuration in project-config.jam...
Bootstrapping is done. To build, run:
    ./b2
    
To adjust configuration, edit 'project-config.jam'.
... snip lines ...
[jdelia_at_coyote boost-install]$ ./b2 -a install --prefix="${PREFIX}" 
--exec-prefix="${EPREFIX}" --libdir="${EPREFIX}/lib" 
--includedir="${PREFIX}/include" --build-dir=${BUILD} 
--layout=system --with-mpi toolset=gcc 2>&1 | tee install.log 
warning: skipping optional Message Passing Interface (MPI) library.
note: to enable MPI support, add "using mpi ;" to user-config.jam.
note: to suppress this message, pass "--without-mpi" to bjam.
note: otherwise, you can safely ignore this message.
Component configuration:
    - chrono                   : not building
    - date_time                : not building
    - exception                : not building
    - filesystem               : not building
    - graph                    : not building
    - graph_parallel           : not building
    - iostreams                : not building
    - math                     : not building
    - mpi                      : building
    - program_options          : not building
    - python                   : not building
    - random                   : not building
    - regex                    : not building
    - serialization            : not building
    - signals                  : not building
    - system                   : not building
    - test                     : not building
    - thread                   : not building
    - wave                     : not building
...found 17872 targets...
...updating 8567 targets...
... snip several lines ...
[jdelia_at_coyote boost_1_47_0]$ ls -all /usr/local/boost-beta/                 
total 16
drwxr-xr-x  4 jdelia users 4096 Apr 21 16:52 .
drwxr-xr-x 26 root   root  4096 Apr 21 16:31 ..
drwxr-xr-x  3 jdelia users 4096 Apr 21 16:55 include
drwxr-xr-x  2 jdelia users 4096 Apr 21 17:08 lib
[jdelia_at_coyote boost_1_47_0]$ ls -all /usr/local/boost-beta/lib/*mpi*
ls: cannot access /usr/local/boost-beta/lib/*mpi*: No such file or directory
jdelia_at_coyote boost_1_47_0]$ ls -all /usr/local/boost-beta/include/boost/mpi
total 288
drwxr-xr-x  5 jdelia users  4096 Apr 21 16:57 .
drwxr-xr-x 82 jdelia users 12288 Apr 21 17:02 ..
-rw-r--r--  1 jdelia users  5770 Apr 23 07:37 allocator.hpp
drwxr-xr-x  2 jdelia users  4096 Apr 21 16:57 collectives
-rw-r--r--  1 jdelia users 19735 Apr 23 07:37 collectives.hpp
-rw-r--r--  1 jdelia users   752 Apr 23 07:37 collectives_fwd.hpp
-rw-r--r--  1 jdelia users 58761 Apr 23 07:37 communicator.hpp
.... snip several lines ...
--
CIMEC, http://www.cimec.org.ar/
INTEC, Guemes 3450, (S3000GLN) Santa Fe, ARGENTINA
tel: +54-342-451.15.94, extension 1018, fax: +54-342-451.11.69
tel. +54-342-455.91.75, +54-342-455.84.50/51
Universidad Nacional del Litoral (UNL)
Consejo Nacional de Investigaciones Cientificas y Tecnicas (CONICET)

Boost-Commit list run by troyer at boostpro.com