[prev in list] [next in list] [prev in thread] [next in thread] 

List:       boost-build
Subject:    [Boost-build] MPI and Intel-11.1 trunk tests
From:       "K. Noel Belcourt" <kbelco () sandia ! gov>
Date:       2009-09-22 18:49:55
Message-ID: 2E00B352-8E56-4352-B527-EE8C27D1EF98 () sandia ! gov
[Download RAW message or body]

Hi,

I'm trying to get MPI (mpich) and intel-11.1 trunk tests on Linux  
going and am running into what, I think, might be an Boost.Build error.

Consider the link line for the all_gather_test-1 MPI test.

	http://tinyurl.com/ktvct6

This warning :

ipo: warning #11009: file format not recognized for /home/sntools/ 
extras/mpi/mpich-1.2.7p1-intel-11.1.038-64Bit/lib
/home/sntools/extras/mpi/mpich-1.2.7p1-intel-11.1.038-64Bit/lib: file  
not recognized: Is a directory

seems to be caused by, what appears to be, an inconsistent  
translation of MPI auto configuration output into Boost.Build link  
line arguments.  Here's the relevant part of the MPI auto  
configuration output :

<linkflags>-Wl,-rpath <linkflags>-Wl,/home/sntools/extras/mpi/ 
mpich-1.2.7p1-intel-11.1.038-64Bit/lib <linkflags>-Wl,-rpath  
<linkflags>-Wl,/home/sntools/extras/compilers/intel/Compiler/11.1/038/ 
lib/intel64 <linkflags>-Wl,-rpath <linkflags>-Wl,/home/sntools/extras/ 
mpi/mpich-1.2.7p1-intel-11.1.038-64Bit/lib <linkflags>-Wl,-rpath  
<linkflags>-Wl,/home/sntools/extras/compilers/intel/Compiler/11.1/038/ 
lib/intel64

Which seems to be incorrectly converted to these link line arguments :

-Wl,-rpath -Wl,/home/sntools/extras/compilers/intel/Compiler/11.1/038/ 
lib/intel64
-Wl,/home/sntools/extras/mpi/mpich-1.2.7p1-intel-11.1.038-64Bit/lib

Is Boost.Build possibly sorting and eliminating duplicate <linkflags>  
arguments and, perhaps, not retaining the original ordering coming  
out of the MPI auto configuration?

Here's how I invoke the trunk tests.

python run.py --runner="Sandia-intel-11.1" --bjam toolset=intel-linux  
--pjl-toolset=gcc --toolsets=intel-11.1 --bjam-options=-j8

I've attached the output from the MPI auto configuration and the user- 
config.jam

Any ideas?

-- Noel



[Attachment #3 (multipart/appledouble)]

["MPI.auto" (application/applefile)]
["MPI.auto;" (MPI.auto;)]

===============MPI Auto-configuration===============
Found MPICH wrapper compiler: mpicxx
MPI compilation flags: -DUSE_STDARG -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 \
-DHAVE_UNISTD_H=1 -DHAVE_STDARG_H=1 -DUSE_STDARG=1 -DMALLOC_RET_VOID=1 -DHAVE_MPI_CPP \
-I/home/sntools/extras/mpi/mpich-1.2.7p1-intel-11.1.038-64Bit/include/mpi2c++ -c \
-I/home/sntools/extras/mpi/mpich-1.2.7p1-intel-11.1.038-64Bit/include MPI link flags: \
-DUSE_STDARG -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDARG_H=1 \
-DUSE_STDARG=1 -DMALLOC_RET_VOID=1 -Wl,-rpath \
-Wl,/home/sntools/extras/mpi/mpich-1.2.7p1-intel-11.1.038-64Bit/lib -Wl,-rpath \
-Wl,/home/sntools/extras/compilers/intel/Compiler/11.1/038/lib/intel64 \
-L/home/sntools/extras/mpi/mpich-1.2.7p1-intel-11.1.038-64Bit/lib -Wl,-rpath \
-Wl,/home/sntools/extras/mpi/mpich-1.2.7p1-intel-11.1.038-64Bit/lib -Wl,-rpath \
-Wl,/home/sntools/extras/compilers/intel/Compiler/11.1/038/lib/intel64 -lpmpich++ \
-lmpich -lpthread -lrt MPI build features:
<define>USE_STDARG <define>HAVE_STDLIB_H=1 <define>HAVE_STRING_H=1 \
<define>HAVE_UNISTD_H=1 <define>HAVE_STDARG_H=1 <define>USE_STDARG=1 \
<define>MALLOC_RET_VOID=1 <define>HAVE_MPI_CPP \
<include>/home/sntools/extras/mpi/mpich-1.2.7p1-intel-11.1.038-64Bit/include/mpi2c++ \
<include>/home/sntools/extras/mpi/mpich-1.2.7p1-intel-11.1.038-64Bit/include \
<cxxflags>-c <define>USE_STDARG <define>HAVE_STDLIB_H=1 <define>HAVE_STRING_H=1 \
<define>HAVE_UNISTD_H=1 <define>HAVE_STDARG_H=1 <define>USE_STDARG=1 \
<define>MALLOC_RET_VOID=1 \
<library-path>/home/sntools/extras/mpi/mpich-1.2.7p1-intel-11.1.038-64Bit/lib \
<find-shared-library>pmpich++ <find-shared-library>mpich <find-shared-library>pthread \
<find-shared-library>rt <linkflags>-Wl,-rpath \
<linkflags>-Wl,/home/sntools/extras/mpi/mpich-1.2.7p1-intel-11.1.038-64Bit/lib \
<linkflags>-Wl,-rpath \
<linkflags>-Wl,/home/sntools/extras/compilers/intel/Compiler/11.1/038/lib/intel64 \
<linkflags>-Wl,-rpath \
<linkflags>-Wl,/home/sntools/extras/mpi/mpich-1.2.7p1-intel-11.1.038-64Bit/lib \
<linkflags>-Wl,-rpath \
<linkflags>-Wl,/home/sntools/extras/compilers/intel/Compiler/11.1/038/lib/intel64 MPI \
launcher: mpirun -np ====================================================




[Attachment #8 (multipart/appledouble)]

["user-config.jam" (application/applefile)]
["user-config.jam;" (user-config.jam;)]

import toolset : using ;

using python
  : 2.5
  : /home/kbelco/bin/python/linux
  ;

# /home/sntools/extras/mpi/mpich-1.2.7p1-intel-11.1-64Bit/bin
using mpi
  : mpicxx
  ;

using intel
  : 11.1
  : /home/sntools/extras/compilers/intel/Compiler/11.1/038/bin/intel64/icpc
  ;

using gcc
  ;




_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic