[kepler-dev] running kepler workflows from command line

Norbert Podhorszki pnorbert at cs.ucdavis.edu
Wed Nov 7 10:23:53 PST 2007


Eric,

You have a script kepler.bat or kepler.sh, in which the last line is
something like
   java -Xmx512m -Xss5m -DKEPLER=$KEP -DKEPLER_DOCS=$KEP -Djava.endorsed.dirs=$KEP/lib/jar/base-jars/apache -Djava.library.path=$KEP/lib org.kepler.gui.KeplerApplication -kepler $*

Replace the "org.kepler.gui.KeplerApplication -kepler $*" string with
    "ptolemy.actor.gui.MoMLSimpleApplication $*"
and give it a try. The other possibility is to replace it with
    "ptolemy.actor.gui.PtExecuteApplication $1 $2 $3 $4 $5"

Norbert



On Wed, 7 Nov 2007, Eric Magaha wrote:

> All I have is a file called kepler-1.0.0beta3-jre.exe.
>
> I used that to install kepler.  I did not see any of these ant scripts
> in my install directory.
>
> On Nov 7, 2007 12:38 PM, Matthew Jones <jones at nceas.ucsb.edu> wrote:
>> Yes.  You can use the build target 'autobat_sh' in ant to generate a
>> shell script which can be used to run Kepler from the command line
>> without the GUI.  Of course you have to design your workflow such that
>> it does not require GUI displays, but otherwise most workflows should
>> work fine.  We've used this for several projects.
>>
>> Matt
>>
>>
>> Eric Magaha wrote:
>>> Hi,
>>>
>>> Is it possible to run workflows without having the kepler/ptolemy
>>> thick client open?  Ideas are to run workflows daily using crontab.
>>>
>>> Thanks.
>>>
>>> Eric
>>> _______________________________________________
>>> Kepler-dev mailing list
>>> Kepler-dev at ecoinformatics.org
>>> http://mercury.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/kepler-dev
>>
>> --
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> Matthew B. Jones
>> Director of Informatics Research and Development
>> National Center for Ecological Analysis and Synthesis (NCEAS)
>> UC Santa Barbara
>> jones at nceas.ucsb.edu                       Ph: 1-907-523-1960
>> http://www.nceas.ucsb.edu/ecoinfo
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>
> _______________________________________________
> Kepler-dev mailing list
> Kepler-dev at ecoinformatics.org
> http://mercury.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/kepler-dev
>


      Norbert Podhorszki
    ------------------------------------
      University of California, Davis
      Department of Computer Science
      1 Shields Ave, 2236 Kemper Hall
      Davis, CA 95616
      (530) 752-5076
      pnorbert at cs.ucdavis.edu
      ----------------------------------


More information about the Kepler-dev mailing list