[mvapich-discuss] mvapich2-1.6rc2 failed to build on rhel4.8 system

Jonathan Perkins perkinjo at cse.ohio-state.edu
Thu Feb 17 15:25:48 EST 2011


You'll use the same --enable-sharedlibs=gcc option.

On Thu, Feb 17, 2011 at 1:43 PM, Limin Gu <lgu at penguincomputing.com> wrote:
> Thanks Jonathan and Devendar!
> Thanks for the quick responds. The patch is good, it builds on rhel4.8 now.
>
> I have another question, if I want the shared libraries built as well, I
> know I need to configure with "--enable-sharedlibs=gcc", but when I build
> with pgi and intel compilers, is it right that I configure with
> "--enable-sharedlibs=gcc"? Or do I need to build those shared libraries
> manually?
>
> Thanks!
>
> Limin
>
> On Thu, Feb 17, 2011 at 12:06 PM, Jonathan Perkins
> <perkinjo at cse.ohio-state.edu> wrote:
>>
>> Limin:
>> I am attaching (and posting below in case the attachment is rejected)
>> the patch that should resolve this problem.  Please apply it by
>> navigating to the top level of the mvapich2 source and using `patch
>> -p0 < coll_shmem.patch'.  Please let us know if this resolves your
>> problem.
>>
>>
>>
>> On Thu, Feb 17, 2011 at 12:02 AM, Devendar Bureddy
>> <bureddy at cse.ohio-state.edu> wrote:
>> > Limin
>> >
>> > Thanks for trying MVAPICH2 and notifying this issue. We already seen
>> > same
>> > comparability issue  from others who are running on RHEL4. Next coming
>> > release(
>> > MVAPICH2-1.6 RC3)  has a fix for this issue along with other
>> > optimizations. This will be released in a couple of days. Can you please
>> > try with upcoming release.
>> >
>> > -Devendar
>> >
>> > On Wed, Feb 16, 2011 at 11:35 PM, Limin Gu <lgu at penguincomputing.com>
>> > wrote:
>> >> Hi,
>> >>
>> >> I have successfully built mvapich2-1.6rc2 on rhel5.5 system with gnu,
>> >> pgi
>> >> and intel compilers, everything seem work just fine.
>> >>
>> >> But it failed to build on rhel4.8 system. I am not doing anything
>> >> fancy,
>> >> just try to build it with gnu compilers with all default configure, but
>> >> make
>> >> failed with this error:
>> >> ...
>> >> ...
>> >>   CC              red_scat_block.c
>> >>   CC              allgather_osu.c
>> >> In file included from allgather_osu.c:21:
>> >> ../../../src/mpid/ch3/channels/mrail/src/rdma/coll_shmem.h:100: error:
>> >> syntax error before "pthread_spinlock_t"
>> >> ../../../src/mpid/ch3/channels/mrail/src/rdma/coll_shmem.h:100:
>> >> warning: no
>> >> semicolon at end of struct or union
>> >> ../../../src/mpid/ch3/channels/mrail/src/rdma/coll_shmem.h:109: error:
>> >> syntax error before '}' token
>> >> ../../../src/mpid/ch3/channels/mrail/src/rdma/coll_shmem.h:109:
>> >> warning:
>> >> data definition has no type or storage class
>> >> ../../../src/mpid/ch3/channels/mrail/src/rdma/coll_shmem.h:112: error:
>> >> syntax error before '*' token
>> >> ../../../src/mpid/ch3/channels/mrail/src/rdma/coll_shmem.h:112:
>> >> warning:
>> >> data definition has no type or storage class
>> >> make[3]: *** [allgather_osu.o] Error 1
>> >>
>> >>
>> >> What do I miss on rhel4.8 system?
>> >>
>> >> Thank you!
>> >>
>> >> Limin
>> >>
>> >>
>> >> _______________________________________________
>> >> mvapich-discuss mailing list
>> >> mvapich-discuss at cse.ohio-state.edu
>> >> http://mail.cse.ohio-state.edu/mailman/listinfo/mvapich-discuss
>> >>
>> >>
>> >
>> > _______________________________________________
>> > mvapich-discuss mailing list
>> > mvapich-discuss at cse.ohio-state.edu
>> > http://mail.cse.ohio-state.edu/mailman/listinfo/mvapich-discuss
>> >
>> >
>>
>>
>>
>> --
>> Jonathan Perkins
>> http://www.cse.ohio-state.edu/~perkinjo
>
>



-- 
Jonathan Perkins
http://www.cse.ohio-state.edu/~perkinjo



More information about the mvapich-discuss mailing list