Hi Jessie, Jessie Poquérusse <jessie.poqueru...@gmail.com> writes:
> Hello, > > In trying to modularize and genericize my Bash scripts as much as > possible, I was wondering if there was a way to turn #SBATCH options > (mainly walltime, mem, and output and error file directories) into > externally defined script parameters (e.g. in the same command line as > during sbatch job submission). Maybe I am misunderstanding your question, but isn't sbatch --time 01:00:00 --mem=1024M --output=out.txt --error=err.txt what you want? Cheers, Loris -- Dr. Loris Bennett (Mr.) ZEDAT, Freie Universität Berlin Email loris.benn...@fu-berlin.de