how do I change my working dir?

3,507 views
Skip to first unread message

biowang

unread,
Dec 30, 2015, 1:13:35 AM12/30/15
to Nextflow
my working dir like this
work/
work/89
work/89/1089b0a9d773875df66444c2b2dddb
work/89/1089b0a9d773875df66444c2b2dddb/.command.env
work/89/1089b0a9d773875df66444c2b2dddb/.command.sh
work/89/1089b0a9d773875df66444c2b2dddb/.command.run
work/89/1089b0a9d773875df66444c2b2dddb/.command.begin
work/89/1089b0a9d773875df66444c2b2dddb/.command.po
work/89/1089b0a9d773875df66444c2b2dddb/.command.pe
work/89/1089b0a9d773875df66444c2b2dddb/.command.out
work/89/1089b0a9d773875df66444c2b2dddb/.command.err
work/89/1089b0a9d773875df66444c2b2dddb/a.txt
work/89/1089b0a9d773875df66444c2b2dddb/.exitcode

should I change the working dir to "/temp_work" by setting NXF_WORK="/temp_work" or NXF_TEMP="/temp_work"
http://www.nextflow.io/docs/latest/config.html#environment-variables

Paolo Di Tommaso

unread,
Dec 30, 2015, 5:04:10 AM12/30/15
to nextflow
Hello, 

The pipeline working directory can be changed using the `-w` command line option or setting the NXF_WORK environment variables. Note this *must* be a path shared across all your computing nodes. 

The NXF_TEMP instead can be used to change the path where *local* temporary files are created. By default it is /tmp. 


Hope this helps. 

Cheers,
Paolo


--
You received this message because you are subscribed to the Google Groups "Nextflow" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nextflow+u...@googlegroups.com.
Visit this group at https://groups.google.com/group/nextflow.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages