[mvapich-discuss] Problem building mvapich 1.0 with Portland Group

Craig Tierney Craig.Tierney at noaa.gov
Mon Dec 17 13:08:46 EST 2007


I am having problems building Mvapich (both 1.0 and 1.0.1) for OFED
using the Portland Group compilers.

When do execute the following:

# OPEN_IB_HOME=/usr
# CC=pgcc
# CXX=pgCC
# FC=pgf77
# F90=pgf90
# ROMIO=yes
# ./make.mvapich.ofa

I get the following error when building the example programs.

../bin/mpicc -D_EM64T_ -D_SMP_ -DUSE_HEADER_CACHING  -DONE_SIDED 
-DMPIDI_CH3_CHANNEL_RNDV -DMPID_USE_SEQUENCE_NUMBERS  -DRDMA_CM 
-I/usr/include -O2 -L../lib -o cpi cpi.o  -lm -lmpich -L/usr/lib64 
-lrdmacm -libverbs -libumad -lpthread   -lrt   -L/usr/lib64  -lrdmacm 
-libverbs -libumad -lpthread   -lrt
../lib/libmpich.a(ibv_param.o)(.text+0xa7): In function `ntohll':
: undefined reference to `bswap_64'
../lib/libmpich.a(ibv_param.o)(.text+0xb7): In function `htonll':
: undefined reference to `bswap_64'

I don't get this linking error when building with Intel 9.X.

Has anyone else run into this problem?

Thanks,
Craig


-- 
Craig Tierney (craig.tierney at noaa.gov)


More information about the mvapich-discuss mailing list