Re: [OMPI users] openmpi-1.10.3 cross compile configure options for arm-openwrt-linux-muslgnueabi on x86_64-linux-gnu

2016-10-18 Thread Gilles Gouaillardet
Hi, can you please give the patch below a try ? Cheers, Gilles diff --git a/ompi/tools/wrappers/ompi_wrapper_script.in b/ompi/tools/wrappers/ompi_wrapper_script.in index d87649f..b66fec3 100644 --- a/ompi/tools/wrappers/ompi_wrapper_script.in +++ b/ompi/tools/wrappers/ompi_wrapper_script.in

Re: [OMPI users] openmpi-1.10.3 cross compile configure options for arm-openwrt-linux-muslgnueabi on x86_64-linux-gnu

2016-10-18 Thread Mahesh Nanavalla
Hi Gilles, Thanks for responding me. i did as mention previous mail ,but am getting below error as mpicc not found... *nmahesh@nmahesh-H81MLV3:~/Workspace/ARM_MPI/mpi$ /home/nmahesh/Workspace/ARM_MPI/openmpi/bin/mpicc -L/home/nmahesh/Workspace/ARM_MPI/openmpi/lib helloworld.c * *bash

Re: [OMPI users] openmpi-1.10.3 cross compile configure options for arm-openwrt-linux-muslgnueabi on x86_64-linux-gnu

2016-10-18 Thread Gilles Gouaillardet
You can try configure --host=arm... CC=gcc_cross_compiler CXX=g++_cross_compiler On Tuesday, October 18, 2016, Mahesh Nanavalla < mahesh.nanavalla...@gmail.com> wrote: > Hi all, > > How to cross compile *openmpi *for* arm *on* x86_64 pc.* > > *Kindly provide configure options for above...* > > Th

Re: [OMPI users] openmpi-1.10.3 cross compile configure options for arm-openwrt-linux-muslgnueabi on x86_64-linux-gnu

2016-10-18 Thread Kawashima, Takahiro
Hi, > How to cross compile *openmpi *for* arm *on* x86_64 pc.* > > *Kindly provide configure options for above...* You should pass your arm architecture name to the --host option. Example of my configure options for Open MPI, run on sparc64, built on x86_64: --prefix=... --host=sparc64-unk

Re: [OMPI users] openmpi-1.10.3 cross compile configure options for arm-openwrt-linux-muslgnueabi on x86_64-linux-gnu

2016-10-18 Thread Mahesh Nanavalla
Hi all, Thank you for responding me Below is my configure options... ./configure --enable-orterun-prefix-by-default --prefix="/home/nmahesh/Workspace/ARM_MPI/openmpi" \ CC=arm-openwrt-linux-muslgnueabi-gcc \ CXX=arm-openwrt-linux-muslgnueabi-g++ \ --host=arm-openwrt-linux-muslgnueabi \ -

Re: [OMPI users] openmpi-1.10.3 cross compile configure options for arm-openwrt-linux-muslgnueabi on x86_64-linux-gnu

2016-10-18 Thread Mahesh Nanavalla
Hi Gilles, Thank you for reply, After doing below config options also ./configure --enable-orterun-prefix-by-default --prefix="/home/nmahesh//home/nmahesh/Workspace/ARM_MPI/armmpi/openmpi" CC=arm-openwrt-linux-muslgnueabi-gcc CXX=arm-openwrt-linux-muslgnueabi-g++ --host=arm-openwrt-linux-muslgnu

Re: [OMPI users] openmpi-1.10.3 cross compile configure options for arm-openwrt-linux-muslgnueabi on x86_64-linux-gnu

2016-10-18 Thread Kawashima, Takahiro
Hi, You did *not* specify the following options to configure, right? Specifying all these will cause a problem. --disable-mmap-shmem --disable-posix-shmem --disable-sysv-shmem Please send the output of the following command. mpirun --allow-run-as-root -np 1 --mca shmem_base_verbose 100

Re: [OMPI users] openmpi-1.10.3 cross compile configure options for arm-openwrt-linux-muslgnueabi on x86_64-linux-gnu

2016-10-18 Thread Mahesh Nanavalla
Hi all it's working. I forget to copy all openmpi libs and bin to target board Now it's working fine... Thank u all. Thank u very much for your support root@OpenWrt:/# cp /openmpi/lib/libopen-rte.so.12 /usr/lib/ root@OpenWrt:/# cp /openmpi/lib/libopen-pal.so.13 /us

Re: [OMPI users] openmpi-1.10.3 cross compile configure options for arm-openwrt-linux-muslgnueabi on x86_64-linux-gnu

2016-10-19 Thread Mahesh Nanavalla
Hi all, can any one tell purpose and importance of *--disable-vt* *Thanks&Regards,* *Mahesh.N* On Wed, Oct 19, 2016 at 12:11 PM, Mahesh Nanavalla < mahesh.nanavalla...@gmail.com> wrote: > Hi all > > it's working. > > I forget to copy all openmpi libs and bin to target board > > Now

Re: [OMPI users] openmpi-1.10.3 cross compile configure options for arm-openwrt-linux-muslgnueabi on x86_64-linux-gnu

2016-10-19 Thread Gilles Gouaillardet
vt is a contrib that produces traces to be used by VaMPIr IIRC, this has been removed from Open MPI starting v2.0.0 Worst case scenario is it will fail to build, and most likely case is you do not need it, so you can save some build time with --disable-vet Cheers, Gilles On Wednesday, October 1

Re: [OMPI users] openmpi-1.10.3 cross compile configure options for arm-openwrt-linux-muslgnueabi on x86_64-linux-gnu

2016-10-19 Thread Mahesh Nanavalla
Hi Gilles, Thanks for reply, If i do *--disable-vt *while configuring the openmpi-1.10.3 , the size of the installation directory reduced 70MB to 9MB. will it effect anything? On Wed, Oct 19, 2016 at 4:06 PM, Gilles Gouaillardet < gilles.gouaillar...@gmail.com> wrote: > vt is a contr

Re: [OMPI users] openmpi-1.10.3 cross compile configure options for arm-openwrt-linux-muslgnueabi on x86_64-linux-gnu

2016-10-19 Thread Gilles Gouaillardet
You will not be able to generate VT traces, and since you unlikely want to do that, you will likely be just fine Cheers, Gilles On Wednesday, October 19, 2016, Mahesh Nanavalla < mahesh.nanavalla...@gmail.com> wrote: > Hi Gilles, > > Thanks for reply, > > If i do *--disable-vt *while configurin

Re: [OMPI users] openmpi-1.10.3 cross compile configure options for arm-openwrt-linux-muslgnueabi on x86_64-linux-gnu

2016-10-19 Thread Mahesh Nanavalla
k... Thank u very much for your quick reply. On Wed, Oct 19, 2016 at 4:38 PM, Gilles Gouaillardet < gilles.gouaillar...@gmail.com> wrote: > You will not be able to generate VT traces, and since you unlikely want to > do that, you will likely be just fine > > Cheers, > > Gilles > > On Wednes