Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] MPI Finalize
From: Tim Mattox (timattox_at_[hidden])
Date: 2008-09-19 19:49:06


This sounds like you have left a file open when using the MPI-2 I/O.
You need to MPI_File_close() any files you have opened.

On Fri, Sep 19, 2008 at 6:10 PM, Gabriele Fatigati <g.fatigati_at_[hidden]> wrote:
> Hi,
> i'm developing a C code under OpenMPI 1.2.5 with parallel I/O by MPI-2.
> I have a strange problem in the MPI_Finalize() routine. The code generates
> message reported below :
>
> *** An error occurred in MPI_Barrier
> *** after MPI was finalized
> *** MPI_ERRORS_ARE_FATAL (goodbye)
>
> In my code, i don't use MPI_Barrier. So, this error is caused by internal
> MPI_Barrier into MPI_Finalize. I've noted that if i disable MPI-2 I/O
> routine, application works well. Is there a strange effect of MPI_Finalize
> under MPI2 related MPI_File_open, MPI_File_close, MPI_File_Reat_at routines?
>
>
> --
> Gabriele Fatigati
>
> CINECA Systems & Tecnologies Department
>
> Supercomputing Group
>
> Via Magnanelli 6/3, Casalecchio di Reno (BO) Italy
>
> www.cineca.it Tel: +39 051 6171722
>
> g.fatigati_at_[hidden]
>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users

-- 
Tim Mattox, Ph.D. - http://homepage.mac.com/tmattox/
 tmattox_at_[hidden] || timattox_at_[hidden]
    I'm a bright... http://www.the-brights.net/