No , but after I did make and make install I checked whether it was statically built using the following command : file bin/mpiexec mpiexec: symbolic link to `mpiexec.hydra' Then I typed file bin/mpiexec.hydrampiexec.hydra: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, BuildID[sha1]=0xb4510fb70ac8047d9028dbafe2d43848140fe894, not stripped I don't understand why it is dynamically linked and not statically linked On Mon, Aug 10, 2015 at 6:13 AM, Balaji, Pavan <[email protected]> wrote:
Did you do make and make install?
-- Pavan
From: Doha Ehab Reply-To: "[email protected]" Date: Sunday, August 9, 2015 at 7:24 PM To: "[email protected]" Subject: [mpich-discuss] static building of mpich
Hello, i'm trying to cross compile mpich , I have extracted mpich-3.1.3 the I created a folder name build inside it . In order to statically build mpich I used the following commands:
export CC="/home/doha/buildroot-2015.02/output/host/usr/bin/arm-linux-gcc" export AR="/home/doha/buildroot-2015.02/output/host/usr/bin/arm-linux-ar" export CFLAGS="-march=armv5te -static -I/home/doha/buildroot-2015.02/output/host/usr/include/" export LDFLAGS="-L/home/doha/buildroot-2015.02/output/host/usr/lib/"
cc=/home/doha/buildroot-2015.02/output/host/usr/bin/arm-linux-gcc ./configure --prefix=/home/doha/mpich-3.1.3/build/ --host=arm-linux --disable-shared --with-pm=hydra --with-device=ch3:nemesis --disable-fortran
but nothing appears in the build folder while it shows no errors on the terminal
_______________________________________________ discuss mailing list [email protected] To manage subscription options or unsubscribe: https://lists.mpich.org/mailman/listinfo/discuss
_______________________________________________ discuss mailing list [email protected] To manage subscription options or unsubscribe: https://lists.mpich.org/mailman/listinfo/discuss