HI Paul,

https://github.com/open-mpi/ompi/issues/2677

It seems we have a bunch of problems with PPC64 atomics and I'd like to
see if we can get at least some of these issues resolved for 2.0.2, so
I've set this as a blocker along with 2610.

Howard


2017-01-06 9:48 GMT-07:00 Howard Pritchard <hpprit...@gmail.com>:

> Hi Paul,
>
> Sorry for the confusion.  This is a different problem.
> I'll open an issue for this one too.
>
> Howard
>
>
>
> 2017-01-06 9:18 GMT-07:00 Howard Pritchard <hpprit...@gmail.com>:
>
>> Hi Paul,
>>
>> Thanks for checking this.
>>
>> This problem was previously reporting and there's an issue:
>>
>> https://github.com/open-mpi/ompi/issues/2610
>>
>> tracking it.
>>
>> Howard
>>
>>
>> 2017-01-05 21:19 GMT-07:00 Paul Hargrove <phhargr...@lbl.gov>:
>>
>>> I have a standard Linux/ppc64 system with gcc-4.8.3
>>> I have configured the 2.0.2rc3 tarball with
>>>
>>> --prefix=... --enable-builtin-atomics \
>>> CFLAGS=-m32 --with-wrapper-cflags=-m32 \
>>> CXXFLAGS=-m32 --with-wrapper-cxxflags=-m32 \
>>> FCFLAGS=-m32 --with-wrapper-fcflags=-m32 --disable-mpi-fortran
>>>
>>> (Yes, I know the FCFLAGS are unnecessary).
>>>
>>> I get a "make check" failure:
>>>
>>> make[3]: Entering directory `/home/phargrov/OMPI/openmpi-2
>>> .0.2rc3-linux-ppc32-gcc/BLD/test/asm'
>>>   CC       atomic_barrier.o
>>>   CCLD     atomic_barrier
>>>   CC       atomic_barrier_noinline-atomic_barrier_noinline.o
>>>   CCLD     atomic_barrier_noinline
>>>   CC       atomic_spinlock.o
>>>   CCLD     atomic_spinlock
>>>   CC       atomic_spinlock_noinline-atomic_spinlock_noinline.o
>>>   CCLD     atomic_spinlock_noinline
>>>   CC       atomic_math.o
>>>   CCLD     atomic_math
>>> atomic_math.o: In function `atomic_math_test':
>>> atomic_math.c:(.text+0x78): undefined reference to
>>> `__sync_add_and_fetch_8'
>>> collect2: error: ld returned 1 exit status
>>> make[3]: *** [atomic_math] Error 1
>>>
>>>
>>> It looks like there is an (incorrect) assumption that 8-byte atomics are
>>> available.
>>> Removing --enable-builtin-atomics resolves this issue.
>>>
>>> -Paul
>>>
>>> --
>>> Paul H. Hargrove                          phhargr...@lbl.gov
>>> Computer Languages & Systems Software (CLaSS) Group
>>> Computer Science Department               Tel: +1-510-495-2352
>>> <(510)%20495-2352>
>>> Lawrence Berkeley National Laboratory     Fax: +1-510-486-6900
>>> <(510)%20486-6900>
>>>
>>> _______________________________________________
>>> devel mailing list
>>> devel@lists.open-mpi.org
>>> https://rfd.newmexicoconsortium.org/mailman/listinfo/devel
>>>
>>
>>
>
_______________________________________________
devel mailing list
devel@lists.open-mpi.org
https://rfd.newmexicoconsortium.org/mailman/listinfo/devel

Reply via email to