Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] Problem building OpenMPi with SunStudio compilers
From: Ethan Mallove (ethan.mallove_at_[hidden])
Date: 2008-10-08 15:47:20


On Mon, Oct/06/2008 12:24:48PM, Ray Muno wrote:
> Ethan Mallove wrote:
>
> >> Now I get farther along but the build fails at (small excerpt)
> >>
> >> mutex.c:(.text+0x30): multiple definition of `opal_atomic_cmpset_32'
> >> asm/.libs/libasm.a(asm.o):asm.c:(.text+0x30): first defined here
> >> threads/.libs/mutex.o: In function `opal_atomic_cmpset_64':
> >> mutex.c:(.text+0x50): multiple definition of `opal_atomic_cmpset_64'
> >> asm/.libs/libasm.a(asm.o):asm.c:(.text+0x50): first defined here
> >> make[2]: *** [libopen-pal.la] Error 1
> >> make[2]: Leaving directory `/home/muno/OpenMPI/SunStudio/openmpi-1.2.7/opal'
> >> make[1]: *** [all-recursive] Error 1
> >> make[1]: Leaving directory `/home/muno/OpenMPI/SunStudio/openmpi-1.2.7/opal'
> >> make: *** [all-recursive] Error 1
> >>
> >> I based the configure on what was found in the FAQ here.
> >>
> >> http://www.open-mpi.org/faq/?category=building#build-sun-compilers
> >>
> >> Perhaps this is much more specific to our platform/OS.
> >>
> >> The environment is AMD Opteron, Barcelona running Centos 5
> >> (Rocks 5.03) with SunStudio 12 compilers.
> >>
> >
> > Unfortunately I haven't seen the above issue, so I don't
> > have a workaround to propose. There are some issues that
> > have been fixed with GCC-style inline assembly in the latest
> > Sun Studio Express build. Could you try it out?
> >
> > http://developers.sun.com/sunstudio/downloads/express/index.jsp
> >
> > -Ethan
> >
> >
>
> Looks like it dies at the exact same spot. I have the C++
> failure as well (supplied ld does not work).
>

Can you send your full config.log. This will help in an
attempt to reproduce your issue.

-Ethan

> --
>
> Ray Muno http://www.aem.umn.edu/people/staff/muno
> University of Minnesota e-mail: muno_at_[hidden]
> Aerospace Engineering and Mechanics Phone: (612) 625-9531
> 110 Union St. S.E. FAX: (612) 626-1558
> Minneapolis, Mn 55455
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users