Re: [OMPI users] Help: OpenMPI Compilation in Raspberry Pi

2013-01-22 Thread Jeff Squyres (jsquyres)
On Jan 19, 2013, at 1:05 PM, Lee Eric wrote: > However, I hit another issue about fortran as configure running. > > *** Fortran 90/95 compiler > checking for armv6-rpi-linux-gnueabi-gfortran... > armv6-rpi-linux-gnueabi-gfortran > checking whether we are using the GNU Fortran compiler... yes > c

Re: [OMPI users] Help: OpenMPI Compilation in Raspberry Pi

2013-01-22 Thread Jeff Squyres (jsquyres)
Note that the original author of the ARM support chimed in on this on the devel list: http://www.open-mpi.org/community/lists/devel/2013/01/11955.php On Jan 21, 2013, at 6:50 AM, George Bosilca wrote: > Great, I pushed everything upstream: > - trunk (r27882) > - prepared a patch for the

Re: [OMPI users] Help: OpenMPI Compilation in Raspberry Pi

2013-01-21 Thread George Bosilca
Great, I pushed everything upstream: - trunk (r27882) - prepared a patch for the 1.6 (https://svn.open-mpi.org/trac/ompi/ticket/3469) - requested a CMR for the 1.7 (https://svn.open-mpi.org/trac/ompi/ticket/3470) Thanks for your help, George. On Jan 21, 2013, at 07:56 , Lee Eric wrote: >

Re: [OMPI users] Help: OpenMPI Compilation in Raspberry Pi

2013-01-21 Thread Lee Eric
Thank you mate. This patch works quite well on my Raspberry Pi w/o any error. Can we put them in the upstream? Thanks. Eric On Mon, Jan 21, 2013 at 12:07 AM, George Bosilca wrote: > Eric, > > What do you think about the patch attached to ticket #3469 > (https://svn.open-mpi.org/trac/ompi/ticke

Re: [OMPI users] Help: OpenMPI Compilation in Raspberry Pi

2013-01-20 Thread George Bosilca
Eric, What do you think about the patch attached to ticket #3469 (https://svn.open-mpi.org/trac/ompi/ticket/3469). We might blend the two patches together, and have all the different ARM versions covered. Thanks, George. On Jan 20, 2013, at 05:55 , Lee Eric wrote: > Hi, > > The above

Re: [OMPI users] Help: OpenMPI Compilation in Raspberry Pi

2013-01-19 Thread Lee Eric
Hi, The above issue fixed w/ this patch I used: https://raw.github.com/sebhtml/patches/master/openmpi/Raspberry-Pi-openmpi-1.6.2.patch Is that possible OpenMPI can contain this patch in the future? Thanks. On Sun, Jan 20, 2013 at 3:13 AM, Lee Eric wrote: > Hi, > > I just use --disable-mpif77 a

Re: [OMPI users] Help: OpenMPI Compilation in Raspberry Pi

2013-01-19 Thread Lee Eric
Hi, I just use --disable-mpif77 and --disable-mpif90 to let configure run well. However, I know it's only tough workround. After configured well, I encounter following error when run make: Making all in config make[1]: Entering directory `/home/huli/Projects/openmpi-1.6.3/config' make[1]: Nothing

Re: [OMPI users] Help: OpenMPI Compilation in Raspberry Pi

2013-01-19 Thread Lee Eric
Hi, The cross-compile issue I fixed. Check following source code: opal_config_asm.m4:897: [AC_MSG_ERROR([No atomic primitives available for $host])]) It seems that checks the toolchain's tuple is one of: armv7* or armv6* or armv5*. I have recompiled my toolchain and no such error occurred. Howeve

Re: [OMPI users] Help: OpenMPI Compilation in Raspberry Pi

2013-01-19 Thread Lee Eric
Any heads up? Thanks. On Fri, Jan 18, 2013 at 5:28 AM, Jeff Squyres (jsquyres) wrote: > On Jan 16, 2013, at 6:41 AM, Leif Lindholm wrote: > >> That isn't, technically speaking, correct for the Raspberry Pi - but it is a >> workaround if you know you will never actually use the asm implementatio

Re: [OMPI users] Help: OpenMPI Compilation in Raspberry Pi

2013-01-17 Thread Jeff Squyres (jsquyres)
On Jan 16, 2013, at 6:41 AM, Leif Lindholm wrote: > That isn't, technically speaking, correct for the Raspberry Pi - but it is a > workaround if you know you will never actually use the asm implementations of > the atomics, but only the inline C ones.. > > This sort of hides the problem that t

Re: [OMPI users] Help: OpenMPI Compilation in Raspberry Pi

2013-01-17 Thread Lee Eric
Hi all, sorry to reply this thread so late. I tried and it works well. However, it takes me about 12 hrs to compile he while package so I gonna cross-compile in my laptop w/ proper toolchain I created. Here's the command line I used. ./configure --build=x86_64-redhat-linux --host=arm-unknown-linux

Re: [OMPI users] Help: OpenMPI Compilation in Raspberry Pi

2013-01-11 Thread Jeff Squyres (jsquyres)
Ok, I was able to configure and run successfully on my Raspberry Pi with: ./configure CCASFLAGS=-march=armv7-a ... Is that something we should put on a FAQ page? On Jan 11, 2013, at 7:11 AM, George Bosilca wrote: > This one belong to arm7 instruction set. Please try one of the following

Re: [OMPI users] Help: OpenMPI Compilation in Raspberry Pi

2013-01-11 Thread George Bosilca
This one belong to arm7 instruction set. Please try one of the following `armv7', `armv7-a', `armv7-r'. George. On Jan 11, 2013, at 00:38 , Jeff Squyres (jsquyres) wrote: > Sadly, none of these solutions worked for me on my RPi: > > - > pi@raspberrypi ~/openmpi-1.6.3/opal/asm $ make CC

Re: [OMPI users] Help: OpenMPI Compilation in Raspberry Pi

2013-01-10 Thread Jeff Squyres (jsquyres)
Sadly, none of these solutions worked for me on my RPi: - pi@raspberrypi ~/openmpi-1.6.3/opal/asm $ make CCASFLAGS=-mcpu=arm1176jzf-s CPPAS atomic-asm.lo atomic-asm.S: Assembler messages: atomic-asm.S:7: Error: selected processor does not support ARM mode `dmb' atomic-asm.S:15: Error: selec

Re: [OMPI users] Help: OpenMPI Compilation in Raspberry Pi

2013-01-10 Thread George Bosilca
A little bit of google shows that this is a known issue. ldrex and strex are not included in the default instruction set gcc uses (arm6). One has to add the compile flag "-march=argv6k" to successfully compiles. George. PS: For more info: http://www.raspberrypi.org/phpBB3/viewtopic.php?f=9&t

Re: [OMPI users] Help: OpenMPI Compilation in Raspberry Pi

2013-01-10 Thread Jeff Squyres (jsquyres)
Mmmm. Let's rope in our ARM expert here... Leif, do you know what the issue is here? On Jan 3, 2013, at 4:28 AM, Lee Eric wrote: > Hi, > > I am going to compile OpenMPI 1.6.3 in Raspberry Pi and encounter following > errors. > > make[2]: Entering directory `/root/openmpi-1.6.3/opal' > CC

[OMPI users] Help: OpenMPI Compilation in Raspberry Pi

2013-01-03 Thread Lee Eric
Hi, I am going to compile OpenMPI 1.6.3 in Raspberry Pi and encounter following errors. make[2]: Entering directory `/root/openmpi-1.6.3/opal' CC class/opal_bitmap.lo CC class/opal_free_list.lo CC class/opal_hash_table.lo CC class/opal_list.lo CC class/opal_object.lo