Hi guys,
I got this working for a while, I have this in
/misc/local/galaxy/galaxy-dist/lib/galaxy/jobs/rules/200_runners.py:
def default_runner(user_email):
username = user_email.split(@)[0]
return drmaa://-V -pe batch 8 -A %s/ % username
But lately user_email has started being passed
Greg, I don't think there is currently any support for variable
substitution of this sort in job runner configuration, but it could
definitely be added. Worth filing as an issue.
--
James Taylor, Assistant Professor, Biology/CS, Emory University
On Wed, Mar 13, 2013 at 8:12 AM, greg
Greg,
I think you can do this with dynamic job runners.
http://lists.bx.psu.edu/pipermail/galaxy-dev/2012-June/010080.html
Step 1) Set:
default_cluster_job_runner = dynamic:///python/default_runner
Step 2) Create the file `lib/galaxy/jobs/rules/200_runners.py`, with
contents something like
Hi guys,
I just wanted to check in and see if anyone had any ideas on this.
(It's actually the -A flag I'm after.)
I did try putting this in universe.wsgi:
default_cluster_job_runner = drmaa://-V -pe batch 8 -A Account_Name/
I was thinking galaxy might substitute the user name for
Account_Name
In our local galaxy install we want the cluster jobs to be run from
the galaxy user but we want to include a -a [account name] to our grid
software bills properly.
Here's what I currently have in universe.wsgi:
default_cluster_job_runner = drmaa://-V -pe batch 8/
What I want is something like