Skip to content
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

No such file or directory: 'scontrol' #843

Closed
silastittes opened this issue Nov 21, 2022 · 2 comments
Closed

No such file or directory: 'scontrol' #843

silastittes opened this issue Nov 21, 2022 · 2 comments

Comments

@silastittes
Copy link

Hi There! Following advice given in #830, I'm trying to preprocess with CPUs and then finish on GPUs.
I'm working on an HPC and am hoping to parallelize the CPU runs as much as possible.
When I run the following command:

singularity exec \
          --bind $PWD \
          --nv \
          --workdir / docker://quay.io/comparative-genomics-toolkit/cactus:v2.2.4-gpu \
          cactus jobstore/1 {input.prepared_out} {output} \
          --realTimeLogging \
          --logInfo \
          --retryCount 0 \
          --skipPreprocessor \
          --batchSystem slurm \
          --consCores 20 \
          --restart \
          --disableCaching \
          --configFile {input.xml}

I get the error:
No such file or directory: 'scontrol'
Any thoughts on what's happening here? Are slurm user commands available inside the container?
Apologies if this has been answered elsewhere and I missed it!

@glennhickey
Copy link
Collaborator

slurm commands are not available in the container. your best bet is to install cactus locally (ie following the binary release installation instructions) then to run with --binariesMode singularity so that toil jobs pull in commands from singularity as-needed.

@silastittes
Copy link
Author

That makes sense. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants