<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi everybody!<br>
I'm having some problems using MPI_File functions. I made a very
simple program to test it after one of my users had some issues with
a more complicated program.<br>
<br>
This is the program I'm using:<br>
<br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<tt>#include "mpi.h" <br>
#include <stdio.h> <br>
<br>
int main(int argc, char **argv) <br>
{ <br>
MPI_File fh; <br>
<br>
MPI_Init(&argc,&argv); <br>
<br>
MPI_File_open(MPI_COMM_WORLD, "datafile", <br>
MPI_MODE_CREATE | MPI_MODE_RDWR, <br>
MPI_INFO_NULL, &fh); <br>
<br>
MPI_File_close(&fh); <br>
<br>
MPI_Finalize(); <br>
return 0; <br>
} </tt><br>
<br>
It just creates a shared file if it doesn't exist, and the closes
it.<br>
<br>
If I run this program with a PBS script only using one of my nodes
it works well, but if I use two nodes, it creates the file but
afterwards it just keeps running, and I have to kill it.<br>
<br>
I think this might has something to do with the NFS share that the
programs is using to create the file, but I don't really know. Could
it be a NFS locking issue?<br>
<br>
Thanks!<br>
</body>
</html>