Hi, I am getting these days this same issue while...
# sarek
m
Hi, I am getting these days this same issue while running Sarek on an NFS partition in an HPC cluster. When there is an issue (OOM, timelimit, etc.) and the nextflow run is suspended, I have always used the command -resume + doing some modification on my config file for resources and everything worked properly. However, I am getting this error: ERROR ~ Can't open cache DB: /mnt/****/****/chip/***/.nextflow/cache/8fea4351-cd80-4b92-b180-6ebab8ca77df/db Nextflow needs to be executed in a shared file system that supports file locks. Alternatively, you can run it in a local directory and specify the shared work directory by using the
-w
command line option.
It seems that there is an issue in the cache of .nextflow, that does not allow to the program to find my previous files on the work directory. Has anyone encountered this same issue? I got almost 3TB of already processed data and I'd love to be able to track it😅
a
The cache DB is not in your work directory, but in the launch directory in a hidden subdirectory called
.nextflow
. Go into your launch directory and run
nextflow log
to read out the database. If that fails, you have a problem.
m
Hi Alex, I still receive the same message as above when I run Nextflow log session_id
a
Just run it without the session_id. It seems that it is invalid. Just read out all entries in the DB.
m
Without specifying it, I got info about all the previous runs. I guess you're suggesting to run the pipeline again from the scratch, rigth?
a
No, I wonder if your last run appears in the DB and under which session ID?
I guess you also specify the session_id in your
-resume
?