[kepler-users] Kepler help

2009-02-03 Thread Matt Jones
Hi Michael,

The MatlabExpression actor calls the local shared library for Matlab,
which it needs to be able to find.  If you read the actor
documentation in the Actor Reference Manual (or from the Help menu in
Kepler), it describes how to set the appropriate environment variables
before running Kepler.
https://code.kepler-project.org/code/kepler-docs/trunk/outreach/documentation/shipping/ActorReference.pdf

Check if you can run the demo Matlab workflow (in
demos/Matlab/MatlabExpression.xml) which is working for me.  Its
important that the environment variable be set when you launch Kepler,
which it may not be if you use the .exe or .app launcher.  Instead,
set the appropriate environment variables and then launch from the
command line as explained in the demo workflow.

Its hard to help with your specific problem without knowing which
operating system you are using and which version of Kepler you have.
If you provide more info, Daniel Crawl from SDSC might be able to help
more.  In general, if you want to reach the developers with support
questions, use the 'kepler-users at kepler-project.org' mailing list.
See the web site for details on subscribing to that list.

Regards,
Matt

On Tue, Feb 3, 2009 at 7:46 AM, Michael Hernandez mherna48 at illinois.edu 
wrote:
 Dear Mr. Jones,

 My name is Mike Hernandez, and I'm interested in Kepler. I'm trying to use
 the matlab expression, but am not succeeding. I looked through some of the
 mailing list FAQ threads and saw your email, I hope you can help me or
 direct me to someone who can. I've looked over the tutorials, and I don't
 know what I'm doing wrong. Could you please help me out? I've attached my
 attempt at getting it to work.

 Also, how can I check to see that I did the setPATH instruction correctly?



 --
 Michael Hernandez
 SHPE | UIUC Alumni Relations Chair
 Electrical Engineering
 Cell#: 847-736-3889




-- 

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-users] For loop

2009-02-03 Thread Bertram Ludaescher
Hi Michael:

I'm not sure I exactly understand what you're after, in particular, given
the subject For loop.
But here is an attempt at an answer:

In Kepler most workflows use a dataflow director (often PN, DDF, or SDF).

In a dataflow model of computation an actor A can fire repeatedly, i.e.,
we can think of A executing a sequence of firings or invocations A1, A2,
A3, ...

For example, consider an actor A which reads one token x, computes y = A(x),
then writes one token y. If you feed A with a sequence of tokens [x1,x2,
, xn] then it will output a sequence of tokens
[y1,y2, .., yn] where y_i = A_i(x_i), with A_i denoting the i'th firing of
A.

Now the whole process can be understood as iterating (in the style of a
For loop) over the input sequence (or stream), producing outputs along the
way.

There's much more to this though. A possible starting point for reading is
here:
The Semantics of Dataflow with
Firinghttp://ptolemy.eecs.berkeley.edu/publications/papers/08/DataflowWithFiring/by
Edward A. Lee and Eleftherios Matsikoudis.
plus of course the Ptolemy documentation or Kepler documentation.
(I don't have a specific pointer handy ... Does someone else?)

best

Bertram

On Tue, Feb 3, 2009 at 5:54 AM, Michal Owsiak michalo at man.poznan.pl wrote:

 Hello all,

 I want to build composite actor which will read input from multiport.
 Additionally, I want to go through all the Tokens from input port and
 perform some action using each token.

 Is it possible to go through all the elements from input port in Kepler
 workflow?

 Another question is: is it possible to pass an array as a parameter into
 composite actor and then go through all the elements in this array?

 Any suggestions will be highly appreciated.

 Cheers

 Michal

 --
 Michal Owsiak michalo at man.poznan.pl
 Poznan Supercomputing and Networking Center
 ul. Noskowskiego 10, 61-704 Poznan, POLAND
 http://www.man.poznan.pl
 ___
 Kepler-users mailing list
 Kepler-users at kepler-project.org
 http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users


-- next part --
An HTML attachment was scrubbed...
URL: 
http://mercury.nceas.ucsb.edu/kepler/pipermail/kepler-users/attachments/20090203/71cca27d/attachment.html


[kepler-users] For loop

2009-02-03 Thread Michal Owsiak
Hello all,

I want to build composite actor which will read input from multiport.
Additionally, I want to go through all the Tokens from input port and
perform some action using each token.

Is it possible to go through all the elements from input port in Kepler
workflow?

Another question is: is it possible to pass an array as a parameter into
composite actor and then go through all the elements in this array?

Any suggestions will be highly appreciated.

Cheers

Michal

-- 
Michal Owsiak michalo at man.poznan.pl
Poznan Supercomputing and Networking Center
ul. Noskowskiego 10, 61-704 Poznan, POLAND
http://www.man.poznan.pl