Florian Wuennemann
02/11/2025, 4:57 PMexport OMP_NUM_THREADS=${task.cpus} to the script block?
https://github.com/MouseLand/cellpose/blob/90da76eb3a3e7b026f07d50333e0c964badae8e2/docs/faq.rst?plain=1#L61Nicolas Vannieuwkerke
02/12/2025, 9:17 AMOMP_NUM_THREADS=${task.cpus} <tool> is better as it will only apply to that tool and will not set this variable on the environment 😛Nicolas Vannieuwkerke
02/12/2025, 9:18 AMMahesh Binzer-Panchal
02/12/2025, 12:53 PMexport in order for the subshell that's executing the process to use that value too.Florian Wuennemann
02/12/2025, 1:00 PMtask.cpus right? I don't have to assign that with a def and elvis operator first because it will always be available?!Mahesh Binzer-Panchal
02/12/2025, 1:02 PMMahesh Binzer-Panchal
02/12/2025, 1:04 PMFlorian Wuennemann
02/12/2025, 1:04 PMFlorian Wuennemann
02/12/2025, 2:18 PM