Hi Gilles,

Firstly thank you so much for your response.

I moved the line "source ~/OpenFOAM/OpenFOAM-v3.0+/etc/bashrc" (a line required 
for a different program) to the bottom of the .bashrc file and the errors 
previously encountered have disappeared.

I ran a test case for different program using the new mpi external library and 
everything works great! Thanks for the help !

All the best,
Blair

To: us...@open-mpi.org
From: gil...@rist.or.jp
List-Post: users@lists.open-mpi.org
Date: Tue, 31 May 2016 09:12:36 +0900
Subject: Re: [OMPI users] System does not detect the files located in the "lib" 
directory


  
    
  
  
    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
    
    

  


_______________________________________________
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/29329.php                 
                       

Reply via email to