Hi Gilles, Thanks for reply....
i have configured as below for arm ./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 --enable-script-wrapper-compilers --disable-mpi-fortran* --enable-dlopen* --enable-shared --disable-vt --disable-java --disable-libompitrace --disable-static While i am running the using mpirun am getting following errror.. root@OpenWrt:~# /usr/bin/mpirun --allow-run-as-root -np 1 /usr/bin/openmpiWiFiBulb -------------------------------------------------------------------------- Sorry! You were supposed to get help about: opal_init:startup:internal-failure But I couldn't open the help file: /home/nmahesh/Workspace/ARM_MPI/openmpi/share/openmpi/help-opal-runtime.txt: No such file or directory. Sorry! kindly guide me... On Fri, Oct 28, 2016 at 5:34 PM, Mahesh Nanavalla < mahesh.nanavalla...@gmail.com> wrote: > Hi Gilles, > > Thanks for reply.... > > i have configured as below for arm > > ./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 --enable-script-wrapper-compilers > --disable-mpi-fortran* --enable-dlopen* --enable-shared --disable-vt > --disable-java --disable-libompitrace --disable-static > > While i am running the using mpirun > am getting following errror.. > root@OpenWrt:~# /usr/bin/mpirun --allow-run-as-root -np 1 > /usr/bin/openmpiWiFiBulb > -------------------------------------------------------------------------- > Sorry! You were supposed to get help about: > opal_init:startup:internal-failure > But I couldn't open the help file: > > /home/nmahesh/Workspace/ARM_MPI/openmpi/share/openmpi/help-opal-runtime.txt: > No such file or directory. Sorry! > > > kindly guide me... > > On Fri, Oct 28, 2016 at 4:36 PM, Gilles Gouaillardet < > gilles.gouaillar...@gmail.com> wrote: > >> Hi, >> >> i do not know if you can expect same lib size on x86_64 and arm. >> x86_64 uses variable length instructions, and since arm is RISC, i >> assume instructions are fixed length, and more instructions are >> required to achieve the same result. >> also, 2.4 MB does not seem huge to me. >> >> anyway, make sure you did not compile with -g, and you use similar >> optimization levels on both arch. >> you also have to be consistent with respect to the --disable-dlopen option >> (by default, it is off, so all components are in >> /.../lib/openmpi/mca_*.so. if you configure with --disable-dlopen, all >> components are slurped into lib{open_pal,open_rte,mpi}.so, >> and this obviously increases lib size. >> depending on your compiler, you might be able to optimize for code >> size (vs performance) with the appropriate flags. >> >> last but not least, strip your libs before you compare their sizes. >> >> Cheers, >> >> Gilles >> >> On Fri, Oct 28, 2016 at 3:17 PM, Mahesh Nanavalla >> <mahesh.nanavalla...@gmail.com> wrote: >> > Hi all, >> > >> > I am using openmpi-1.10.3. >> > >> > openmpi-1.10.3 compiled for arm(cross compiled on X86_64 for openWRT >> linux) >> > libmpi.so.12.0.3 size is 2.4MB,but if i compiled on X86_64 (linux) >> > libmpi.so.12.0.3 size is 990.2KB. >> > >> > can anyone tell how to reduce the size of libmpi.so.12.0.3 compiled for >> > arm. >> > >> > Thanks&Regards, >> > Mahesh.N >> > >> > >
_______________________________________________ users mailing list users@lists.open-mpi.org https://rfd.newmexicoconsortium.org/mailman/listinfo/users