-
Notifications
You must be signed in to change notification settings - Fork 33
[BUG] Failed to publish file across filesystems #265
Comments
I think this needs to just be documented for users to understand that links don't work across file systems. Our other option is to convert to copying for publishing rather than sym/hard linking, that will always work, but of course will take more space when people don't clear their work folders. |
There must a better solution than to just say that this won't work at all. As a user, if I see that this Possible solutions:
With option 2, the publish directives become:
I've tested this briefly and it works for |
I like option 2 better (as you described) and setting probably |
I implemented option 2 above, but using |
Same issue here! I pulled v0.26.1 and still had the same problem. How can we get the notebooks now? |
Hi @Zifeng1995 , I think you can solve this by changing the publish mode to 'copy' in your config file and restarting the pipeline with resume enabled. |
Hi @cflerin , I am a new hand for nextflow. I tried to copy the publish mode to my config file but it did not work.
|
ok, take that publish step out (
make sure to set |
It still did not work after setting
These are warnings
|
It seems there are a few places where the publish mode is hardcoded in the loomHandler.nf processes. But to get these files immediately you can just copy them using the full source and destination paths from the warning, for example:
|
Thanks for your help! I got it! |
Describe the bug
All publish steps fail to complete when the Nextflow work directory and the current working directory are on different filesystems.
To Reproduce
Steps to reproduce the behavior:
Use the
NXF_WORK
environmental variable to direct all working files to a scratch drive that's on a different filesystem than the current working directory. Test with any of the test profiles:These are warnings and the pipeline reports that it completes successfully, but there is no output data in the
out
directory:And an excerpt from the log reports
Invalid cross-device link
:Expected behavior
Cross-filesystem publishing should work.
Screenshots
NA
Please complete the following information:
Additional context
NA
The text was updated successfully, but these errors were encountered: