[mpich-discuss] building 64-bit MPICH2 on AIX
Robert Yelle
ryelle at uoregon.edu
Wed Feb 4 12:33:41 CST 2009
Hello Anthony,
Adding "Ar= -X64" to my configure arguments and not setting the
MPICH2LIB flags did the trick, and everything seems to work now - thanks!
As an added note, this version of MPICH2 on AIX seems to require running
mpd with the --ncpus option (say mpd --ncpus=8) in order to utilize more
than 3 processes, whereas my builds on Linux have not required this
(perhaps ncpus is picked up automatically in Linux?). Just an FYI.
My thanks to all who responded,
Robert
Anthony Chan wrote:
> Try adding AR="ar -X64" to the rest of your configure arguments
> when configuring... Also, since you set *FLAGS to -q64, you
> should NOT set any of the MPICH2LIB_*FLAGS.
>
> A.Chan
>
> ----- "Robert Yelle" <ryelle at uoregon.edu> wrote:
>
>
>> Hello Dave,
>>
>>
>> I just typed "make" (GNU Make 3.80), but in response to your comment I
>>
>> just tried "make -j 1", and it resulted in the same error.
>>
>>
>> Robert
>>
>>
>> Dave Goodell wrote:
>>
>>> Hi Robert,
>>>
>>> Are you building with "make -j N"? These look like errors that
>>>
>> would
>>
>>> be produced from a parallel make. The mpich2 build process doesn't
>>>
>>> support parallel make at this time.
>>>
>>> -Dave
>>>
>>> On Feb 3, 2009, at 2:55 PM, Robert Yelle wrote:
>>>
>>>
>>>> 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