You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a engine which can submit jobs to a hpcc cluster, and would like it to be able to run cwl workflows.
As an input I need two files (cmds table, as shown above), and conf file; which strings all the steps together:
jobname sub_type prev_jobs dep_type queue memory_reserved walltime cpu_reserved platform jobid
----------- --------- ----------- --------- ------ ---------------- --------- ------------- --------- ------
sleep scatter none none short 2000 1:00 1 torque 1
create_tmp scatter sleep serial short 2000 1:00 1 torque 2
merge serial create_tmp gather short 2000 1:00 1 torque 3
size serial merge serial short 2000 1:00 1 torque 4
I understand all this info is available, but not really in a tabular form. Could you direct me to some python functions which would help me create say a list/object with this info?
My first question is whether you would consider another approach, such as writing a cwl-runner that submits jobs directly to your hpc system, but also interoperates with Flowr.
It is certainly possible to generate a command script from a CWL graph, but you will need to either perform static evaluation of expressions (see @yvdriess comment in #107 for some thoughts on this) which is only possible for a subset of workflows, or generate a command script that includes dynamic expression evaluation (which is necessary to support all possible workflows).
Awesome, I would first like to focus on flows which expand all bindings at the start of the workflow. I understand there are use-cases where one may like to use parameters determined at step A, and use them in step B. Currently, I don't have a way to handle that in flowr; but I can easily add that functionality.
Since, I am newbie to cwl; would like to clarify,
say we have a param read_length.
step A asses it and creates a file called params.sh:
Activity
tetron commentedon Oct 7, 2015
Nothing like this currently exists, but it should be possible to implement. What's your use case?
sahilseth commentedon Oct 7, 2015
I have a engine which can submit jobs to a hpcc cluster, and would like it to be able to run cwl workflows.
As an input I need two files (cmds table, as shown above), and conf file; which strings all the steps together:
I understand all this info is available, but not really in a tabular form. Could you direct me to some python functions which would help me create say a list/object with this info?
http://docs.flowr.space
tetron commentedon Oct 7, 2015
My first question is whether you would consider another approach, such as writing a cwl-runner that submits jobs directly to your hpc system, but also interoperates with Flowr.
It is certainly possible to generate a command script from a CWL graph, but you will need to either perform static evaluation of expressions (see @yvdriess comment in #107 for some thoughts on this) which is only possible for a subset of workflows, or generate a command script that includes dynamic expression evaluation (which is necessary to support all possible workflows).
sahilseth commentedon Oct 7, 2015
Awesome, I would first like to focus on flows which expand all bindings at the start of the workflow. I understand there are use-cases where one may like to use parameters determined at step A, and use them in step B. Currently, I don't have a way to handle that in flowr; but I can easily add that functionality.
Since, I am newbie to cwl; would like to clarify,
say we have a param read_length.
step A asses it and creates a file called params.sh:
Now at the start of step B, we add
This should take care of this correct?
tetron commentedon Oct 16, 2015
Take a look at this:
https://github.com/common-workflow-language/cwl2script
sahilseth commentedon Oct 16, 2015
Thanks, looks good will try.
mr-c commentedon Oct 26, 2015
Thank you @sahilseth for asking!
I'm going to close this for now. @sahilseth feel free to re-open this issue if needed.
Squashed 'v1.1.0-dev1/salad/' changes from 98a5bea..27c20e8