List Info

Thread: LAM: Problem compiling lam 7.1.1 with infiniband support




LAM: Problem compiling lam 7.1.1 with infiniband support
user name
2006-05-24 08:45:37
I have problems compiling lam7.1.1 (as well as 7.1.2) with
Infiniband
support. What I did : 

./configure \ 
--prefix=$LAM_ARCH_PATH \ 
--with-rpi-ib=/usr/ibgd/driver/infinihost \ 
--enable-shared \ 
--disable-static \ 
--without-romio \ 
--without-mpi2cpp \ 
--without-profiling \ 
--without-fc 

gmake 

So when I compile it I get the following error 

gmake[6]: Entering directory
`/home/klosterm/OpenFOAM/OpenFOAM-1.3/src/lam-7.1.1/share/ss
i/rpi/ib/src' 
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I.
-I. -I.
-DLAM_SSI_RPI_IB_TINYMSGLEN=32768 -DLAM_SSI_RPI_IB_PORT=-1
-DLAM_SSI_RPI_IB_HCA_ID=""
-DLAM_SSI_RPI_IB_NUM_ENVELOPES=64
-I../../../../../share/include
-I../../../../../share/include
-I../../../../../share/include -DLAM_BUILDING=1
-DLAM_BUILDING=1
-I/usr/ibgd/driver/infinihost/include -O3 -m64 -fPIC -MT
ssi_rpi_ib_ack.lo -MD -MP -MF
".deps/ssi_rpi_ib_ack.Tpo" -c -o
ssi_rpi_ib_ack.lo ssi_rpi_ib_ack.c; \ 
then mv -f ".deps/ssi_rpi_ib_ack.Tpo"
".deps/ssi_rpi_ib_ack.Plo"; else
rm -f ".deps/ssi_rpi_ib_ack.Tpo"; exit 1; fi 
mkdir .libs 
gcc -DHAVE_CONFIG_H -I. -I. -I.
-DLAM_SSI_RPI_IB_TINYMSGLEN=32768
-DLAM_SSI_RPI_IB_PORT=-1 -DLAM_SSI_RPI_IB_HCA_ID=
-DLAM_SSI_RPI_IB_NUM_ENVELOPES=64
-I../../../../../share/include
-I../../../../../share/include
-I../../../../../share/include
-DLAM_BUILDING=1 -DLAM_BUILDING=1
-I/usr/ibgd/driver/infinihost/include
-O3 -m64 -fPIC -MT ssi_rpi_ib_ack.lo -MD -MP
-MF .deps/ssi_rpi_ib_ack.Tpo -c ssi_rpi_ib_ack.c -fPIC -DPIC
-o .libs/ssi_rpi_ib_ack.o 
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I.
-I. -I.
-DLAM_SSI_RPI_IB_TINYMSGLEN=32768 -DLAM_SSI_RPI_IB_PORT=-1
-DLAM_SSI_RPI_IB_HCA_ID=""
-DLAM_SSI_RPI_IB_NUM_ENVELOPES=64
-I../../../../../share/include
-I../../../../../share/include
-I../../../../../share/include -DLAM_BUILDING=1
-DLAM_BUILDING=1
-I/usr/ibgd/driver/infinihost/include -O3 -m64 -fPIC -MT
ssi_rpi_ib_actions.lo -MD -MP -MF
".deps/ssi_rpi_ib_actions.Tpo" -c -o
ssi_rpi_ib_actions.lo ssi_rpi_ib_actions.c; \ 
then mv -f ".deps/ssi_rpi_ib_actions.Tpo"
".deps/ssi_rpi_ib_actions.Plo"; else rm -f
".deps/ssi_rpi_ib_actions.Tpo"; exit 1; fi 
gcc -DHAVE_CONFIG_H -I. -I. -I.
-DLAM_SSI_RPI_IB_TINYMSGLEN=32768
-DLAM_SSI_RPI_IB_PORT=-1 -DLAM_SSI_RPI_IB_HCA_ID=
-DLAM_SSI_RPI_IB_NUM_ENVELOPES=64
-I../../../../../share/include
-I../../../../../share/include
-I../../../../../share/include
-DLAM_BUILDING=1 -DLAM_BUILDING=1
-I/usr/ibgd/driver/infinihost/include
-O3 -m64 -fPIC -MT ssi_rpi_ib_actions.lo -MD -MP
-MF .deps/ssi_rpi_ib_actions.Tpo -c ssi_rpi_ib_actions.c
-fPIC -DPIC
-o .libs/ssi_rpi_ib_actions.o 
ssi_rpi_ib_actions.c: In function 'send_peer_fc_info': 
ssi_rpi_ib_actions.c:1202: warning: right shift count >=
width of type 
ssi_rpi_ib_actions.c:1244: warning: left shift count >=
width of type 
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I.
-I. -I.
-DLAM_SSI_RPI_IB_TINYMSGLEN=32768 -DLAM_SSI_RPI_IB_PORT=-1
-DLAM_SSI_RPI_IB_HCA_ID=""
-DLAM_SSI_RPI_IB_NUM_ENVELOPES=64
-I../../../../../share/include
-I../../../../../share/include
-I../../../../../share/include -DLAM_BUILDING=1
-DLAM_BUILDING=1
-I/usr/ibgd/driver/infinihost/include -O3 -m64 -fPIC -MT
ssi_rpi_ib_bitmap.lo -MD -MP -MF
".deps/ssi_rpi_ib_bitmap.Tpo" -c -o
ssi_rpi_ib_bitmap.lo ssi_rpi_ib_bitmap.c; \ 
then mv -f ".deps/ssi_rpi_ib_bitmap.Tpo"
".deps/ssi_rpi_ib_bitmap.Plo";
else rm -f ".deps/ssi_rpi_ib_bitmap.Tpo"; exit
1; fi 
gcc -DHAVE_CONFIG_H -I. -I. -I.
-DLAM_SSI_RPI_IB_TINYMSGLEN=32768
-DLAM_SSI_RPI_IB_PORT=-1 -DLAM_SSI_RPI_IB_HCA_ID=
-DLAM_SSI_RPI_IB_NUM_ENVELOPES=64
-I../../../../../share/include
-I../../../../../share/include
-I../../../../../share/include
-DLAM_BUILDING=1 -DLAM_BUILDING=1
-I/usr/ibgd/driver/infinihost/include
-O3 -m64 -fPIC -MT ssi_rpi_ib_bitmap.lo -MD -MP
-MF .deps/ssi_rpi_ib_bitmap.Tpo -c ssi_rpi_ib_bitmap.c -fPIC
-DPIC
-o .libs/ssi_rpi_ib_bitmap.o 
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I.
-I. -I.
-DLAM_SSI_RPI_IB_TINYMSGLEN=32768 -DLAM_SSI_RPI_IB_PORT=-1
-DLAM_SSI_RPI_IB_HCA_ID=""
-DLAM_SSI_RPI_IB_NUM_ENVELOPES=64
-I../../../../../share/include
-I../../../../../share/include
-I../../../../../share/include -DLAM_BUILDING=1
-DLAM_BUILDING=1
-I/usr/ibgd/driver/infinihost/include -O3 -m64 -fPIC -MT
ssi_rpi_ib_dreg.lo -MD -MP -MF
".deps/ssi_rpi_ib_dreg.Tpo" -c -o
ssi_rpi_ib_dreg.lo ssi_rpi_ib_dreg.c; \ 
then mv -f ".deps/ssi_rpi_ib_dreg.Tpo"
".deps/ssi_rpi_ib_dreg.Plo"; else
rm -f ".deps/ssi_rpi_ib_dreg.Tpo"; exit 1; fi 
gcc -DHAVE_CONFIG_H -I. -I. -I.
-DLAM_SSI_RPI_IB_TINYMSGLEN=32768
-DLAM_SSI_RPI_IB_PORT=-1 -DLAM_SSI_RPI_IB_HCA_ID=
-DLAM_SSI_RPI_IB_NUM_ENVELOPES=64
-I../../../../../share/include
-I../../../../../share/include
-I../../../../../share/include
-DLAM_BUILDING=1 -DLAM_BUILDING=1
-I/usr/ibgd/driver/infinihost/include
-O3 -m64 -fPIC -MT ssi_rpi_ib_dreg.lo -MD -MP
-MF .deps/ssi_rpi_ib_dreg.Tpo -c ssi_rpi_ib_dreg.c -fPIC
-DPIC
-o .libs/ssi_rpi_ib_dreg.o 
ssi_rpi_ib_dreg.c:40: error: static declaration of
'lam_ssi_rpi_ib_env_mempool' follows non-static
declaration 
./rpi_ib_dreg.h:24: error: previous declaration of
'lam_ssi_rpi_ib_env_mempool' was here 
gmake[6]: *** [ssi_rpi_ib_dreg.lo] Error 1 
gmake[6]: Leaving directory
`/home/klosterm/OpenFOAM/OpenFOAM-1.3/src/lam-7.1.1/share/ss
i/rpi/ib/src' 
gmake[5]: *** [all] Error 2 
gmake[5]: Leaving directory
`/home/klosterm/OpenFOAM/OpenFOAM-1.3/src/lam-7.1.1/share/ss
i/rpi/ib/src' 
gmake[4]: *** [all-recursive] Error 1 
gmake[4]: Leaving directory
`/home/klosterm/OpenFOAM/OpenFOAM-1.3/src/lam-7.1.1/share/ss
i/rpi/ib' 
gmake[3]: *** [all-recursive] Error 1 
gmake[3]: Leaving directory
`/home/klosterm/OpenFOAM/OpenFOAM-1.3/src/lam-7.1.1/share/ss
i/rpi' 
gmake[2]: *** [all-recursive] Error 1 
gmake[2]: Leaving directory
`/home/klosterm/OpenFOAM/OpenFOAM-1.3/src/lam-7.1.1/share/ss
i' 
gmake[1]: *** [all-recursive] Error 1 
gmake[1]: Leaving directory
`/home/klosterm/OpenFOAM/OpenFOAM-1.3/src/lam-7.1.1/share' 
gmake: *** [all-recursive] Error 1 



Any help is appreciated. Thanks 

Jens

_______________________________________________
This list is archived at http://www.l
am-mpi.org/MailArchives/lam/
LAM: Problem compiling lam 7.1.1 with infiniband support
user name
2006-06-08 04:28:06
On May 24, 2006, at 2:45 AM, Jens Klostermann wrote:

> I have problems compiling lam7.1.1 (as well as 7.1.2)
with Infiniband
> support. What I did :

<snip>

> gcc -DHAVE_CONFIG_H -I. -I. -I.
-DLAM_SSI_RPI_IB_TINYMSGLEN=32768
> -DLAM_SSI_RPI_IB_PORT=-1 -DLAM_SSI_RPI_IB_HCA_ID=
> -DLAM_SSI_RPI_IB_NUM_ENVELOPES=64
-I../../../../../share/include
> -I../../../../../share/include
-I../../../../../share/include
> -DLAM_BUILDING=1 -DLAM_BUILDING=1
-I/usr/ibgd/driver/infinihost/ 
> include
> -O3 -m64 -fPIC -MT ssi_rpi_ib_dreg.lo -MD -MP
> -MF .deps/ssi_rpi_ib_dreg.Tpo -c ssi_rpi_ib_dreg.c
-fPIC -DPIC
> -o .libs/ssi_rpi_ib_dreg.o
> ssi_rpi_ib_dreg.c:40: error: static declaration of
> 'lam_ssi_rpi_ib_env_mempool' follows non-static
declaration
> ./rpi_ib_dreg.h:24: error: previous declaration of
> 'lam_ssi_rpi_ib_env_mempool' was here

Thanks for the bug report.  I've applied a fix to our
subversion  
repository and will be releasing a beta of 7.1.3 this
weekend with  
the fix.

Brian

-- 
   Brian Barrett
   LAM/MPI developer and all around nice guy
   Have a LAM/MPI day: http://www.lam-mpi.org/


_______________________________________________
This list is archived at http://www.l
am-mpi.org/MailArchives/lam/
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )