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).

-- 

 Ray Muno                   http://www.aem.umn.edu/people/staff/muno
 University of Minnesota                   e-mail:   m...@aem.umn.edu
 Aerospace Engineering and Mechanics        Phone:     (612) 625-9531
 110 Union St. S.E.                           FAX:     (612) 626-1558
 Minneapolis, Mn 55455  

Reply via email to