Paul,

Thanks for noticing the Elan problem. It appears we miss one patch in the 1.3 (https://svn.open-mpi.org/trac/ompi/changeset/20122). I'll fill a CMR asap.

  Thanks,
    george.

On Jan 13, 2009, at 16:31 , Paul H. Hargrove wrote:

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 `/home/pcp1/phargrov/OpenMPI/ openmpi-1.3rc4/BLD/ompi/mca/btl/elan'
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../../../../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 $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 'mca_btl_elan_add_procs': ../../../../../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 `/home/pcp1/phargrov/OpenMPI/ openmpi-1.3rc4/BLD/ompi/mca/btl/elan'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/pcp1/phargrov/OpenMPI/ openmpi-1.3rc4/BLD/ompi'
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: qsnet- headers-4.30qsnet-0.src.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"):

--with-elan=<directory>
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

--
Paul H. Hargrove                          phhargr...@lbl.gov
Future Technologies Group                 Tel: +1-510-495-2352
HPC Research Department                   Fax: +1-510-486-6900
Lawrence Berkeley National Laboratory
_______________________________________________
devel mailing list
de...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/devel

Reply via email to