[mpich-discuss] statically linked mpiexec

Wesley Bland wbland at anl.gov
Mon Apr 7 07:17:59 CDT 2014


When you run the configure script, use --enable-static and that should take
care of what you're looking for.

On Monday, April 7, 2014, Andy May <MayAJ1 at cardiff.ac.uk> wrote:

> 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
> _______________________________________________
> discuss mailing list     discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20140407/fdf5438e/attachment.html>


More information about the discuss mailing list