Open MPI logo

Open MPI User's Mailing List Archives

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

From: Jeff Squyres \(jsquyres\) (jsquyres_at_[hidden])
Date: 2006-04-12 08:30:44


Greetings.

Your logs look normal.

The problem appears to be how you compiled / linked your final
executable. You said that you used -static -- I don't know offhand if
that is a supported flag for the intel compiler or not. Did you *link*
with -static, or just *compile* with it?

Try running "ldd" on your executable -- it will show which shared
libraries your executable links against.

I *think* that libcprts.so is a library internal to the Inter compiler
-- so even if icc supports "-static", this library may be exempted...?
(that's a total guess -- I'm not familiar with the internals of the
Intel compilers) If this is the case, you might try installing the
Intel compiler run-time libraries on all your nodes (this seems
unattractive, though).

Regardless, I don't think that this is an MPI problem -- you might want
to try playing around with compiling some simple [non-MPI] "hello world"
applications with your Intel compiler to figure out how to compile
things statically.

> -----Original Message-----
> From: users-bounces_at_[hidden]
> [mailto:users-bounces_at_[hidden]] On Behalf Of Aniruddha Shet
> Sent: Monday, April 10, 2006 10:06 PM
> To: users_at_[hidden]
> Subject: [OMPI users] Error while loading shared libraries
>
> Hi,
>
> I have built OpenMPI using ifort and icc Intel compilers
> with --enable-static --disable-shared options. I compile my job using
> OpenMPI wrapper compilers, additionally with -static option.
> When I run the
> job, I get the error 'orted:error while loading shared libraries:
> libcprts.so.5: cannot open shared object file: No such file
> or directory'. I
> also have the path of Intel compiler libraries in
> LD_LIBRARY_PATH. Please
> find attached a tar file having config.log and ompi_info output.
>
> Thanks,
> Aniruddha
> --------------------------------------------------------------
> --------------------
> Aniruddha Shet | Project webpage:
> http://forge-fre.ornl.gov/molar/index.html
> Graduate Research Associate | Project webpage: www.cs.unm.edu/~fastos
> Dept. of Comp. Sci. & Engg | Personal webpage:
> www.cse.ohio-state.edu/~shet
> The Ohio State University | Office: DL 474
> 2015 Neil Avenue | Phone: +1 (614) 292 7036
> Columbus OH 43210-1277 | Cell: +1 (614) 446 1630
> --------------------------------------------------------------
> --------------------
>