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

add support for singularity container engine #202

Merged
merged 3 commits into from
Nov 22, 2022

Conversation

jorgeaguileraseqera
Copy link
Contributor

Signed-off-by: Jorge Aguilera [email protected]

@jorgeaguileraseqera jorgeaguileraseqera self-assigned this Nov 21, 2022
@jorgeaguileraseqera jorgeaguileraseqera linked an issue Nov 21, 2022 that may be closed by this pull request
@pditommaso
Copy link
Collaborator

Nice. does this solves the problem with Singularity?

@jorgeaguileraseqera
Copy link
Contributor Author

My problem with singularity was due to a miss config in the pipeline (I was not using the last version of it)

once fixed I'm able to run it using singularity but ... it never requests the tag list so not sure if it'll be 100% ok

@pditommaso
Copy link
Collaborator

I see, have you tried to run this example using singularity?

In my test was failing

@jorgeaguileraseqera
Copy link
Contributor Author

jorgeaguileraseqera commented Nov 21, 2022

Yes, I tested it and can't see the tag list request, maybe the sing version?

N E X T F L O W  ~  version 22.10.0
Launching `./test.nf` [wise_edison] DSL2 - revision: 2332371305
[-        ] process > foo -
Pulling Singularity image docker://4421-92-185-195-63.ngrok.io/wt/c6b884a1f5a4/pditommaso/my-secret-container:latest [cache /home/jorge/nextflow/workbook/wave/work/singularity/4421-92-185-19[-        ] process > foo [  0%] 0 of 1
Pulling Singularity image docker://4421-92-185-195-63.ngrok.io/wt/c6b884a1f5a4/pditommaso/my-secret-container:latest [cache /home/jorge/nextflow/workbook/wave/work/singularity/4421-92-185-19executor >  local (1)
[da/407b22] process > foo [  0%] 0 of 1 ✔executor >  local (1)[da/407b22] process > foo [100%] 1 of 1 ✔
Pulling Singularity image docker://4421-92-185-195-63.ngrok.io/wt/c6b884a1f5a4/pditommaso/my-secret-container:latest [cache /home/jorge/nextflow/workbook/wave/work/singularity/4421-92-185-195-63.ngrok.io-wt-c6b884a1f5a4-pditommaso-my-secret-container-latest.img]
I'm the secret command 🕵️

WARN: Singularity cache directory has not been defined -- Remote image will be stored in the path: /home/jorge/nextflow/workbook/wave/work/singularity -- Use env variable NXF_SINGULARITY_CACHEDIR to specify a different location

can you checkout the branch in your local and review it please?

@pditommaso
Copy link
Collaborator

Strange, I have been trying

$ singularity --version
2.4.2-dist

@pditommaso pditommaso merged commit 46a8d76 into master Nov 22, 2022
@pditommaso pditommaso deleted the 201-add-support-for-singularity-container-engine branch November 22, 2022 14:33
@pditommaso
Copy link
Collaborator

Our friend is back #178

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

Successfully merging this pull request may close these issues.

Add support for Singularity container engine
2 participants