Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] Regarding Fortran 90 subroutines with MPI
From: Eugene Loh (Eugene.Loh_at_[hidden])
Date: 2009-12-31 11:45:12

Eugene Loh wrote:

> It would help if you would include the error messages you encounter.
> You need to call MPI_Init(ierr) before you can call (just about) any
> other MPI call. E.g., add "call MPI_Init(ierr)" as the first
> executable statement of your "program prog".
> The error I get with your program is
> *** An error occurred in MPI_Comm_f2c
> *** before MPI was initialized
> *** MPI_ERRORS_ARE_FATAL (your MPI job will now abort)
> I suppose that message could be clearer.

I filed a request for a "minor enhancement". See