Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: [OMPI devel] 1.7.4rc: linux/ppc32/xlc-11.1 build failure
From: Paul Hargrove (phhargrove_at_[hidden])
Date: 2014-01-17 20:28:57


I am trying to build the 1.7 nightly tarball (1.7.4rc2r30303) on a
Linux/PPC system with the xlc-11.1 compilers configured for 32-bit output:

$ export OBJECT_MODE=32
$ [pathto]/configure CC=xlc CXX=xlC FC=xlf90 --enable-debug --prefix=...

The build fails with:

Making all in mpi/cxx
make[2]: Entering directory
`/gpfs-biou/phh1/OMPI/openmpi-1.7.4-latest-linux-ppc32-xlc-11.1/BLD/ompi/mpi/cxx'
  CXX mpicxx.lo
"/home/phh1/SCRATCH/OMPI/openmpi-1.7.4-latest-linux-ppc32-xlc-11.1/openmpi-1.7.4rc2r30303/opal/threads/mutex.h",
line 292.15: 1540-0274 (S) The name lookup for "opal_atomic_add_64" did not
find a declaration.
make[2]: *** [mpicxx.lo] Error 1

My guess is due to the ILP31 target, there might not *be* any atomic 64-bit
add.
However, my Linux/ARM build with gcc worked fine, so clearly (to me) there
is support for ILP32 systems.

The OBJECT_MODE=64 case gets past this point (but fails building fortran
support - report coming soon).

I will accept "we don't support this target", but am reporting this for
completeness.

-Paul

-- 
Paul H. Hargrove                          PHHargrove_at_[hidden]
Future Technologies Group
Computer and Data Sciences Department     Tel: +1-510-495-2352
Lawrence Berkeley National Laboratory     Fax: +1-510-486-6900