Thanks, listening on the environments gives me exactly what I wanted.

> On 20 May 2015, at 22:53, Romain Reuillon <[email protected]> wrote:
> 
> Yes, you could listen to the "job finished" event of the environment and 
> print the status of the environment:
> 
> (I just changed this namespace and redeployed the openmole bundles)
> import org.openmole.core.event._
> 
> env listen {
>  case (env, ev: JobCompleted) => print(env)
> }
> 
> Alternatively, you could listen to envets on the execution.
> 
> Romain
> 
> Le 20/05/2015 20:02, Andreas Schuh a écrit :
>> Hi,
>> 
>> I was wondering if it is possible to print the "submitted", "running",
>> "done", and "failed", values of a given environment at regular intervals
>> or after a specific task finished ?
>> 
>> My workflow output looks currently as follows and I would like to
>> include this information to have a better idea of the queue status:
>> 
>> [REPEAT 20/05/15 18:42.37] QSub: Registration for {regId=ireg-ffd,
>> parId=01, tgtId=1000, srcId=1009}
>> [REPEAT 20/05/15 18:42.37] QSub: Registration for {regId=ireg-ffd,
>> parId=01, tgtId=1000, srcId=1008}
>> [REPEAT 20/05/15 18:42.38] QSub: Registration for {regId=ireg-ffd,
>> parId=01, tgtId=1000, srcId=1007}
>> [REPEAT 20/05/15 18:42.38] QSub: Registration for {regId=ireg-ffd,
>> parId=01, tgtId=1000, srcId=1006}
>> [REPEAT 20/05/15 18:42.38] QSub: Registration for {regId=ireg-ffd,
>> parId=01, tgtId=1000, srcId=1002}
>> [REPEAT 20/05/15 18:42.38] QSub: Registration for {regId=ireg-ffd,
>> parId=01, tgtId=1000, srcId=1001}
>> 
>> Andreas
>> _______________________________________________
>> OpenMOLE-users mailing list
>> [email protected]
>> http://fedex.iscpif.fr/mailman/listinfo/openmole-users
> 
> 


_______________________________________________
OpenMOLE-users mailing list
[email protected]
http://fedex.iscpif.fr/mailman/listinfo/openmole-users

Reply via email to