From: Karl Young <kyoung@itsa.ucsf.edu>
Newsgroups: gnu.gcc,comp.lang.C++,comp.parallel.mpi,comp.sys.sun.misc
Subject: gcc and MPI on a Sun HPC 3500
Date: Mon, 10 May 1999 16:22:31 -0700
Organization: VA MRS Unit, UCSF
Message-Id: <37376A37.3B27E1B5@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 gnu.gcc:446 comp.parallel.mpi:5066 comp.sys.sun.misc:39004


I'm trying to write some C++ programs with calls to the MPI library on a
multiprocessor Sun system (HPC 3500). Because I need to link to some
libraries that have been compiled with gcc I need to compile my programs
under gcc 2.8.1. I am currently able to compile the programs but when I
try to run them I get an "Exec format error". Does anybody know what the
proper compiler flags to gcc are for linking to the Sun MPI library and
running in the multiprocessor environment ? Thanks in advance for any
tips (I'll try to summarize responses),

-- 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

