From: Karl Young <kyoung@itsa.ucsf.edu>
Newsgroups: comp.parallel.mpi
Subject: MPI and shared object libraries
Date: Mon, 03 May 1999 13:13:23 -0700
Organization: VA MRS Unit, UCSF
Message-Id: <372E0363.111C3DFA@itsa.ucsf.edu>
Reply-To: kyoung@itsa.ucsf.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Xref: ukc comp.parallel.mpi:5021


Pardon the ignorant question but I didn't get much documentation re. our
Sun MPI implementation and I'm fairly new at this.

I tried to compile and run some code that uses MPI and that links to a
shared object library provided by a vendor. Both pieces of code (the
piece that only has the MPI calls and the piece that only uses the
shared object library) run fine. When I stick them together the code
compiles but when I run it I get an exec format error. My questions is:
it seems reasonable that MPI would have a problem with shared object
libraries (in whose memory space is the library code...); is that in
fact the case and should I try to get the vendor to provide me with a
static version of the library ? Also where I can get information on the
details of how and what I can link with the MPI library ?

Thanks for any info.

-- KY

Karl Young
UCSF,VA Medical Center
MRS Unit (114M)
4150 Clement Street
San Francisco, CA 94121

Email: kyoung@itsa.ucsf.edu
Phone: (415) 750-2158  lab
       (415) 750-9463  home
FAX:   (415) 668-2864

