No, use of -threads or -openmp will always trigger the openmp code. The -parallel may introduce other parallel. I did not write this part of the code so I'm not sure, and I think I might have broken the -parallel implementation when I did the last recon-all rewrite
On 1/28/2021 11:23 AM, Michael Krause wrote:
External Email - Use Caution1 According to documents, freesurfer is OpenMP code , I use -openmp 8 flag like: recon-all -alli -i input.file -s output.file -openmp 8 to tun the recon command on a server, but it doesn't work for me (the running time is very similar for the same subject). Cloud you tell me what is wrong?
It's my understanding that you also need to specify `-parallel` in addition to optional flag for the openmp thread count. At least since v6, no?
https://secure-web.cisco.com/1iQveNDdwNTosrnlkwXmvvjJwqsGtnW6NxvHb6cchwZMPFP...
cheers Michael Krause
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer