Re: [OMPI users] Redusing libmpi.so size....

2016-11-07 Thread Dave Love
Mahesh Nanavalla writes: > 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

Re: [OMPI users] Redusing libmpi.so size....

2016-11-02 Thread George Bosilca
Gilles is right, the script shows only what is used right after MPI_Init, and it will disregard some of the less mainstreams type of modules, the ones that are dynamically loaded as needed during the execution. It also only shows only what is related to libmpi, and ignores everything related to

Re: [OMPI users] Redusing libmpi.so size....

2016-11-01 Thread Gilles Gouaillardet
Did you strip the libraries already ? the script will show the list of frameworks and components used by MPI helloworld. from that, you can deduce a list of components that are not required, exclude them via the configure command line, and rebuild a trimmed Open MPI. note this is pretty

Re: [OMPI users] Redusing libmpi.so size....

2016-11-01 Thread Mahesh Nanavalla
HI George, Thanks for reply, By that above script ,how can i reduce* libmpi.so* size. On Tue, Nov 1, 2016 at 11:27 PM, George Bosilca wrote: > Let's try to coerce OMPI to dump all modules that are still loaded after > MPI_Init. We are still having a superset of the

Re: [OMPI users] Redusing libmpi.so size....

2016-11-01 Thread George Bosilca
Let's try to coerce OMPI to dump all modules that are still loaded after MPI_Init. We are still having a superset of the needed modules, but at least everything unnecessary in your particular environment has been trimmed as during a normal OMPI run. George. PS: It's a shell script that needs ag

Re: [OMPI users] Redusing libmpi.so size....

2016-11-01 Thread Jeff Squyres (jsquyres)
Run ompi_info; it will tell you all the plugins that are installed. > On Nov 1, 2016, at 2:13 AM, Mahesh Nanavalla > wrote: > > Hi Jeff Squyres, > > Thank you for your reply... > > My problem is i want to reduce library size by removing unwanted plugin's. > >

Re: [OMPI users] Redusing libmpi.so size....

2016-11-01 Thread Mahesh Nanavalla
Hi all, Thank you for your reply... My problem is i want to *reduce library* size by removing unwanted plugin's. Here *libmpi.so.12.0.3 *size is 2.4MB. How can i know what are the* pluggin's *included to* build the* *libmpi.so.12.0.3* and how can remove. Thanks, Mahesh N On Tue, Nov 1, 2016

Re: [OMPI users] Redusing libmpi.so size....

2016-11-01 Thread Mahesh Nanavalla
Hi Jeff Squyres, Thank you for your reply... My problem is i want to *reduce library* size by removing unwanted plugin's. Here *libmpi.so.12.0.3 *size is 2.4MB. How can i know what are the* pluggin's *included to* build the* *libmpi.so.12.0.3* and how can remove. Thanks, Mahesh N On Fri, Oct

Re: [OMPI users] Redusing libmpi.so size....

2016-10-28 Thread Jeff Squyres (jsquyres)
On Oct 28, 2016, at 8:12 AM, Mahesh Nanavalla wrote: > > 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

Re: [OMPI users] Redusing libmpi.so size....

2016-10-28 Thread Mahesh Nanavalla
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

[OMPI users] Redusing libmpi.so size....

2016-10-28 Thread Mahesh Nanavalla
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.