[kepler-dev] Running workflows from command-line
Norbert Podhorszki
pnorbert at ornl.gov
Mon Feb 23 09:24:32 PST 2009
Hi,
I have checked out and compiled kepler-trunk according to
https://dev.kepler-project.org/developers/teams/build/systems/build-system/e
xtension-build-system
I need to run workflows from command-line, without gui. The build xml
contains a target exactly for this, however, this does not work:
podhorszki:~/Kepler/kepler/modules/build-area pnb$ ant run-workflow-no-gui
TestIfKeplerCanStartUp.xml
Buildfile: build.xml
run-workflow-no-gui:
[run] Command failed: java.lang.ArrayIndexOutOfBoundsException: 0
[run] java.lang.ArrayIndexOutOfBoundsException: 0
[run] at
ptolemy.moml.MoMLSimpleApplication.main(MoMLSimpleApplication.java:208)
[run] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[run] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
[run] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
[run] at java.lang.reflect.Method.invoke(Method.java:585)
[run] at org.kepler.loader.Kepler.load(Kepler.java:207)
[run] at org.kepler.loader.Kepler.load(Kepler.java:230)
[run] at org.kepler.loader.Kepler.main(Kepler.java:143)
[run] at org.kepler.core.loader.Loader.main(Loader.java:86)
BUILD FAILED
Target "TestIfKeplerCanStartUp.xml" does not exist in the project "kepler".
Total time: 7 seconds
It does not even starts up with gui:
podhorszki:~/Kepler/kepler/modules/build-area pnb$ ant run-workflow
TestIfKeplerCanStartUp.xml
Buildfile: build.xml
run-workflow:
[run] java.lang.Exception: Failed to parse "-conf
ptolemy/configs/kepler/ConfigGUIAndCache.xml"
[run] at
ptolemy.actor.gui.MoMLApplication.throwArgsException(MoMLApplication.java:58
4)
[run] at
ptolemy.actor.gui.MoMLApplication.<init>(MoMLApplication.java:245)
[run] at
ptolemy.actor.gui.MoMLApplication.<init>(MoMLApplication.java:155)
[run] at
ptolemy.actor.gui.PtExecuteApplication.<init>(PtExecuteApplication.java:106)
[run] at
ptolemy.actor.gui.PtExecuteApplication.main(PtExecuteApplication.java:149)
[run] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[run] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
[run] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
[run] at java.lang.reflect.Method.invoke(Method.java:585)
[run] at org.kepler.loader.Kepler.load(Kepler.java:207)
[run] at org.kepler.loader.Kepler.load(Kepler.java:230)
[run] at org.kepler.loader.Kepler.main(Kepler.java:143)
[run] at org.kepler.core.loader.Loader.main(Loader.java:86)
[run] Caused by: java.lang.Exception: No model specified.
[run] at
ptolemy.actor.gui.PtExecuteApplication._createEmptyConfiguration(PtExecuteAp
plication.java:209)
[run] at
ptolemy.actor.gui.MoMLApplication._parseArgs(MoMLApplication.java:1024)
[run] at
ptolemy.actor.gui.PtExecuteApplication._parseArgs(PtExecuteApplication.java:
244)
[run] at
ptolemy.actor.gui.MoMLApplication.<init>(MoMLApplication.java:215)
[run] ... 11 more
BUILD FAILED
/Users/pnb/Kepler/kepler/modules/build-area/build.xml:44:
/Users/pnb/Kepler/kepler/modules/build-area/build.xml:44: Java returned: 1
Had anyone success running workflows from command-line?
Thanks
Norbert
Norbert Podhorszki
------------------------------------------
Scientific Computing Group
National Center for Computational Sciences
Oak Ridge National Laboratory
Phone: (865) 574-7159
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mercury.nceas.ucsb.edu/kepler/pipermail/kepler-dev/attachments/20090223/da00d7bd/attachment-0001.html>
More information about the Kepler-dev
mailing list