<div dir="ltr">Hi all,<div><br></div><div>I have an MPI program which runs well with -np 1, but when I try to run it in parallel (-np 2), it crashes with the message:</div><div><br></div><div>&quot;error while loading shared libraries: libcode_unified.so.2: cannot open shared object file: No such file or directory</div>
<div>p0_26145: &nbsp;p4_error: Child process exited while making connection to remote process on &lt;hostname&gt;: 0</div><div>p0_26145: (2.105343) net_send: could not write to fd=4, errno = 32&quot;</div><div><br></div><div>libcode_unified.so.2 is a library that my program needs in order to run.<br>
</div><div><br></div><div>I read that this is related to the&nbsp;LD_LIBRARY_PATH, but I am sure that my environment is set correctly. I have it exported in .bash_profile which I believe works for non-interactive logins. I have also wrote small test programs to echo the value of&nbsp;LD_LIBRARY_PATH and these display the correct path to find the library&nbsp;file. My small test programs (that don&#39;t use libraries) also run well in parallel.</div>
<div><br></div><div>Does anyone have any ideas?</div><div><br></div><div><br></div><div>Thanks,</div><div>Alex Loh.</div></div>