We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
task: mem='1G', cores=1, walltime='1m', modules=['R/3.6.1', 'anaconda3/2019.10']
with task_template
task_template
#!/bin/bash #PBS -N {task} #PBS -l nodes={nodes}:ppn={ppn} #PBS -l walltime={walltime} #PBS -l mem={mem//10**9}GB #PBS -o /home/{user_name}/.sos/tasks/{task}.out #PBS -e /home/{user_name}/.sos/tasks/{task}.err #PBS -m ae #PBS -M email@address #PBS -v {workdir} module load {' '.join(modules)} {command}
does not work because keyword argument modules is not passed to template. As far as I remember, it was designed to work.
modules
The text was updated successfully, but these errors were encountered:
Allow task_template to expand from task keyword arguments #7
41aaf17
No branches or pull requests
with
task_template
does not work because keyword argument
modules
is not passed to template. As far as I remember, it was designed to work.The text was updated successfully, but these errors were encountered: