[GE users] Cleaning scratch files.

Craig Tierney ctierney at hypermall.net
Wed Jun 28 23:54:20 BST 2006


    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "ISO-8859-10" character set.  ]
    [ Some special characters may be displayed incorrectly. ]

Baudilio Tejerina wrote:
> Hi,
> 
> If in a parallel job, where several scratch files are created in the 
> respective local-node disks, the job is deleted (qdel), the scratch 
> files remain there. Is there any way to have 'sge' taking care of them 
> (automatically removed them)?
> 
> I've tried by inserting the appropriate 'rm' statement in the executing 
> script but, these only work if the jobs successfully finish, obviously.
> 

Add the rm statement in the job prologue.  That is guaranteed to run 
before every job, and and clean up the tmp space if there are stale files.

Craig


> Thanks for any help anyone might bring.
> 
> Regards.
> 
> Baudilio
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
> For additional commands, e-mail: users-help at gridengine.sunsource.net
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net




More information about the gridengine-users mailing list