Hi Fatemeh,<div><br></div><div>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).</div><div><br></div><div>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:</div>
<div><br></div><div>kepler-console.bat -runwf simplewf.xml</div><div><br></div><div>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:</div>
<div><br></div><div><meta charset="utf-8"><div>kepler-console.bat -runwf -nogui -nocache simplewf.xml</div><div><br></div><div>Hope this helps,</div><div><br></div><div>Matt</div><br><div class="gmail_quote">On Wed, Mar 2, 2011 at 6:11 PM, Fatemeh Karimirad <span dir="ltr"><<a href="mailto:karimirad80@yahoo.com">karimirad80@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td valign="top" style="font:inherit">Dear Matt,<br><br>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:<br>
<span style="font-weight:bold">kepler.exe -runwf SP5Test.xml</span><br>or from my C program like this: <span style="font-weight:bold">system("kepler.exe -runwf SP5Test.xml");</span> it says:<br><b>Command failed <br>
Failed to parse "-conf ptolemy/configs/kepler/ConfigGUIAndCache.xml SP5Test.xml"</b><br>Please let me know your idea.<br><br>Regards,<br>Fatemeh<br>F@TeMeH |(@RiMiR@|)<br><br>--- On <b>Tue, 1/3/11, Matt Jones <i><<a href="mailto:mbjones.89@gmail.com" target="_blank">mbjones.89@gmail.com</a>></i></b> wrote:<br>
<blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px"><br>From: Matt Jones <<a href="mailto:mbjones.89@gmail.com" target="_blank">mbjones.89@gmail.com</a>><br>Subject: Re: [kepler-users] Run kepler in
 command line<br>To: "Fatemeh Karimirad" <<a href="mailto:karimirad80@yahoo.com" target="_blank">karimirad80@yahoo.com</a>><br>Cc: "<a href="mailto:kepler-users@kepler-project.org" target="_blank">kepler-users@kepler-project.org</a>" <<a href="mailto:kepler-users@kepler-project.org" target="_blank">kepler-users@kepler-project.org</a>><br>
Received: Tuesday, 1 March, 2011, 11:43 PM<div><div></div><div class="h5"><br><br><div>For a little more information, the following works for me using Kepler 2.1.0 on Mac OS X...<div><br></div><div>First, open a workflow in the GUI from the commandline:</div>
<div><br></div><div>./kepler.sh outreach-2.1.0/workflows/demos/getting-started/07-CommandLine_1.xml</div>
<div><br></div><div>Second, execute the same workflow in the GUI and display the results:</div><div><br></div><div>./kepler.sh -runwf outreach-2.1.0/workflows/demos/getting-started/07-CommandLine_1.xml</div><div><br></div>

<div>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:</div>

<div><br></div><div>./kepler.sh -runwf outreach-2.1.0/workflows/demos/getting-started/07-CommandLine_1.xml -nogui</div><div><br></div><div>Hope this helps.</div><div><br></div><div>Matt<br><br><div>On Tue, Mar 1, 2011 at 7:33 PM, Matt Jones <span dir="ltr"><<a rel="nofollow" href="http://mc/compose?to=mbjones.89@gmail.com" target="_blank">mbjones.89@gmail.com</a>></span> wrote:<br>

<blockquote style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex"><div><div>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.</div>


<div><br></div><div>Matt<div><div></div><div><br><br>On Mar 1, 2011, at 5:19 PM, Fatemeh Karimirad <<a rel="nofollow" href="http://mc/compose?to=karimirad80@yahoo.com" target="_blank">karimirad80@yahoo.com</a>> wrote:<br>
<br></div></div>
</div><div><div></div><div><div></div><blockquote type="cite"><div><table border="0" cellpadding="0" cellspacing="0">
<tbody><tr><td style="font:inherit" valign="top">Hi,<br><br>I need to run kepler in command line but when I enter "kepler workflow.xml" in the command line it says: <br><span style="font-weight:bold">Command failed</span><br style="font-weight:bold">


<span style="font-weight:bold">Arguments: -kepler workflow.xml</span><br style="font-weight:bold"><span style="font-weight:bold">Faild to pars "-kepler workflow.xml"</span><br><br>Does anyone have any idea what's wrong?<br>


<br>Thanks,<br>Fatemeh<br><br>F@TeMeH |(@RiMiR@|)</td></tr></tbody></table><br>



       </div></blockquote></div></div><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Kepler-users mailing list</span><br><span><a rel="nofollow" href="http://mc/compose?to=Kepler-users@kepler-project.org" target="_blank">Kepler-users@kepler-project.org</a></span><br>


<span><a rel="nofollow" href="http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users" target="_blank">http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users</a></span><br></div></blockquote></div>
</blockquote></div><br></div>
</div></div></div></blockquote></td></tr></tbody></table><br>



       </blockquote></div><br></div>