Yes Reuti, the LD_LIBRARY_PATH is configured correctly.<div>I can use the software normally when logged into any node.</div><div><br></div><div>The problem is that when I Spawn another executable from my initial launcher program, the spawned executable does not see the environment that the launcher received.</div>
<div><br></div><div>Is there any portable way to pass the environment variables to Spawned processes?</div><div><br></div><div>I posted this question on stack overflow a few days ago: <a href="http://stackoverflow.com/questions/12252490/why-cant-and-environment-variable-be-seen-by-an-executable-if-it-is-run-on-two/12252584#comment16448588_12252584">http://stackoverflow.com/questions/12252490/why-cant-and-environment-variable-be-seen-by-an-executable-if-it-is-run-on-two/12252584#comment16448588_12252584</a></div>
<div><br></div><div>Best regards,</div><div>Marcelo</div><div><br><div class="gmail_quote">On 4 September 2012 14:00, <span dir="ltr"><<a href="mailto:mpich-discuss-request@mcs.anl.gov" target="_blank">mpich-discuss-request@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"><br>
Today's Topics:<br>
<br>
1. Re: hydra_pmi_proxy: error while loading shared libraries:<br>
libimf.so: cannot open shared object file: No such file or<br>
directory (Marcelo C. R. Melo)<br>
2. Re: hydra_pmi_proxy: error while loading shared libraries:<br>
libimf.so: cannot open shared object file: No such file or<br>
directory (Reuti)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Mon, 3 Sep 2012 15:33:03 -0300<br>
From: "Marcelo C. R. Melo" <<a href="mailto:melomcr@gmail.com">melomcr@gmail.com</a>><br>
To: <a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>
Subject: Re: [mpich-discuss] hydra_pmi_proxy: error while loading<br>
shared libraries: libimf.so: cannot open shared object file: No such<br>
file or directory<br>
Message-ID:<br>
<<a href="mailto:CAAO08KuiPENRYDY_aUx9KPeaESQZA5MwN18g%2BFQVjxT39co16w@mail.gmail.com">CAAO08KuiPENRYDY_aUx9KPeaESQZA5MwN18g+FQVjxT39co16w@mail.gmail.com</a>><br>
Content-Type: text/plain; charset=ISO-8859-1<br>
<br>
Hello to all,<br>
<br>
Has there been any advances in this topic? Any solutions found?<br>
<br>
I am having the exact same problem. When I ask for just one node, my<br>
software runs fine. If I ask for two or more, even though I just use<br>
one, I get the "missing library" error.<br>
<br>
I tried an "ssh node2 ls<br>
/opt/intel/composerxe-2011.3.174/compiler/lib/intel64/libimf.so >><br>
$log_file " inside my PBS script and the lib exists in a folder that<br>
the node can see.<br>
<br>
Best regards,<br>
<br>
Marcelo<br>
<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Mon, 3 Sep 2012 20:40:29 +0200<br>
From: Reuti <<a href="mailto:reuti@staff.uni-marburg.de">reuti@staff.uni-marburg.de</a>><br>
To: <a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>
Subject: Re: [mpich-discuss] hydra_pmi_proxy: error while loading<br>
shared libraries: libimf.so: cannot open shared object file: No such<br>
file or directory<br>
Message-ID:<br>
<<a href="mailto:57548BBE-C25F-4447-B33D-E3316DCA60E2@staff.uni-marburg.de">57548BBE-C25F-4447-B33D-E3316DCA60E2@staff.uni-marburg.de</a>><br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
Am 03.09.2012 um 20:33 schrieb Marcelo C. R. Melo:<br>
<br>
> Hello to all,<br>
><br>
> Has there been any advances in this topic? Any solutions found?<br>
><br>
> I am having the exact same problem. When I ask for just one node, my<br>
> software runs fine. If I ask for two or more, even though I just use<br>
> one, I get the "missing library" error.<br>
><br>
> I tried an "ssh node2 ls<br>
> /opt/intel/composerxe-2011.3.174/compiler/lib/intel64/libimf.so >><br>
> $log_file " inside my PBS script and the lib exists in a folder that<br>
> the node can see.<br>
<br>
Is the LD_LIBRARY_PATH also set in your ~/.bashrc that it can be loaded automatically when you `ssh` to the node?<br>
<br>
-- Reuti<br>
<br>
<br>
> Best regards,<br>
><br>
> Marcelo<br>
> _______________________________________________<br>
> mpich-discuss mailing list <a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>
> To manage subscription options or unsubscribe:<br>
> <a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>
<br>
<br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
mpich-discuss mailing list<br>
<a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>
<a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>
<br>
<br>
End of mpich-discuss Digest, Vol 48, Issue 1<br>
********************************************<br>
</blockquote></div><br></div>