-
Notifications
You must be signed in to change notification settings - Fork 20
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
Issue with containers - .command.sh: line 2: python: command not found #33
Comments
@Erin-Chee Are you able to provide a debug output for your command to find python?
|
@Erin-Chee Actually, I should have asked more simply, does this work if you provide
|
Hi @SamStudio8 thanks for the reply. I ran I tried it with DEBUG [U=599395,P=11349] persistentPreRun() Singularity version: 3.11.5-1.el7 |
Operating System
CentOS 7
Other Linux
No response
Workflow Version
v1.2.0-g36f41e7
Workflow Execution
Command line (Cluster)
Other workflow execution
No response
EPI2ME Version
No response
CLI command run
#!/bin/bash
#SBATCH -p defq
#SBATCH -c 2
export SINGULARITY_BIND="/mnt/storage/nobackup/proj/scbsu/nec181/testing/EPI2ME/wf-alignment/"
export SINGULARITYENV_PREPEND_PATH="/home/epi2melabs/conda/bin/"
module load Java/17.0.6
nextflow run epi2me-labs/wf-alignment
--fastq wf-alignment-demo/fastq
--references wf-alignment-demo/references
-profile singularity
Workflow Execution - CLI Execution Profile
singularity
What happened?
Hi, I've been encountering errors related to container usage (I think) when trying to run wf-alignment with the demo data.
To try and diagnose the issue, I ran
singularity shell ontresearch-wf-alignment-shaa9faef16822c5aa48366a4c45b401c9233a6c0f7.img
python --version
but it returned
bash: python: command not found
I had gotten a similar error when running wf-human-variation but resolved it by setting:
export SINGULARITYENV_PREPEND_PATH="/home/epi2melabs/conda/bin/"
before starting the pipeline. However, this solution hasn't worked in this case.
I also tried starting an interactive shell session with ontresearch-wf-common-sha338caea0a2532dc0ea8f46638ccc322bb8f9af48.img but encountered the following error:
ERROR: /bin/sh does not exist in container
How should I fix this? Any help is much appreciated. Thanks!
Relevant log output
Application activity log entry
No response
Were you able to successfully run the latest version of the workflow with the demo data?
no
Other demo data information
No response
The text was updated successfully, but these errors were encountered: