I am trying to configure the job_conf for our system.
Our cluster is currently set up with SLURM, though this is not integrated with galaxy yet, so galaxy is just running on 16 cpus on one of the nodes.
I would like to have all single processes run on the 16 cpus of the galaxy node and all other processes (blast, tophat, etc) sent to the other nodes via SLURM.
Is there some way to pass a variable amount of threads to a process based on the resources available? like if there are 15 cpus available, take that rather than wait a week for that extra 16th. or say use at least 4 and another 12 if available?