No such variable: nextflow
1
0
Entering edit mode
15 days ago
Mmar • 0

Hi, I am having an issue with running Nextflow pipeline on hpc.

All pipelines I am trying to run ends with following error:

No such variable: nextflow

It refers to line:

nextflow.enable.dsl=2

If I remove this line it fails on include command.

I tested on many Nextflow versions. Seems to be not dependent on specific version or pipeline.

Any ideas appreciated!

nextflow • 417 views
ADD COMMENT
1
Entering edit mode

You need to show some minimal code to understand or reproduce the error.

ADD REPLY
0
Entering edit mode

Not much to show tbh. It fail for example on https://github.com/nextflow-io/hello

ADD REPLY
2
Entering edit mode

Look, if you want help, you need to show code and error messages. If I clone the linked repo and then run nextflow run main.nf, then I get:

N E X T F L O W   ~  version 24.04.4

Launching `main.nf` [agitated_yonath] DSL2 - revision: b0eee95d4e

executor >  local (4)
[8c/3c0495] process > sayHello (1) [100%] 4 of 4 
Hola world!

Ciao world!

Hello world!

Bonjour world!

Please run with this command and then show what happens.

ADD REPLY
0
Entering edit mode

This is the output:

` NE X T F L O W ~ version 23.10.1 Launching main.nf ERROR ~ No such variable: nextflow

-- Check '.nextflow.log' file for details `

ADD REPLY
0
Entering edit mode
15 days ago
ATpoint 84k

Check if https://stackoverflow.com/questions/71939685/nextflow-tutorial-getting-error-no-such-variable applies and you have an old Nextflow version.

ADD COMMENT

Login before adding your answer.

Traffic: 1489 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6