Newsgroups: comp.parallel.mpi
From: Chuang Liang-Shing <shing@cm1.hinet.net>
Subject: Re: [HELP]MPI_INIT problem!
Organization: DCI HiNet
Date: Fri, 24 Apr 1998 23:53:50 +0800
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <3540B58E.7C1D252A@cm1.hinet.net>

Erik,
  Yes, I have passed  the argument ierr.

Erik Demaine wrote:

> Chuang Liang-Shing <shing@cm1.hinet.net> wrote:
> :    I got a problem as called MPI_INIT in my Fortran program.I have
> : installed MPICH1.1 and compiled it with gcc2.7.2.3.But, I use absoft's
> : Fortran to compile my Frortran program. After successfully compiled my
> : program with mpif77, I tried to run it with mpirun and I got a core
> : dump. Besides, I have no problem with C program.
>
> A very simple (but common) error: did you pass an integer argument ierr
> to MPI_INIT?  If you didn't, the program will naturally seg fault.
>
> Sorry if this is trivial.
> Erik
> --
> Erik Demaine              \(  e-mail: eddemain@daisy.uwaterloo.ca (PGP avail.)
> Dept. of Computer Science  \) URL: http://daisy.uwaterloo.ca/~eddemain/
> University of Waterloo     (\  "I don't know why; it seems to be harder to lie
> Waterloo, ON Canada N2L 3G1 )\  to other people than yourself." -Neil Robertson






