[kepler-users] Monitoring Workflow

Christopher Brooks cxh at eecs.berkeley.edu
Wed May 17 13:36:47 PDT 2006


Hi Mohana,

How would you notify the user of the failure?  By sending email?

How would an actor restart from the step that failed?  Do you mean
restarting a simulation from the global state just before the failure?
In general, this is hard and not supported.  Ptolemy II does have some new
experimental backtracking code, but it does not checkpoint the entire
simulation.

In Ptolemy we call this lifecycle management.  The Ptolemy II 5.0 
release notes say:
--start--
# Higher Order Components: ExecDemos (see also IterateOverArray).
(http://ptolemy/ptolemyII/ptII5.0/ptII5.0.1/ptolemy/actor/lib/hoc/demo/IterateOverArray/IterateOverArray.htm
or $PTII/ptolemy/actor/lib/hoc/demo/IterateOverArray/IterateOverArray.htm)

The higher-order component capabilities of Ptolemy II continue to
evolve. The ExecDemos model, when executed, starts a new Java virtual
machine that then executes the RunDemos model, which runs all demos in
a specified directory using full-screen mode. This illustrates how to
use higher-order actors to control the lifecylcle of other Ptolemy II
models. This example can be set up to automatically and repeatedly run
demos unattended by following the instructions in the README.txt
file. The new higher-order actors include:

    * ApplyFilterOverArray
    * ApplyFunction
    * ApplyFunctionOverSequence
    * IterateOverArray 
--end--

You could also look ptolemy/actor/lib/ThrowModelError.java, which
throws an exception that can then be caught by a container.

_Christopher

Christopher Brooks (cxh at eecs berkeley edu) University of California
Programmer/Analyst Chess/Ptolemy/Trust        US Mail: 558 Cory Hall #1770
ph: 510.643.9841 fax:510.642.2739	      Berkeley, CA 94720-1770
home: (F-Tu) 707.665.0131 (W-F) 510.655.5480  (office: 400A Cory)



Dan writes:
--------

    Hi,
        The 'Listen to Director' menu item under the 'Tools' menu is  
    sometimes useful for obtaining information about where a workflow fails. 
    Currently there is no restart mode that I know of (although we have 
    discussed the need for such a thing).
    
    Dan
    
    Mohana Ramaratnam wrote:
    > Hello,
    >
    > Is there a workflow monitor that already exists. What I mean by that is:
    >
    > I have designed a workflow and for some reason a step in that flow 
    > fails. Is kepler/director capable of notifying that the workflow failed 
    > and also is there a recovery mode where kepler/actor can restart from 
    > the step which failed.
    >
    > Mohana
    > _______________________________________________
    > Kepler-users mailing list
    > Kepler-users at ecoinformatics.org
    > http://mercury.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/kepler-user
   s
    >   
    
    
    -- 
    *******************************************************************
    Dan Higgins                                  higgins at nceas.ucsb.edu
    http://www.nceas.ucsb.edu/    Ph: 805-893-5127
    National Center for Ecological Analysis and Synthesis (NCEAS) Marine Scienc
   e Building - Room 3405
    Santa Barbara, CA 93195
    *******************************************************************
    
    
    _______________________________________________
    Kepler-users mailing list
    Kepler-users at ecoinformatics.org
    http://mercury.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/kepler-users
--------


More information about the Kepler-users mailing list