You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue with Setting NXF_ENABLE_FS_SYNC in Nextflow on a Shared Disk
Hello,
I am encountering a problem with Nextflow (v. 24.04.2) truncating large output files on a shared disk. I believe that setting the NXF_ENABLE_FS_SYNC environment variable should resolve this issue.
However, I am having trouble setting this environment variable correctly. Here’s what I’ve tried so far:
Adding to nextflow.config:
env {
NXF_ENABLE_FS_SYNC=true
}
This generates the warning message:
The env scope provides environment variables to tasks, not Nextflow itself. Nextflow environment variables such as NXF_VER should be set in the environment in which Nextflow is launched.
Result: No NXF_ENABLE_FS_SYNC in the k8s driver nor worker pod config.
Setting the environment variable before running Nextflow:
This discussion was converted from issue #5209 on August 07, 2024 10:55.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Issue with Setting
NXF_ENABLE_FS_SYNC
in Nextflow on a Shared DiskHello,
I am encountering a problem with Nextflow (v. 24.04.2) truncating large output files on a shared disk. I believe that setting the
NXF_ENABLE_FS_SYNC
environment variable should resolve this issue.However, I am having trouble setting this environment variable correctly. Here’s what I’ve tried so far:
Adding to
nextflow.config
:This generates the warning message:
Result: No
NXF_ENABLE_FS_SYNC
in the k8s driver nor worker pod config.Setting the environment variable before running Nextflow:
export NXF_ENABLE_FS_SYNC=true nextflow kuberun xxx
Result: No
NXF_ENABLE_FS_SYNC
in the k8s driver nor worker pod config.Adding env config to pod in
nextflow.config
:Result: This creates
NXF_ENABLE_FS_SYNC
in the worker pods.I am not sure if the
NXF_ENABLE_FS_SYNC
variable will work if it is only in the worker pods and not in the driver itself.Any guidance on this issue would be greatly appreciated!
Thank you,
Jan
Beta Was this translation helpful? Give feedback.
All reactions