[mpich-discuss] building 64-bit MPICH2 on AIX

Robert Yelle ryelle at uoregon.edu
Tue Feb 3 14:55:55 CST 2009


Hello,


Has anybody tried to build 64-bit versions of MPICH2 on an AIX 
platform?  What arguments should one use?  I tried to build a 64-bit 
version of MPICH2 (version 1.0.8) using the following arguments:


 > ./configure --prefix=/usr/local/packages/mpich2/1.0.8_ibm-9.0-11.1_64 
OBJECT_MODE=64 C
C=/usr/vacpp/bin/xlc CXX=/usr/vacpp/bin/xlc++ FC=/bin/xlf F77=/bin/xlf 
F90=/bin/xlf90 CFLA
GS=-q64 FFLAGS=-q64 F90FLAGS=-q64 MPICH2LIB_CFLAGS=-q64 
MPICH2LIB_FFLAGS=-q64 MPICH2LIB_CX
XFLAGS=-q64 MPICH2LIB_F90FLAGS=-q64


Configure works fine, but "make" exits with the following error:


make[3]: Leaving directory 
`/mnt/netapp/packages/src/mpich2-1.0.8/src/binding/cxx'
make[2]: Leaving directory 
`/mnt/netapp/packages/src/mpich2-1.0.8/src/binding'
make[2]: Entering directory `/mnt/netapp/packages/src/mpich2-1.0.8/src/env'
/usr/vacpp/bin/xlc -DHAVE_CONFIG_H -I. -I. -I../include -q64 -O2 -q64 
-I/usr/local/packages/src/mpich2-1.0.8/src/mpid/ch3/include 
-I/usr/local/packages/src/mpich2-1.0.8/src/mpid/ch3/include 
-I/usr/local/packages/src/mpich2-1.0.8/src/mpid/common/datatype 
-I/usr/local/packages/src/mpich2-1.0.8/src/mpid/common/datatype 
-I/usr/local/packages/src/mpich2-1.0.8/src/mpid/common/locks 
-I/usr/local/packages/src/mpich2-1.0.8/src/mpid/common/locks 
-I/usr/local/packages/src/mpich2-1.0.8/src/mpid/ch3/channels/sock/include 
-I/usr/local/packages/src/mpich2-1.0.8/src/mpid/ch3/channels/sock/include 
-I/usr/local/packages/src/mpich2-1.0.8/src/mpid/common/sock 
-I/usr/local/packages/src/mpich2-1.0.8/src/mpid/common/sock 
-I/usr/local/packages/src/mpich2-1.0.8/src/mpid/common/sock/poll 
-I/usr/local/packages/src/mpich2-1.0.8/src/mpid/common/sock/poll -c 
mpich2version.c
/usr/vacpp/bin/xlc -q64 -O2 -q64  -o mpich2version mpich2version.o  \
../../lib/libmpich.a -lpthread          
ld: 0711-204 SEVERE ERROR: Archive file ../../lib/libmpich.a cannot be 
processed.
        The number of archive members (0), specified in the archive member
        table, is less than or equal to 0 or is not consistent with the 
length
        of the member table.
make[2]: *** [mpich2version] Error 12
make[2]: Leaving directory `/mnt/netapp/packages/src/mpich2-1.0.8/src/env'
make[1]: *** [all-redirect] Error 2
make[1]: Leaving directory `/mnt/netapp/packages/src/mpich2-1.0.8/src'
make: *** [all-redirect] Error 2


The platform is an IBM Power4 running AIX 5.3.  Compilers are IBM xlc 
version 9.0 and xlf version 11.1.  Any suggestions would be appreciated.


Thanks,


Robert Yelle



More information about the mpich-discuss mailing list