Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] Problems compiling 1.5.3 on ARM
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2011-07-11 19:52:50


Yowza. Our ARM contact has been testing from SVN, not the tarballs -- it looks like the ARM ASM was not included in the tarball. :-(

I just fixed that in the trunk:

    https://svn.open-mpi.org/trac/ompi/changeset/24875

I'll get that moved over to the v1.5 tree shortly.

On Jul 11, 2011, at 5:34 PM, martin.bogomolni_at_[hidden] wrote:

>
> 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
>
>
>
>
> _______________________________________________
> devel mailing list
> devel_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/devel

-- 
Jeff Squyres
jsquyres_at_[hidden]
For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/