[GE users] how long exists jobs files?

ffoertter ffoertter at gmail.com
Wed Oct 20 21:46:50 BST 2010


I learn so much on this list.  One of the best lists I subscribe to :)

On Oct 20, 2010, at 3:33 PM, reuti wrote:

> Yep, such a prolog I referred to. But global or queue prologs will be  
> executed on the exechosts. So it might happen that two executing  
> prologs want to change the file at the same time. Hence some file  
> locking would be necessary to avoid such a situation. Depending on his  
> final procedure it could be easier to look for all the already closed  
> history files I suggested and collect the information to store it in a  
> new "accounting" file and delete the intermediate file after the  
> import. Then only one (the importing process on the qmaster node or  
> elsewhere) would write to this file.
> 
> Sending the information to a DB which is running on qmaster node  
> should be safe to be implemented.
> 
> -- Reuti
> 
> Von meinem iPod gesendet
> 
> Am 20.10.2010 um 22:09 schrieb ffoertter <ffoertter at gmail.com>:
> 
>> Couldn't he also write a script that get's run as a prolog to every  
>> job and writes to another another 'accounting' file or even a mysql  
>> DB.
>> 
>> 
>>> #!/bin/sh
>>> exec 3> /usr/sge/default/common/history/$JOB_ID.${SGE_TASK_ID/ 
>>> undefined/1}
>>> echo $SGE_STDOUT_PATH >&3
>>> echo $SGE_STDERR_PATH >&3
>>> echo $JOB_SCRIPT >&3
>>> exec 3>&-
>>> 
>>> 
>>> -- Reuti
>>> 
>>> 
>>>> -- Reuti
>>>> 
>>>> thank you
>>>> 
>>>> ------------------------------------------------------
>>>> http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=38&dsMessageId=288506
>>>> 
>>>> To unsubscribe from this discussion, e-mail: [users- 
>>>> unsubscribe at gridengine.sunsource.net].
>>>> 
>>> 
>>> ------------------------------------------------------
>>> http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=38&dsMessageId=288637
>>> 
>>> To unsubscribe from this discussion, e-mail: [users- 
>>> unsubscribe at gridengine.sunsource.net].
>> 
>> ------------------------------------------------------
>> http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=38&dsMessageId=288695
>> 
>> To unsubscribe from this discussion, e-mail: [users- 
>> unsubscribe at gridengine.sunsource.net].
>> 
> 
> ------------------------------------------------------
> http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=38&dsMessageId=288700
> 
> To unsubscribe from this discussion, e-mail: [users-unsubscribe at gridengine.sunsource.net].

------------------------------------------------------
http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=38&dsMessageId=288703

To unsubscribe from this discussion, e-mail: [users-unsubscribe at gridengine.sunsource.net].



More information about the gridengine-users mailing list