<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">Is there a better way??</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 6, 2013 at 3:40 PM, Wesley Bland <span dir="ltr"><<a href="mailto:wbland@mcs.anl.gov" target="_blank">wbland@mcs.anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">That's true and for most smallish clusters, that's how people use it.<div><div class="h5">
<div><br><div><div>On Jun 6, 2013, at 11:09 AM, Alejandro Allievi <<a href="mailto:alejandro.allievi@gmail.com" target="_blank">alejandro.allievi@gmail.com</a>> wrote:</div><br><blockquote type="cite"><div dir="ltr">
<div class="gmail_default" style="font-family:tahoma,sans-serif">Hi Wesley,</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">
Just to clarify myself: provided our NFS mirrors my home directory and that <span style="font-size:13px;font-family:arial,sans-serif">LD_LIBRARY_PATH is set correctly, the dynamic compile/link step for the user (me) is the same as for static </span><span style="font-family:arial,sans-serif;font-size:13px">compile/link</span><span style="font-family:arial,sans-serif;font-size:13px">??</span></div>
<div class="gmail_default" style="font-family:tahoma,sans-serif"><span style="font-size:13px;font-family:arial,sans-serif"><br></span></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><div class="gmail_default">
Thanks again Wesley!!</div><div><br></div><div>Alejandro</div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 6, 2013 at 11:15 AM, Wesley Bland <span dir="ltr"><<a href="mailto:wbland@mcs.anl.gov" target="_blank">wbland@mcs.anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="#FFFFFF"><div>It depends on whether you are linking your library statically or dynamically. If you are linking statically, the linker puts everything in one executable that is sent to all of the nodes. If you do it dynamically, you need to make sure your libraries are available on all of the nodes you will be using (usually by using something like NFS to mirror your home directory across the cluster. You will also need to make sure your environment is set up correctly to allow the libraries to be found on the remote process, usually via an environment variable such as LD_LIBRARY_PATH. </div>
<div><br></div><div>Wesley<div><div><br><br>On Jun 6, 2013, at 6:18 AM, Alejandro Allievi <<a href="mailto:alejandro.allievi@gmail.com" target="_blank">alejandro.allievi@gmail.com</a>> wrote:<br><br></div>
</div></div><div><div><div></div><blockquote type="cite"><div dir="ltr">H<div class="gmail_default" style="font-family:tahoma,sans-serif;display:inline">i </div><div><font face="tahoma, sans-serif"><br></font><div>
<div class="gmail_default" style="font-family:tahoma,sans-serif;display:inline">
When linking to personal libraries using MPICH2, how does each process access them in a distributed environment?? Does the linker actually </div><span style="line-height:19.18402862548828px;font-size:13.333333969116211px;font-family:sans-serif">combines <div class="gmail_default" style="font-family:tahoma,sans-serif;display:inline">
everything </div>into a single<div class="gmail_default" style="font-family:tahoma,sans-serif;display:inline"> executable </div></span><span style="line-height:19.18402862548828px;font-size:13.333333969116211px;font-family:sans-serif">program<div class="gmail_default" style="font-family:tahoma,sans-serif;display:inline">
and "sends a copy" of entire executable to each process even though not all processes may use the libraries?? Can somebody shed some light on the entire linking process??</div></span></div><div><span style="line-height:19.18402862548828px;font-size:13.333333969116211px;font-family:sans-serif"><div class="gmail_default" style="font-family:tahoma,sans-serif;display:inline">
<br></div></span></div><div><div class="gmail_default" style="font-family:tahoma,sans-serif;display:inline">Thanks for any help!!</div></div><div><div class="gmail_default" style="font-family:tahoma,sans-serif;display:inline">
<br></div></div><div><div class="gmail_default" style="font-family:tahoma,sans-serif;display:inline">Alejandro</div></div></div></div>
</blockquote></div></div><blockquote type="cite"><span>_______________________________________________</span><br><span>discuss mailing list <a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a></span><br>
<span>To manage subscription options or unsubscribe:</span><br><span><a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a></span></blockquote>
</div><br>_______________________________________________<br>
discuss mailing list <a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a><br>
To manage subscription options or unsubscribe:<br>
<a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><font color="#006600" size="1" face="comic sans ms,sans-serif">Alejandro Allievi</font></div>
<div><a href="http://www.ace-net.ca/wiki/Alejandro_Allievi" rel="nofollow" target="_blank"><font size="1" face="comic sans ms,sans-serif">http://www.ace-net.ca/wiki/Alejandro_Allievi</font></a><font size="1" face="comic sans ms,sans-serif"> </font></div>
<div><font size="1" face="comic sans ms,sans-serif"> </font></div><div><font color="#006600" size="1" face="comic sans ms,sans-serif">"Tenez, mon ami, si vous y pensez bien, vous trouverez qu'en tout, notre véritable sentiment n'est pas celui dans lequel nous n'avons jamais vacillé; mais celui auquel nous sommes le plus habituellement revenus". Denis Diderot. </font></div>
<div><font color="#006600" size="1" face="comic sans ms,sans-serif"> </font></div><div><font color="#006600" size="1" face="comic sans ms,sans-serif">Este e-mail esta consignado sólo para el destinatario designado en el mismo y puede contener información confidencial y privilegiada. Su distribución o copiado está prohibido. Si Usted no fuera el destinatario designado, por favor notifíquenos de inmediato y destruya este e-mail en forma permanente así como todas las copias del mismo. <u>Ce courriel peut renfermer des renseignements confidentiels et privilégiés et s'adresse au destinataire désigné seulement. La distribution ou la copie de ce courriel est interdit. Si vous n'êtes pas le destinataire désigné, veuillez nous en aviser immédiatement et détruire de façon permanente ce courriel ainsi que toute copie de celui-ci</u>. This e-mail may contain confidential information, and is intended only for the named recipient and may be privileged. Distribution or copying of this email is prohibited. If you are not the named recipient, please notify us immediately and permanently destroy this email and all copies of it.</font></div>
</div>
_______________________________________________<br>discuss mailing list <a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a><br>To manage subscription options or unsubscribe:<br><a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a></blockquote>
</div><br></div></div></div></div><br>_______________________________________________<br>
discuss mailing list <a href="mailto:discuss@mpich.org">discuss@mpich.org</a><br>
To manage subscription options or unsubscribe:<br>
<a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><font color="#006600" size="1" face="comic sans ms,sans-serif">Alejandro Allievi</font></div>
<div><a href="http://www.ace-net.ca/wiki/Alejandro_Allievi" rel="nofollow" target="_blank"><font size="1" face="comic sans ms,sans-serif">http://www.ace-net.ca/wiki/Alejandro_Allievi</font></a><font size="1" face="comic sans ms,sans-serif"> </font></div>
<div><font size="1" face="comic sans ms,sans-serif"> </font></div><div><font color="#006600" size="1" face="comic sans ms,sans-serif">"Tenez, mon ami, si vous y pensez bien, vous trouverez qu'en tout, notre véritable sentiment n'est pas celui dans lequel nous n'avons jamais vacillé; mais celui auquel nous sommes le plus habituellement revenus". Denis Diderot. </font></div>
<div><font color="#006600" size="1" face="comic sans ms,sans-serif"> </font></div><div><font color="#006600" size="1" face="comic sans ms,sans-serif">Este e-mail esta consignado sólo para el destinatario designado en el mismo y puede contener información confidencial y privilegiada. Su distribución o copiado está prohibido. Si Usted no fuera el destinatario designado, por favor notifíquenos de inmediato y destruya este e-mail en forma permanente así como todas las copias del mismo. <u>Ce courriel peut renfermer des renseignements confidentiels et privilégiés et s'adresse au destinataire désigné seulement. La distribution ou la copie de ce courriel est interdit. Si vous n'êtes pas le destinataire désigné, veuillez nous en aviser immédiatement et détruire de façon permanente ce courriel ainsi que toute copie de celui-ci</u>. This e-mail may contain confidential information, and is intended only for the named recipient and may be privileged. Distribution or copying of this email is prohibited. If you are not the named recipient, please notify us immediately and permanently destroy this email and all copies of it.</font></div>
</div>