Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: [OMPI devel] openmpi-1.3rc4 build failure with qsnet4.30
From: Paul H. Hargrove (PHHargrove_at_[hidden])
Date: 2009-01-13 16:31:12

Since it looks like you guys are very close to release, I just grabbed
the 1.3rc4 tarball to give it a spin.
Unfortunately, the elan BTL is not building:

$ ../configure --prefix=<whatever> CC=<path to gcc-4.3.2> CXX=<path to
g++-4.3.2> FC=<path to gfortran-4.3.2>
$ make
Making all in mca/btl/elan
make[2]: Entering directory
depbase=`echo btl_elan.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
        /bin/sh ../../../../libtool --tag=CC --mode=compile
/usr/local/pkg/gcc-4.3.2/bin/gcc -DHAVE_CONFIG_H -I.
-I../../../../../ompi/mca/btl/elan -I../../../../opal/include
-I../../../../orte/include -I../../../../ompi/include
-I../../../../.. -I../../../.. -I../../../../../opal/include
-I../../../../../orte/include -I../../../../../ompi/include -O3
-DNDEBUG -finline-functions -fno-strict-aliasing -pthread
-fvisibility=hidden -MT btl_elan.lo -MD -MP -MF $depbase.Tpo -c -o
btl_elan.lo ../../../../../ompi/mca/btl/elan/btl_elan.c &&\
        mv -f $depbase.Tpo $depbase.Plo
libtool: compile: /usr/local/pkg/gcc-4.3.2/bin/gcc -DHAVE_CONFIG_H -I.
-I../../../../../ompi/mca/btl/elan -I../../../../opal/include
-I../../../../orte/include -I../../../../ompi/include
-I../../../../opal/mca/paffinity/linux/plpa/src/libplpa -I../../../../..
-I../../../.. -I../../../../../opal/include
-I../../../../../orte/include -I../../../../../ompi/include -O3 -DNDEBUG
-finline-functions -fno-strict-aliasing -pthread -fvisibility=hidden -MT
btl_elan.lo -MD -MP -MF .deps/btl_elan.Tpo -c
../../../../../ompi/mca/btl/elan/btl_elan.c -fPIC -DPIC -o .libs/btl_elan.o
In file included from /usr/include/qsnet/fence.h:116,
                 from /usr/include/elan3/elan3.h:42,
                 from ../../../../../ompi/mca/btl/elan/btl_elan.h:34,
                 from ../../../../../ompi/mca/btl/elan/btl_elan.c:18:
/usr/include/asm/bitops.h:333:2: warning: #warning This includefile is
not available on all architectures.
/usr/include/asm/bitops.h:334:2: warning: #warning Using kernel headers
in userspace.
../../../../../ompi/mca/btl/elan/btl_elan.c: In function
../../../../../ompi/mca/btl/elan/btl_elan.c:167: error:
'ELAN_TPORT_USERCOPY_DISABLE' undeclared (first use in this function)
../../../../../ompi/mca/btl/elan/btl_elan.c:167: error: (Each undeclared
identifier is reported only once
../../../../../ompi/mca/btl/elan/btl_elan.c:167: error: for each
function it appears in.)
../../../../../ompi/mca/btl/elan/btl_elan.c: In function 'mca_btl_elan_get':
../../../../../ompi/mca/btl/elan/btl_elan.c:551: warning: cast to
pointer from integer of different size
make[2]: *** [btl_elan.lo] Error 1
make[2]: Leaving directory
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
make: *** [all-recursive] Error 1

$ rpm -qif /usr/include/qsnet
Name : qsnet-headers Relocations: (not relocateable)
Version : 4.30qsnet Vendor: (none)
Release : 0 Build Date: Mon 31 Jan 2005
07:36:45 AM PST
Install date: Mon 13 Mar 2006 04:37:36 PM PST Build Host: pingu
Group : Development/System Source RPM:
Size : 608924 License: GPL
Signature : (none)
Summary : The QsNet header files for the qsnet Linux kernel.
Description :
The headers package contains the QsNet kernel headers which are
required by library programmers to use the QsNet hardware.

I couldn't find any info in the README about minimum supported version
of qsnet. However, I did notice a cut-and-paste error in the following
text in README ("InfiniPath" should be "Elan"):

  Specify the directory where the Quadrics Elan library and header
  files are located. This option is generally only necessary if the
  InfiniPath headers and libraries are not in default compiler/linker
  search paths.

Sorry not to have done any testing earlier than today.


Paul H. Hargrove                          PHHargrove_at_[hidden]
Future Technologies Group                 Tel: +1-510-495-2352
HPC Research Department                   Fax: +1-510-486-6900
Lawrence Berkeley National Laboratory