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

Deal with warnings generated when native NF processes are used #724

Closed
drpatelh opened this issue Nov 17, 2021 · 4 comments
Closed

Deal with warnings generated when native NF processes are used #724

drpatelh opened this issue Nov 17, 2021 · 4 comments
Milestone

Comments

@drpatelh
Copy link
Member

drpatelh commented Nov 17, 2021

I implemented a few modules in this pipeline that use a native NF Groovy process like here. It made sense to exploit the functionality on offer in Groovy to perform these sorts of tasks rather than wrapping them in an external script.

However, this results in these warnings being generated which are harmless but can be confusing to users who assume that there is an issue with the pipeline/infrastructure. The warning is generated because Nextflow will run these native / Groovy processes on the head node via the master NF job rather than a compute job.

WARN: Process 'NFCORE_RNASEQ:RNASEQ:MULTIQC_TSV_FAIL_MAPPED' cannot be executed by 'awsbatch' executor -- Using 'local' executor instead
WARN: Process 'NFCORE_RNASEQ:RNASEQ:MULTIQC_TSV_STRAND_CHECK' cannot be executed by 'awsbatch' executor -- Using 'local' executor instead

Ping @pditommaso 🏖️

@phue
Copy link
Member

phue commented Nov 17, 2021

Explicitly setting executor 'local' in the process should make the warnings disappear

@drpatelh
Copy link
Member Author

I like the way you ghost in and out of things @phue !! 🤣

@phue
Copy link
Member

phue commented Nov 17, 2021

👻

@drpatelh drpatelh added this to the 3.5 milestone Dec 13, 2021
@drpatelh
Copy link
Member Author

I have added executor 'local' to the relevant processes and that seems to have fixed generating the warnings:

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

No branches or pull requests

2 participants