[CPMD-list] Upon compilation of cpmd2cube...

Wolfram Quester wolfi at mittelerde.physik.uni-konstanz.de
Thu May 27 15:34:25 CEST 2004


Hi Adrian!
On Thu, May 27, 2004 at 03:11:45PM +0800, kohsj at ihpc.a-star.edu.sg wrote:
> Another observation that I'd like to make is that, in an attempt to delete the "cpmd2cube-v.0.1.1" folder, there's always this file ".nfsXXXXX" which is not deletable.  The reason for this "non-deletability" is that the suffixes "XXXXX" keeps changing in value upon deletion attempts.
> 
> My IT man suggested that it could probably be:
> 
> 
> "Since you are the one who create the folder, you shall have the right to
> remove anything in the folder. However, you claim that you delete the
> file and it come back again. This is mostly likely due to your program.
> You may have write a program and this program may need to write
> something in this folder everytime it is running and therefore the file
> come back after you delete it. I just make a guess and I do not have any
> evidence to support my point. Hope that clear your doubt."

No! files like .nfsXXXXX indicate that you are working in an nfs mounted
directory. Probably you a running program has a file open that you are
trying to delete.  The fact that you cannot remove this file is normal
behaviour, You shouldn't even be the owner of the file.
A discussion about .nfs files is sumarized at
http://www.netsys.com/sunmgr/1998-04/msg00123.html

I just quote a snippet:

<quote>
from the man page nfs(4P) (SunOS 4.1.3, but it is the same in Solaris 
2.x):
 
     When a file that is opened by a client is unlinked  (by  the
     server),  a  file with a name of the form .nfsXXX (where XXX
     is a number) is created by the client.  When the  open  file
     is  closed,  the  .nfsXXX  file  is  removed.  If the client
     crashes before the file can be closed, the .nfsXXX  file  is
     not removed.
</quote>

This file is not correlated to your cpmd2cube problem.

> 
> 
> Is there anything worthy of concern in the "Makefile"?  Seeking your kind advice :).  Thank you very much.
> 
> 
> Adrian.
> 
> P.S.     The machine I use is:  IBM p690 AIX 5L v5.1

BTW, the abstraction from nfs on one unix-like system to another is not
much, so most of the above mentioned posting is valid on AIX, too.

HTH,

Wolfi

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://cpmd.org/pipermail/cpmd-list/attachments/20040527/66e27dce/attachment.pgp 


More information about the CPMD-list mailing list