Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: [OMPI users] Not pointing to correct libraries
From: Warnett, Jason (J.M.Warnett_at_[hidden])
Date: 2011-04-05 11:01:16


I am running on Linux, latest version of mpi built but I've run into a few issues with a program which I am trying to run. It is a widely used open source application called LIGGGHTS so I know the code works and should compile, so I obviously have a setting wrong with MPI. I saw a similar problem in a previous post (2007), but couldn't see how to resolve it as I am quite new to the terminal environment in Unix (always been windows... until now).

So the issue I am getting is the following error...

[Jay_at_Jay chute_wear]$ mpirun -np 1 lmp_fedora < in.chute_wear
lmp_fedora: error while loading shared libraries: cannot open shared object file: No such file or directory

So I checked where stuff was pointing using the ldd command as in that post and found the following: => (0x00d10000) => not found => not found => not found => not found => /lib/ (0x00cbe000) => /lib/ (0x007e6000) => /lib/ (0x009fa000) => /usr/lib/ (0x04a02000) => /lib/ (0x008a4000) => /lib/ (0x00110000) => /lib/ (0x00550000) => /lib/ (0x003b3000)
        /lib/ (0x00bfa000)

so it is the open mpi files it isn't linking to. How can i sort this? I shouldn't need to edit code of the executable of LIGGGHTS I've compiled as I know other people are using the same thing so I guess it is to do with the way I installed openMPI. I did a system search and couldn't find a file called libmpi* anywhere... so my guess is that I've incorrectly installed. I have tried several ways, but could you tell me how to fix it/ install correctly? (embaressing if it is to do with a correct install...)