Hi,

in your .bashrc, Open MPI environment (PATH and LD_LIBRARY_PATH) is set at the very end.

i do not know who invokes mpicc, but it is very likely invoked *before* the environment is set.

/* note this might not be the mpicc you expect */

i would first double check

~/OpenFOAM/OpenFOAM-v3.0+/etc/bashrc


note if you configure Open MPI with --enable-mpirun-prefix-by-default, you will not have to set LD_LIBRARY_PATH anymore.

Cheers,

Gilles

On 5/31/2016 5:03 AM, Blair Climenhaga wrote:
Hello Everyone,

I have attempted to upgrade my Open MPI to version 1.10.2 however after following the build steps on the FAQ page (https://www.open-mpi.org/faq/?category=building) I receive the following error at the top of every terminal I open, "mpicc: error while loading shared libraries: libopen-pal.so.13: cannot open shared object file: No such file or directory". I have attached a compressed folder (.zip) that helps explain step-by-step what I did during installation. If anyone could spot what I did wrong or what I should try next to fix this problem I would greatly appreciate the help. Thank you to everyone in advance.

All the best,
Blair


_______________________________________________
users mailing list
us...@open-mpi.org
Subscription: https://www.open-mpi.org/mailman/listinfo.cgi/users
Link to this post: 
http://www.open-mpi.org/community/lists/users/2016/05/29328.php

Reply via email to