$ cd /path/to/smk_pipeline
$ snakemake --use-singularity
ERROR : Failed to mount home directory /path/to/smk_pipeline -> /cm/local/apps/singularity/2.4.2/var/singularity/mnt/session/path/to/smk_pipeline: Permission denied
$ singularity shell rnaseq.simg
Singularity: Invoking an interactive shell within container...
Singularity rnaseq.simg:~>
--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity...@lbl.gov.
To view this discussion on the web visit https://groups.google.com/a/lbl.gov/d/msgid/singularity/4e3f0796-dbb8-48ac-a786-28ee3ff9f7f8%40lbl.gov.
To unsubscribe from this group and stop receiving emails from it, send an email to singu...@lbl.gov.
To view this discussion on the web visit https://groups.google.com/a/lbl.gov/d/msgid/singularity/4e3f0796-dbb8-48ac-a786-28ee3ff9f7f8%40lbl.gov.
SNAKEMAKE_MOUNTPOINT = "/mnt/snakemake"
To unsubscribe from this group and stop receiving emails from it, send an email to singularity...@lbl.gov.
To view this discussion on the web visit https://groups.google.com/a/lbl.gov/d/msgid/singularity/ece8a25d-5717-496b-a8ef-aa60cca30391%40lbl.gov.
snakemake --use-singularity --debug
RuleException:
CalledProcessError in line 141 of /secondary/projects/bbc/research/smk_pipeline/Snakefile:
Command ' singularity exec --home /secondary/projects/bbc/research/smk_pipeline --bind /secondary/projects/bbc/tools/dean_miniconda3/lib/python3.6/site-packages:/mnt/snakemake /secondary/projects/bbc/research/smk_pipeline/.snakemake/singularity/2f95debcc77a32fc723cdf8a4ad18fa2.simg bash -c 'set -euo pipefail; Rscript -e '\''rmarkdown::render("scripts/edgeR_longReport.Rmd",output_format="html_document")'\'''' returned non-zero exit status 255.
File "/secondary/projects/bbc/research/smk_pipeline/Snakefile", line 141, in __rule_edgeR_longReport
File "/secondary/projects/bbc/tools/dean_miniconda3/lib/python3.6/concurrent/futures/thread.py", line 56, in run
To view this discussion on the web visit https://groups.google.com/a/lbl.gov/d/msgid/singularity/ece8a25d-5717-496b-a8ef-aa60cca30391%40lbl.gov.
singularity exec --bind /secondary/projects/bbc/tools/dean_miniconda3/lib/python3.6/site-packages:/mnt/snakemake /secondary/projects/bbc/research/smk_pipeline/.snakemake/singularity/2f95debcc77a32fc723cdf8a4ad18fa2.simg bash -c 'set -euo pipefail; Rscript -e '\''rmarkdown::render("scripts/edgeR_longReport.Rmd",output_format="html_document")'\'
singularity exec --bind /secondary/projects/bbc/tools/dean_miniconda3/lib/python3.6/site-packages:/mnt/snakemake /secondary/projects/bbc/research/smk_pipeline/.snakemake/singularity/2f95debcc77a32fc723cdf8a4ad18fa2.simg bash -c 'echo hello'
To unsubscribe from this group and stop receiving emails from it, send an email to singularity...@lbl.gov.
To view this discussion on the web visit https://groups.google.com/a/lbl.gov/d/msgid/singularity/1e966ec5-e71d-48bf-9ca4-ba43fd7fece3%40lbl.gov.
ok. so here's a few more things:
exec command without the mount:
[dean.pettinga@node065 smk_pipeline]$ singularity exec /secondary/projects/bbc/research/smk_pipeline/.snakemake/singularity/2f95debcc77a32fc723cdf8a4ad18fa2.simg bash -c 'echo hello'
hello
[dean.pettinga@node065 smk_pipeline]$ singularity exec --bind /secondary/projects/bbc/tools/dean_miniconda3/lib/python3.6/site-packages:/mnt/snakemake /secondary/projects/bbc/research/smk_pipeline/.snakemake/singularity/2f95debcc77a32fc723cdf8a4ad18fa2.simg bash -c 'echo hello'
ERROR : There was an error binding the path /secondary/projects/bbc/tools/dean_miniconda3/lib/python3.6/site-packages: Permission denied
ABORT : Retval = 255
[dean.pettinga@node065 smk_pipeline]$ singularity exec --bind /secondary .snakemake/singularity/2f95debcc77a32fc723cdf8a4ad18fa2.simg bash -c 'echo hello'
hello
[dean.pettinga@node065 smk_pipeline]$ snakemake --use-singularity --debug --singularity-args '-B /secondary,/primary'
Building DAG of jobs...
Using shell: /bin/bash
Provided cores: 1
Rules claiming more threads will be scaled down.
Job counts:
count jobs
1 all
1 edgeR_longReport
1 edgeR_shortReport
3
[Mon Jun 10 16:34:02 2019]
rule edgeR_longReport:
input: deliverables/UniquelyMappingRates.txt, deliverables/UniquelyMappingReads.txt, deliverables/starMatrix.txt
output: r_objects/topGenes.LPS_vs_PBS.rds, r_objects/topGenes.IL4_vs_PBS.rds, r_objects/topGenes.LPS_vs_IL4.rds, r_objects/volcano.LPS_vs_PBS.rds, r_objects/volcano.IL4_vs_PBS.rds, r_objects/volcano.LPS_vs_IL4.rds, r_objects/contrastMatrix.LPS_vs_PBS.rds, r_objects/contrastMatrix.IL4_vs_PBS.rds, r_objects/contrastMatrix.LPS_vs_IL4.rds, r_objects/pca_plot.rds, r_objects/var_plot.rds, r_objects/heatmap.rds, r_objects/DGE_design.rds, deliverables/LPS_vs_PBS.txt, deliverables/IL4_vs_PBS.txt, deliverables/LPS_vs_IL4.txt, deliverables/LPS_vs_PBS.cls, deliverables/IL4_vs_PBS.cls, deliverables/LPS_vs_IL4.cls, deliverables/LPS_vs_PBS.gct, deliverables/IL4_vs_PBS.gct, deliverables/LPS_vs_IL4.gct, deliverables/edgeR_longReport.html
jobid: 54
Activating singularity image /secondary/projects/bbc/research/smk_pipeline/.snakemake/singularity/2f95debcc77a32fc723cdf8a4ad18fa2.simg
ERROR : Failed to mount home directory /secondary/projects/bbc/research/smk_pipeline -> /cm/local/apps/singularity/2.4.2/var/singularity/mnt/session/secondary/projects/bbc/research/smk_pipeline: Permission denied
ABORT : Retval = 255
[Mon Jun 10 16:34:02 2019]
Error in rule edgeR_longReport:
jobid: 54
output: r_objects/topGenes.LPS_vs_PBS.rds, r_objects/topGenes.IL4_vs_PBS.rds, r_objects/topGenes.LPS_vs_IL4.rds, r_objects/volcano.LPS_vs_PBS.rds, r_objects/volcano.IL4_vs_PBS.rds, r_objects/volcano.LPS_vs_IL4.rds, r_objects/contrastMatrix.LPS_vs_PBS.rds, r_objects/contrastMatrix.IL4_vs_PBS.rds, r_objects/contrastMatrix.LPS_vs_IL4.rds, r_objects/pca_plot.rds, r_objects/var_plot.rds, r_objects/heatmap.rds, r_objects/DGE_design.rds, deliverables/LPS_vs_PBS.txt, deliverables/IL4_vs_PBS.txt, deliverables/LPS_vs_IL4.txt, deliverables/LPS_vs_PBS.cls, deliverables/IL4_vs_PBS.cls, deliverables/LPS_vs_IL4.cls, deliverables/LPS_vs_PBS.gct, deliverables/IL4_vs_PBS.gct, deliverables/LPS_vs_IL4.gct, deliverables/edgeR_longReport.html
RuleException:
CalledProcessError in line 141 of /secondary/projects/bbc/research/smk_pipeline/Snakefile:
Command ' singularity exec --home /secondary/projects/bbc/research/smk_pipeline -B /secondary,/primary --bind /secondary/projects/bbc/tools/dean_miniconda3/lib/python3.6/site-packages:/mnt/snakemake /secondary/projects/bbc/research/smk_pipeline/.snakemake/singularity/2f95debcc77a32fc723cdf8a4ad18fa2.simg bash -c 'set -euo pipefail; Rscript -e '\''rmarkdown::render("scripts/edgeR_longReport.Rmd",output_format="html_document")'\'''' returned non-zero exit status 255.
File "/secondary/projects/bbc/research/smk_pipeline/Snakefile", line 141, in __rule_edgeR_longReport
File "/secondary/projects/bbc/tools/dean_miniconda3/lib/python3.6/concurrent/futures/thread.py", line 56, in run
Shutting down, this might take some time.
Exiting because a job execution failed. Look above for error message
Complete log: /secondary/projects/bbc/research/smk_pipeline/.snakemake/log/2019-06-10T163401.115637.snakemake.log
To view this discussion on the web visit https://groups.google.com/a/lbl.gov/d/msgid/singularity/1e966ec5-e71d-48bf-9ca4-ba43fd7fece3%40lbl.gov.
$ singularity exec --bind /secondary/projects/bbc/tools/dean_miniconda3/lib/python3.6/site-packages:/mnt/snakemake /secondary/projects/bbc/research/smk_pipeline/.snakemake/singularity/2f95debcc77a32fc723cdf8a4ad18fa2.simg bash -c 'echo hello'
To unsubscribe from this group and stop receiving emails from it, send an email to singularity...@lbl.gov.
To view this discussion on the web visit https://groups.google.com/a/lbl.gov/d/msgid/singularity/c8bc281b-1cf6-4bde-92f0-d847adf0ddb5%40lbl.gov.
To view this discussion on the web visit https://groups.google.com/a/lbl.gov/d/msgid/singularity/c8bc281b-1cf6-4bde-92f0-d847adf0ddb5%40lbl.gov.