<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>


        
        
        
        <style type="text/css">
        <!--
                @page { margin: 0.79in }
                P { margin-bottom: 0.08in }
        --</style>We have problem running a MPI program
in a LUSTRE machine (the same program works perfectly in an IBM
machine). When calling:
<p style="margin-bottom: 0in"><br>
</p>
<p style="margin-bottom: 0in">CALL MPI_FILE_WRITE_AT_ALL (IHT, MOFF,
BT, LDI*LDJ,               &
</p>
<p style="margin-bottom: 0in">     &                
MPI_DOUBLE_PRECISION, MPI_STATUS_IGNORE, IERR)
</p>
<p style="margin-bottom: 0in"><br>
</p>
<p style="margin-bottom: 0in">The program stops with the following
error message:</p>
<p style="margin-bottom: 0in"><br>
</p>
<p style="margin-bottom: 0in">File locking failed in
ADIOI_Set_lock(fd 13,cmd F_SETLKW/7,type F_WRLCK/1,whence 0) with
return value FFFFFFFF and errno 26.
</p>
<p style="margin-bottom: 0in">- If the file system is NFS, you need
to use NFS version 3, ensure that the lockd daemon is running on all
the machines, and mount the directory with the 'noac' option (no
attribute caching).
</p>
<p style="margin-bottom: 0in">- If the file system is LUSTRE, ensure
that the directory is mounted with the 'flock' option.
</p>
<p style="margin-bottom: 0in">ADIOI_Set_lock:: Function not
implemented
</p>
<p style="margin-bottom: 0in">ADIOI_Set_lock:offset 0, length
76236552
</p>
<p style="margin-bottom: 0in"><br>
</p>
<p style="margin-bottom: 0in">We have tried to solve it by calling
MPI_INFO_SET to try to enable/disable the file locking:</p>
<p style="margin-bottom: 0in"><br>
</p>
<p style="margin-bottom: 0in">      call mpi_info_create(info, ierr)
</p>
<p style="margin-bottom: 0in">      !call mpi_info_set(info,
"romio_ds_write", "disable", ierr)
</p>
<p style="margin-bottom: 0in">      !call mpi_info_set(info,
"romio_cb_write", "enable", ierr)
</p>
<p style="margin-bottom: 0in">      call
mpi_info_set(info,"romio_lustre_ds_in_coll","disable",ierr)
</p>
<p style="margin-bottom: 0in"><br>
</p>
<p style="margin-bottom: 0in">Nothing works! The program keeps
stopping with the very same error message! :-(</p>
<p style="margin-bottom: 0in"><br>
</p>
<p style="margin-bottom: 0in">Help please!!!</p>

<br>                                        </div></body>
</html>