[mpich-discuss] issues when writing a simple makefile to build MPI programs
clara
clarazhang at gmail.com
Sun Jun 26 18:38:39 CDT 2011
Thanks.
Can anyone give me a quick introduction about the functionality of
executable files below, which are generated by rebuilding mpich2 with
"--with-pm=hydra:gforker
--disable-faster CFLAGS=-m32 CXXFLAGS=-m32 FFLAGS=-m32 FCFLAGS=-m32
--enable-nmpi-as-mpi --enable-lib-depend --enable-shared" configuring
options:
bt2line
clogTOslog2
rlog_check_timeorder
check_callstack
hydra_nameserver
rlogprint
clog2_join
hydra_persist
rlog_print
clog2print
hydra_pmi_proxy
rlogTOslog2
clog2_print
jumpshot
slog2filter
clog2_repair
logconvertor
slog2navigator
clog2TOslog2
slog2print
clogprint
slog2updater
On Sat, Jun 25, 2011 at 1:19 PM, Pavan Balaji <balaji at mcs.anl.gov> wrote:
> Hi Clara,
>
> Even for a single node, Hydra is still the preferred process manager. For
> most platforms, you might be able to discard -lopa.
>
> Another trick you can do is to configure mpich2 with --enable-lib-depend
> and --enable-shared. This will still create multiple libraries, but
> libmpich.so will depend on libmpl.so and libopa.so, so these libraries will
> automatically get loaded when linked against libmpich.so. This trick is
> still experimental, and if things break you are on your own :-).
>
> Hope that helps.
>
> -- Pavan
>
>
> On 06/25/2011 12:12 PM, clara wrote:
>
>> I am doing some research about MPI implementation on a single node, so I
>> wish I can get a mpich2 with necessary libraries as little as possible.
>>
>> On Sat, Jun 25, 2011 at 1:08 PM, Pavan Balaji <balaji at mcs.anl.gov
>> <mailto:balaji at mcs.anl.gov>> wrote:
>>
>>
>> On 06/25/2011 11:39 AM, clara wrote:
>>
>> Are -lopa -lmpl necessory for building programs with mpich2 using
>> gforker process manager? Thanks.
>>
>>
>> Yes, they are needed. Also, is there a reason for you to use gforker
>> and not the default Hydra process manager?
>>
>>
>> -- Pavan
>>
>> --
>> Pavan Balaji
>> http://www.mcs.anl.gov/~balaji
>>
>>
>>
> --
> Pavan Balaji
> http://www.mcs.anl.gov/~balaji
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20110626/0a634f84/attachment.htm>
More information about the mpich-discuss
mailing list