Fwd: [mvapich-discuss] errors building mvapich2-0.9.8p1 on ppc64

Kyle Schochenmaier kschoche at scl.ameslab.gov
Mon Apr 30 22:17:16 EDT 2007


Yes, my system has uint16_t in stdint.h

Kyle

wei huang wrote:
> Could you verify if your system recognizes uint16_t?
>
> Regards,
> Wei Huang
>
> 774 Dreese Lab, 2015 Neil Ave,
> Dept. of Computer Science and Engineering
> Ohio State University
> OH 43210
> Tel: (614)292-8501
>
>
> On Fri, 27 Apr 2007, Kyle Schochenmaier wrote:
>
>   
>> I've applied that patch, but it doesnt seem to have fixed the problem
>> for some reason.
>> Looks like I'm still getting the exact same error?
>>
>> Kyle
>>
>>
>> wei huang wrote:
>>     
>>> Hi Kyle,
>>>
>>> Sorry we do not have any working ppc64 platforms here to exactly reproduce
>>> your problem. However, by code review we find that the following patch
>>> could solve this compilation error. Would you please try it and let us
>>> know how it works out:
>>>
>>> Index: src/mpid/osu_ch3/include/mpidpre.h
>>> ===================================================================
>>> --- src/mpid/osu_ch3/include/mpidpre.h  (revision 1200)
>>> +++ src/mpid/osu_ch3/include/mpidpre.h  (working copy)
>>> @@ -46,7 +46,7 @@
>>>
>>>  #if defined(MPID_USE_SEQUENCE_NUMBERS)
>>>  /* Reduced bit for seqnum, origin value unsigned long */
>>> -typedef u_int16_t MPID_Seqnum_t;
>>> +typedef uint16_t MPID_Seqnum_t;
>>>  /* End of OSU-MPI2 */
>>>  /* typedef unsigned long MPID_Seqnum_t; */
>>>  #endif
>>>
>>>
>>> Thanks.
>>>
>>> -- Wei
>>>
>>>
>>>
>>>     [ Part 1: "Included Message" ]
>>>
>>> Date: Thu, 26 Apr 2007 15:43:40 -0600
>>> From: Kyle Schochenmaier <kschoche at scl.ameslab.gov>
>>> To: mvapich-discuss at cse.ohio-state.edu
>>> Subject: [mvapich-discuss] errors building mvapich2-0.9.8p1 on ppc64
>>>
>>>     [ The following text is in the "iso-8859-1" character set. ]
>>>     [ Your display is set for the "US-ASCII" character set.  ]
>>>     [ Some characters may be displayed incorrectly. ]
>>>
>>> My goal is to build mvapich2 support for both the openfabrics stack and
>>> romio with pvfs2 support, and I've run into problems building it on ppc64.
>>> I was able to build at least the ofa support on an amd64 system, so I
>>> would think this isnt related to our openfabrics release.. but no luck
>>> yet on the ppc64.
>>>
>>> I'm using the following configure line to try to build on my setup:
>>> OPEN_IB_HOME=/usr/local/ LIBS="-lpvfs2" LDFLAGS="-m64
>>> -L/usr/src/pvfs2-4.21.07/Bppc64/lib" CFLAGS="-m64
>>> -I/usr/src/pvfs2-4.21.07/Bppc64/include" ./make.mvapich2.ofa
>>> --enable-romio --with-file-system=pvfs2
>>>
>>> First off, is this the correct way to build pvfs2 support?  The README's
>>> describe how to build pvfs support manually, this is of course pvfs2.
>>>
>>> I've also tried to build using just the make.mvapich2.ofa script and it
>>> seems to fail in the same places:
>>>
>>> In file included from ../../../../../../include/mpiimpl.h:91,
>>>                  from
>>> /usr/src/mvapich2-0.9.8p1/src/mpid/osu_ch3/include/mpidimpl.h:47,
>>>                  from
>>> /usr/src/mvapich2-0.9.8p1/src/mpid/osu_ch3/channels/mrail/include/mpidi_ch3_impl.h:23,
>>>                  from ch3_finalize.c:20:
>>> /usr/src/mvapich2-0.9.8p1/src/mpid/osu_ch3/include/mpidpre.h:163: error:
>>> expected specifier-qualifier-list before 'MPID_Seqnum_t'
>>> /usr/src/mvapich2-0.9.8p1/src/mpid/osu_ch3/include/mpidpre.h:189: error:
>>> expected specifier-qualifier-list before 'MPID_Seqnum_t'
>>> /usr/src/mvapich2-0.9.8p1/src/mpid/osu_ch3/include/mpidpre.h:209: error:
>>> expected specifier-qualifier-list before 'MPID_Seqnum_t'
>>> /usr/src/mvapich2-0.9.8p1/src/mpid/osu_ch3/include/mpidpre.h:216: error:
>>> expected specifier-qualifier-list before 'MPID_Seqnum_t'
>>> /usr/src/mvapich2-0.9.8p1/src/mpid/osu_ch3/include/mpidpre.h:236: error:
>>> expected specifier-qualifier-list before 'MPID_Seqnum_t'
>>> /usr/src/mvapich2-0.9.8p1/src/mpid/osu_ch3/include/mpidpre.h:247: error:
>>> expected specifier-qualifier-list before 'MPID_Seqnum_t'
>>> /usr/src/mvapich2-0.9.8p1/src/mpid/osu_ch3/include/mpidpre.h:262: error:
>>> expected specifier-qualifier-list before 'MPID_Seqnum_t'
>>>
>>>
>>> Regards,
>>> Wei Huang
>>>
>>> 774 Dreese Lab, 2015 Neil Ave,
>>> Dept. of Computer Science and Engineering
>>> Ohio State University
>>> OH 43210
>>> Tel: (614)292-8501
>>>
>>>
>>> On Fri, 27 Apr 2007, LEI CHAI wrote:
>>>
>>>
>>>   [NON-Text Body part not included]
>>>
>>>
>>>
>>>
>>>
>>>       
>
>
> !DSPAM:46325c6b299851497551287!
>
>   



More information about the mvapich-discuss mailing list