Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: [OMPI users] runtime warnings with MPI_File_write_ordered
From: Brian Austin (baustin_at_[hidden])
Date: 2008-07-17 15:25:14


Sorry about my previous message, it was sent before I'd finished composing

Whenever I use MPI_File_write_ordered(), all but one process send the
following message to stderr.
ADIOI_GEN_DELETE (line 22): **io No such file or directory

I have read
which suggests that this message appears because my program is trying to
delete a file that does not exist, but my program does not explicitly delete
any files. I've included a test program to demonstrate the message.

Is there anything I can do to avoid or suppress this message?
The message I referred to before says that I could "ignore errors from
MPI_File_delete". How do I do that?


main( int argc, char *argv[]){

  char buff[2] = "a";
  MPI_File fh;
  MPI_Status status;

  MPI_Init( &argc, &argv );

  MPI_File_open( MPI_COMM_WORLD, "foo.txt",
         MPI_INFO_NULL, &fh );

  MPI_File_write_ordered( fh, buff, 1, MPI_BYTE, &status );

  MPI_File_close( &fh );


  return 0;