Laura Seidel
07/30/2025, 12:27 PMNFCORE_METATDENOVO:METATDENOVO:MEGAHIT_INTERLEAVED (megahit_assembly) terminated for an unknown reason -- Likely it has been terminated by the external system.
So I was trying to include a config file as I thought it might be similar to the problem I have read here before. There I specified:
process {
withName: NFCORE_METATDENOVOMETATDENOVOMEGAHIT_INTERLEAVED {
memory = 500.GB
time = 2.d
}
but I still get the same error at the end. Is there anything I should change? Or did I do something wrong here? Thanks for your help!pontus
07/30/2025, 2:46 PMLaura Seidel
07/31/2025, 6:30 AMpontus
07/31/2025, 7:19 AMLaura Seidel
07/31/2025, 7:43 AMpontus
07/31/2025, 9:18 AMscontrol show job=... to see that it has the expected requested runtime.Laura Seidel
07/31/2025, 10:26 AMpontus
07/31/2025, 11:20 AMTimeLimit so if it's at 4 hours your configuration is not being applied.Laura Seidel
07/31/2025, 11:27 AMpontus
07/31/2025, 11:58 AMwithName exactly, it may be that quotes are required when having colons.
One trick otherwise is to switch to a regexp, e.g. ".*:MEGAHIT_INTERLEAVED".
To see if it helps it may be useful to make it fail immediately, e.g. by pointing to a non-existinf url for container.Laura Seidel
07/31/2025, 12:06 PMpontus
07/31/2025, 1:05 PMpontus
07/31/2025, 1:05 PMLaura Seidel
07/31/2025, 1:10 PMLaura Seidel
07/31/2025, 1:16 PM".*:MEGAHIT_INTERLEAVED" gives also a TimeLimit=160000pontus
08/01/2025, 3:03 PM"NFCORE_METATDENOVO:METATDENOVO:MEGAHIT_INTERLEAVED" and ".*:MEGAHIT_INTERLEAVED" for withName: work. NFCORE_METATDENOVO:METATDENOVO:MEGAHIT_INTERLEAVED (without quotes) does not.
Are you sure you were looking at the right jobs? Alternatively, had those bits in the config actually seen by nextflow And just to mention it, -c there isn't really needed since nextflow.config will be used anyway if it exists. It does change its priority somewhat if there are conflicts (as mentioned in another thread), but that's not normally the case, and I can definitely override these things without using -c here.Laura Seidel
08/04/2025, 6:35 AMNFCORE_METATDENOVO:METATDENOVO:MEGAHIT_INTERLEAVED (megahit_assembly) terminated with an error exit status (140) -- Execution is retried (1)", where in the overview about the different steps there is the information; "[eb/adc14d] NFCORE_METATDENOVOMETATDENOVOMEGAHIT_INTERLEAVED (megahit_assembly) | 1 of 2, failed: 1, retries: 1"
I guess it ran out of hours and now is stuck?
So it seems it does not use the asked time in the config.file even though it seems to use it?pontus
08/04/2025, 6:40 AM.command.run in the task directory.pontus
08/04/2025, 6:41 AMLaura Seidel
08/04/2025, 6:47 AMpontus
08/04/2025, 7:00 AM