Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: [OMPI devel] Problems compiling 1.5.3 on ARM
From: martin.bogomolni_at_[hidden]
Date: 2011-07-11 17:34:00


Using the following configure line:

./configure CFLAGS=-Wa,-mimplicit-it=thumb --with-ft=cr --with-blcr=/usr --with-blcr-libdir=/usr/lib --with-tm --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --sysconfdir=/etc/openmpi --libdir=/usr/lib/openmpi/lib --includedir=/usr/lib/openmpi/include --with-devel-headers --enable-heterogeneous --enable-static

-------------------------------------------------------------------------------------

Configuration succeeds, but when I attempted to compile OpenMPI the following error occurred:

Making all in asm
make[2]: Entering directory `/tmp/deb-src/openmpi-1.5.3/opal/asm'
  CC asm.lo
In file included from asm.c:21:0:
../../opal/include/opal/sys/atomic.h:150:33: fatal error: opal/sys/arm/atomic.h: No such file or directory
compilation terminated.
make[2]: *** [asm.lo] Error 1
make[2]: Leaving directory `/tmp/deb-src/openmpi-1.5.3/opal/asm'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/deb-src/openmpi-1.5.3/opal'
make: *** [all-recursive] Error 1

The file "arm/atomic.h" is missing. This was verified by running 'find'

root_at_vs2:/usr/src/deb-src/openmpi-1.5.3# find . -name "atomic.h"
./opal/mca/memory/linux/sysdeps/generic/atomic.h
./opal/include/opal/sys/amd64/atomic.h
./opal/include/opal/sys/alpha/atomic.h
./opal/include/opal/sys/win32/atomic.h
./opal/include/opal/sys/ia64/atomic.h
./opal/include/opal/sys/sparcv9/atomic.h
./opal/include/opal/sys/ia32/atomic.h
./opal/include/opal/sys/sparc/atomic.h
./opal/include/opal/sys/mips/atomic.h
./opal/include/opal/sys/atomic.h
./opal/include/opal/sys/powerpc/atomic.h

--------------------------------------------------------------------------------------

Attempting to use the patch from the list : armv7-a.patch yielded:

root_at_vs2:/usr/src/deb-src/openmpi-1.5.3# patch -p1 -i arm-v7a.patch -F6
patching file opal/asm/generate-asm.pl
Reversed (or previously applied) patch detected! Assume -R? [n] n
Apply anyway? [n] n
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file opal/asm/generate-asm.pl.rej
patching file opal/asm/asm-data.txt
Hunk #1 succeeded at 57 (offset 9 lines).
patching file opal/asm/base/ARM.asm
patching file opal/include/opal/sys/arm/atomic.h
patching file opal/include/opal/sys/arm/timer.h
patching file opal/include/opal/sys/arm/Makefile.am
patching file opal/include/opal/sys/arm/update.sh
patching file opal/include/opal/sys/atomic.h
Reversed (or previously applied) patch detected! Assume -R? [n] n
Apply anyway? [n] n
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file opal/include/opal/sys/atomic.h.rej
patching file opal/include/opal/sys/timer.h
Reversed (or previously applied) patch detected! Assume -R? [n] n
Apply anyway? [n] n
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file opal/include/opal/sys/timer.h.rej
patching file opal/include/opal/sys/architecture.h
Reversed (or previously applied) patch detected! Assume -R? [n] n
Apply anyway? [n] n
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file opal/include/opal/sys/architecture.h.rej
patching file opal/config/opal_config_asm.m4
Reversed (or previously applied) patch detected! Assume -R? [n] n
Apply anyway? [n] n
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file opal/config/opal_config_asm.m4.rej