-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
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
PBS qsub Node Specification Error #118
Comments
Sorry about very late response. What is a node specification ( |
No problem, if I remember correctly I got it working by making a hacky fix to the cromwell_backend.py script: @@ -788,19 +788,19 @@ class CromwellBackendPBS(CromwellBackendLocal):
if [ -z \\"$SINGULARITY_BINDPATH\\" ]; then export SINGULARITY_BINDPATH=${singularity_bindpath}; fi; \\
if [ -z \\"$SINGULARITY_CACHEDIR\\" ]; then export SINGULARITY_CACHEDIR=${singularity_cachedir}; fi;
- echo "${if !defined(singularity) then '/bin/bash ' + script
+ echo '${if !defined(singularity) then 'module load anaconda2020/python3 && eval \"$(/usr/local/anaconda3-2020/bin/conda shell.bash hook)\" && conda activate encode-atac-seq-pipeline && /bin/bash ' + script
else
'singularity exec --cleanenv ' +
'--home ' + cwd + ' ' +
(if defined(gpu) then '--nv ' else '') +
- singularity + ' /bin/bash ' + script}" | \\
+ singularity + ' /bin/bash ' + script}' | \\
qsub \\
-N ${job_name} \\
-o ${out} \\
-e ${err} \\
- ${true="-lnodes=1:ppn=" false="" defined(cpu)}${cpu}${true=":mem=" false="" defined(memory_mb)}${memory_mb}${true="mb" false="" defined(memory_mb)} \\
- ${'-lwalltime=' + time + ':0:0'} \\
- ${'-lngpus=' + gpu} \\
+ ${true="-l select=1:ncpus=" false="" defined(cpu)}${cpu}${true=":mem=" false="" defined(memory_mb)}${memory_mb}${true="MB" false="" defined(memory_mb)} \\
+ ${'-l walltime=' + time + ':0:0'} \\
+ ${'-l ngpus=' + gpu} \\
${'-q ' + pbs_queue} \\
${pbs_extra_param} \\
-V It adds some spaces and extra conda activation calls (which is quite specific to this cluster) as it seems the environment would not be inherited in sub-jobs. |
Sorry about late response. New Caper can runs like |
Great! Thanks for letting me know. I will test it out soon :) |
Hi there,
I installed the ATAC-seq pipeline on a PBS cluster.
Caper is configured with pbs backend and the lead job was submitted.
It seems the pipeline fails to submit the first subjob, this is what the generated submission script
script.submit
looks like:When this is submitted, stderr.background comes back with
qsub: node(s) specification error
Looks like some spaces are missing?
The text was updated successfully, but these errors were encountered: