I am running DIFFPREP (V3.1.4_Linux_new version) for the DWI preprocessing and I am wondering how to control the number of CPU to be used. I have tried to set the global environmental variable OMP_NUM_THREADS=2 and ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS=2, but they don't work. It's still using over 30 CPUs which exceeds the limit of our cluster. What should be the correct environmental variable for this command?
Thank you very much! I look forward to your reply.