Replies: 1 comment 3 replies
-
Dear @wgronner, Thank you for your interest in Open Composer.
Yes, Open Composer generates purely shell scripts. However, since the #PBS directive is processed by the job scheduler before the shell is executed, you cannot write variables in the #PBS directive (this is a restriction of the job scheduler). You can probably achieve what you want by writing the form.yml like this:
Thanks |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone,
first of all, respect for this great software. This is exactly what OpenOndeman was missing.
It's amazing how much you can customize your workflow to create a job script.
But now to my question.
Is it possible to use calculations or conditional statements ( if-then-else ) within the script section?
For example:
if #queue = “small” then
corepernode=20
sel=ncores/corepernode
else
corepernode=40
sel=ncores/corepernode
endif
#PBS -l select=@sel:ncpus=ncores:mpiprocs=@corepernode
#PBS -l select=@sel:ncpus=ncores:mpiprocs=@corepernode
I hope I have been able to explain the situation to some extent.
Thank you for any assistance
Beta Was this translation helpful? Give feedback.
All reactions