Re: [kepler-users] Multiple users run multiple workflows on shared computer

2013-08-07 Thread Marcin Plociennik


Hi,

We have similar case, as you have and but we are running Kepler 2.3.
Please find below what is our procedure, that works for our 
applications/users.

I'm convinced others might give you better way to do it.

1. We are using central installation of the Kepler on the machine
2. We generate unique value for location of each instance of Kepler 
running for each user

export HOME=$USER_HOME/kepler_tmp/${UNIQUE_VALUE}
export KEPLER_NEW_HOME=${HOME}/${KEPLER_SHADOW_DIR_NAME}
3. We do symbolic links to the central installation in that temporary 
directory


4. We change configuration files to prevent mulitple kepler instances 
from using the same hsql DB
(every single instance of kepler will be using separated hsql database 
file)

(/common-2.3.0/resources/configurations/configuration.xml)
(/core-2.3.0/resources/configurations/configuration.xml )

5. We replace all necessary jars with provided kepler.jar with a patch
(there was one line needed to be patched in 2.3, I think it is not the 
case for 2.4, but I'm not sure)


6. We run each instance of Kepler like that:
java -Duser.home=${HOME} -classpath 
${KEPLER_NEW_HOME}/build-area/lib/ant.jar:${KEPLER_NEW_HOME}/kepler.jar 
org.kepler.build.runner.Kepler -runwf -nogui ${PARAMETERS} -dir_path 
${CURRENT_DIR}/ -nocache ${CURRENT_DIR}/${WORKFLOW_LOCATION}  
${CURRENT_DIR}/kepler.log


I hope this will help you.

regards
Marcin Plociennik

--
 Marcin Plociennik
Poznan Supercomputing and Networking Center

61-704 Poznan, ul. Noskowskiego 10 POLAND
phone (+48 61) 8582181
e-mail: marc...@man.poznan.pl




W dniu 2013-08-07 00:59, Lynch, Vickie E. pisze:

Hi,
We are developing a Kepler workflow for users that will run on a shared 
computer for many hours/days optimizing  models of experimental data.  Our 
requirement is for multiple users to run kepler workflows on a shared machine 
and those users run multiple workflows. We have made the changes on this 
webpage, https://kepler-project.org/developers/reference/accessing-hsql, so 
that kepler will run for multiple users, but now each user can only run one 
workflow at a time. Much time has been invested in developing a complicated 
workflow and we did not find this problem until two developers started running 
on the shared machine.  It is not mentioned in the user's manual.

Is there some way to turn off the HSQL database?  Will this problem be fixed in 
a future release?  Is there some workaround?


Vickie E. Lynch
Oak Ridge National Laboratory, PO Box 2008, Oak Ridge, TN 37831-6454
(865)250-4795, Bldg. 8600, Room C-509-F, MS6454, lync...@ornl.gov
___
Kepler-users mailing list
Kepler-users@kepler-project.org
http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users



___
Kepler-users mailing list
Kepler-users@kepler-project.org
http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users


Re: [kepler-users] Question about the Display actor and the composite class

2013-04-25 Thread Marcin Plociennik


Dear Daniel,
thanks it works with 2.4, while the problem exist in 2.3,
so it seams there are some bug fixes applied.

regards
Marcin

W dniu 2013-04-17 20:41, Daniel Crawl pisze:


Hi Marcin,

I saw a similar exception in Kepler 2.3 by putting a Display actor
inside a MultiInstanceComposite. However, this error does not occur
in Kepler 2.4.

Does the error occur for you with 2.4?

  --dan


On 4/17/13 3:18 AM, Marcin Plociennik wrote:


Hi,

I have following case:

1. I'm generating the Composite, putting just in and out port

2. Inside composite I'm connecting in and out,

3. I'm saving that composite to xml (so only the internal part of
composite) to place on the Kepler path

4. I'm editing the xml file and changing the entity to class for the
composite. That way as you know I can use that composite in many place,
and the changes would be applied to all the instances.

5. I can use that actor in the workflows , I can edit and add there
inside most of the actors including other composite, and it works

6. The only problem I have so far is with the Display Actor:

When I try to add it to such created composite I'm getting error that is
pasted below

I know maybe it is not standard way but, maybe you will know how to
solve that problem, or what is the reason for that

thanks in advance

regards

Marcin



ptolemy.kernel.util.InternalErrorException: Failed to initialize
implementation
   in .Unnamed1.test.Display
Because:
Attempt to insert object named _windowProperties into a container that
already contains an object with that name.
 at 
ptolemy.actor.lib.gui.Display._getImplementation(Display.java:396)

 at ptolemy.actor.lib.gui.Display.attributeChanged(Display.java:205)
 at 
ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:1992)

 at ptolemy.data.expr.Variable._evaluate(Variable.java:1646)
 at ptolemy.data.expr.Variable._propagate(Variable.java:1732)
 at ptolemy.data.expr.Variable.validate(Variable.java:1430)
 at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:808)
 at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
 at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
 at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1538)
 at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1510)
 at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1666)
 at 
ptolemy.moml.MoMLChangeRequest._execute(MoMLChangeRequest.java:289)
 at 
ptolemy.kernel.util.ChangeRequest.execute(ChangeRequest.java:171)

 at
ptolemy.kernel.util.NamedObj.executeChangeRequests(NamedObj.java:738)
 at ptolemy.kernel.util.NamedObj.requestChange(NamedObj.java:1778)
 at
ptolemy.actor.CompositeActor.requestChange(CompositeActor.java:1922)
 at
ptolemy.vergil.basic.EditorDropTargetListener.drop(EditorDropTargetListener.java:369) 



 at java.awt.dnd.DropTarget.drop(DropTarget.java:434)
 at
sun.awt.dnd.SunDropTargetContextPeer.processDropMessage(SunDropTargetContextPeer.java:519) 



 at
sun.awt.X11.XDropTargetContextPeer.processDropMessage(XDropTargetContextPeer.java:165) 



 at
sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchDropEvent(SunDropTargetContextPeer.java:832) 



 at
sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchEvent(SunDropTargetContextPeer.java:756) 



 at 
sun.awt.dnd.SunDropTargetEvent.dispatch(SunDropTargetEvent.java:30)

 at java.awt.Component.dispatchEventImpl(Component.java:4517)
 at java.awt.Container.dispatchEventImpl(Container.java:2097)
 at java.awt.Component.dispatchEvent(Component.java:4488)
 at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
 at
java.awt.LightweightDispatcher.processDropTargetEvent(Container.java:4310) 

 at 
java.awt.LightweightDispatcher.dispatchEvent(Container.java:4161)

 at java.awt.Container.dispatchEventImpl(Container.java:2083)
 at java.awt.Window.dispatchEventImpl(Window.java:2489)
 at java.awt.Component.dispatchEvent(Component.java:4488)
 at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:668)
 at java.awt.EventQueue.access$400(EventQueue.java:81)
 at java.awt.EventQueue$2.run(EventQueue.java:627)
 at java.awt.EventQueue$2.run(EventQueue.java:625)
 at java.security.AccessController.doPrivileged(Native Method)
 at
java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) 



 at
java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98) 



 at java.awt.EventQueue$3.run(EventQueue.java:641)
 at java.awt.EventQueue$3.run(EventQueue.java:639)
 at java.security.AccessController.doPrivileged(Native Method)
 at
java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) 



 at java.awt.EventQueue.dispatchEvent(EventQueue.java:638)
 at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269

[kepler-users] Problems with the kepler website

2013-04-09 Thread Marcin Plociennik


Hi,
it seams there are problems with Kepler website.
Can you please confirm if it works for you?

regards
Marcin

--
 Marcin Plociennik
Poznan Supercomputing and Networking Center

61-704 Poznan, ul. Noskowskiego 10 POLAND
phone (+48 61) 8582181
e-mail: marc...@man.poznan.pl

___
Kepler-users mailing list
Kepler-users@kepler-project.org
http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users


Re: [kepler-users] Tool for automatic generation of actors from C

2013-03-13 Thread Marcin Plociennik


Hi,
I'm attaching the links to the files mentioned by Tomek
http://scilla.man.poznan.pl:8080/confluence/pages/viewpageattachments.action?pageId=6554068

regards
Marcin

W dniu 2013-03-13 18:37, Phillip Trotter pisze:

Hi Tomasz,

This sounds  really useful and a good time saver.

Unfortunately looks like the non-text attachment was automatically removed from 
your email
.
Is there a download URL?

Very much look forward to experimenting with it,

cheers,

Phillip
___
Kepler-users mailing list
Kepler-users@kepler-project.org
http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users



--
 Marcin Plociennik
Poznan Supercomputing and Networking Center

61-704 Poznan, ul. Noskowskiego 10 POLAND
phone (+48 61) 8582181
e-mail: marc...@man.poznan.pl

___
Kepler-users mailing list
Kepler-users@kepler-project.org
http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users