<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>tricks for avioding locking problems</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1505" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=618462421-21062005><FONT face=Arial
color=#0000ff size=2>One way to avoid this problem is to not use NFS
:-).</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=618462421-21062005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=618462421-21062005><FONT face=Arial
color=#0000ff size=2>Do you have the lockd daemon running on all
nodes?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=618462421-21062005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=618462421-21062005><FONT face=Arial
color=#0000ff size=2>Rajeev</FONT></SPAN></DIV><BR>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> owner-mpich-discuss@mcs.anl.gov
[mailto:owner-mpich-discuss@mcs.anl.gov] <B>On Behalf Of </B>Foucar, James
G<BR><B>Sent:</B> Tuesday, June 21, 2005 4:12 PM<BR><B>To:</B>
mpich-discuss@mcs.anl.gov<BR><B>Subject:</B> [MPICH] tricks for avioding
locking problems<BR></FONT><BR></DIV>
<DIV></DIV><!-- Converted from text/plain format -->
<P><FONT size=2>Hello,<BR><BR>I was wondering if any of you know of ways to
avoid the following error:<BR><BR>> File locking failed in ADIOI_Set_lock.
If the file system is NFS, you<BR>> need to use NFS version 3 and mount the
directory with the 'noac' option<BR>> (no attribute caching).<BR>> [0]
MPI Abort by user Aborting program !<BR>> [0] Aborting program!<BR>>
p0_928: p4_error: : 1<BR>> exit 1<BR><BR>This error, and similar
errors, have popped up randomly on all many file systems, regardless of
whether they were mounted with attribute caching.<BR><BR>I have tried using
the MPI_MODE_UNIQUE_OPEN flag when opening files and some other tricks, but
nothing seems to get rid of this problem permanently on all the various
platforms that I need to support.<BR><BR>What I really need is a general way
to tell MPICH not to use any file locking or at least some way to avoid this
error.<BR><BR>Thanks!<BR>-Jim</FONT> </P></BLOCKQUOTE></BODY></HTML>