[mpich-discuss] statically linked mpiexec

Andy May MayAJ1 at cardiff.ac.uk
Mon Apr 7 05:47:01 CDT 2014


Hi,

Does anyone know if there is a supported or recommended way to build 
MPICH such that it's binaries (eg. mpiexec) are statically linked?

At present, post building I'm running:

cd src/pm/hydra
eval ./configure `./config.status --config` --disable-pci --disable-libxml2
make CCLD='$(CC) -all-static'

which just disables two cases where the static libraries aren't 
available, then links statically, but is there a better or correct way 
to do this?

Many thanks,

Andy



More information about the discuss mailing list