[kepler-users] Run kepler in command line

Matt Jones mbjones.89 at gmail.com
Thu Mar 3 13:46:21 PST 2011


And by the way, this is explained here:


https://kepler-project.org/developers/reference/executing-kepler-from-the-command-line

Near the bottom of the page, although the need to use kepler-console.bat on
windows for version 1.0.0 is a little side note at the bottom.

Matt

On Thu, Mar 3, 2011 at 12:43 PM, Matt Jones <mbjones.89 at gmail.com> wrote:

> Hi Fatemeh,
>
> Kepler 1.0.0 is obsolete, and has been deprecated for a long time. You
> should upgrade to kepler 2 (currently 2.1, but soon to be 2.2).
>
> Nevertheless, I got an old version of kepler 1.0.0 up and running on
> windows XP, and here's what I found.  First, in that version of Kepler, the
> kepler.exe is only used to launch the GUI application.  If you want to use
> it from the command line on windows you need to use "kepler-console.bat".  I
> created a simple workflow that outputs to a file, and was able to run it
> using:
>
> kepler-console.bat -runwf simplewf.xml
>
> When I did that, I saw some errors associated with the EcoGrid cache, but
> the workflow still ran fine to completion.  By disabling the EcoGrid cache,
> I was able to run it without errors using this:
>
> kepler-console.bat -runwf -nogui -nocache simplewf.xml
>
> Hope this helps,
>
> Matt
>
> On Wed, Mar 2, 2011 at 6:11 PM, Fatemeh Karimirad <karimirad80 at yahoo.com>wrote:
>
>> Dear Matt,
>>
>> Thank you very much for your reply. I am using kepler 1.0 on Windows XP.
>> Now I can run the workflow directly but when I call it from windows cmd with
>> the following command:
>> kepler.exe -runwf SP5Test.xml
>> or from my C program like this: system("kepler.exe -runwf SP5Test.xml");it says:
>> *Command failed
>> Failed to parse "-conf ptolemy/configs/kepler/ConfigGUIAndCache.xml
>> SP5Test.xml"*
>> Please let me know your idea.
>>
>> Regards,
>> Fatemeh
>> F at TeMeH |(@RiMiR@|)
>>
>> --- On *Tue, 1/3/11, Matt Jones <mbjones.89 at gmail.com>* wrote:
>>
>>
>> From: Matt Jones <mbjones.89 at gmail.com>
>> Subject: Re: [kepler-users] Run kepler in command line
>> To: "Fatemeh Karimirad" <karimirad80 at yahoo.com>
>> Cc: "kepler-users at kepler-project.org" <kepler-users at kepler-project.org>
>> Received: Tuesday, 1 March, 2011, 11:43 PM
>>
>>
>> For a little more information, the following works for me using Kepler
>> 2.1.0 on Mac OS X...
>>
>> First, open a workflow in the GUI from the commandline:
>>
>> ./kepler.sh
>> outreach-2.1.0/workflows/demos/getting-started/07-CommandLine_1.xml
>>
>> Second, execute the same workflow in the GUI and display the results:
>>
>> ./kepler.sh -runwf
>> outreach-2.1.0/workflows/demos/getting-started/07-CommandLine_1.xml
>>
>> Note that you can also use the -nogui commandline argument if you don't
>> want to use the GUI, but of course for that to work you need to make sure
>> the workflow outputs the results to someplace relevant like a file and
>> doesn't depend on graphical actors:
>>
>> ./kepler.sh -runwf
>> outreach-2.1.0/workflows/demos/getting-started/07-CommandLine_1.xml -nogui
>>
>> Hope this helps.
>>
>> Matt
>>
>> On Tue, Mar 1, 2011 at 7:33 PM, Matt Jones <mbjones.89 at gmail.com<http://mc/compose?to=mbjones.89@gmail.com>
>> > wrote:
>>
>> What operating system are you on, and what version of Kepler are you
>> using? On MacOSX and Linux you probably should be using kepler.sh, while on
>> windows it would be kepler.bat. If you provide more details on OS and
>> version I'll try to reproduce the issue and might have more feedback.
>>
>> Matt
>>
>>
>> On Mar 1, 2011, at 5:19 PM, Fatemeh Karimirad <karimirad80 at yahoo.com<http://mc/compose?to=karimirad80@yahoo.com>>
>> wrote:
>>
>>  Hi,
>>
>> I need to run kepler in command line but when I enter "kepler
>> workflow.xml" in the command line it says:
>> Command failed
>> Arguments: -kepler workflow.xml
>> Faild to pars "-kepler workflow.xml"
>>
>> Does anyone have any idea what's wrong?
>>
>> Thanks,
>> Fatemeh
>>
>> F at TeMeH |(@RiMiR@|)
>>
>>
>> _______________________________________________
>> Kepler-users mailing list
>> Kepler-users at kepler-project.org<http://mc/compose?to=Kepler-users@kepler-project.org>
>> http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users
>>
>>
>>
>>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-users/attachments/20110303/b65de684/attachment.html>


More information about the Kepler-users mailing list