External Email - Use Caution
Dear experts,
I would like to create an average subject from a very large population. I am going to compute it on a computer with a lot of threads and I would like to know if it is possible to parallelize the make_average_subject function to try to shorten the computation time. I have tried to add the -openmp flag but I get the error that the flag is unrecognized. How can I solve this?
Thank you in advance.
Best regards, Marina
External Email - Use Caution
Hi Marina,
whenever I want to parallelize something which doesn't have a built in function, I'm using GNU parallel. Just google for it. The documentation is quite good.
Best,
Falk
...............................................
[http://secure-web.cisco.com/1ZOQLXeEUYkEe-uLh_AhkGhdRee6u0HM4FgGRlgF7MqTQ2qn...] Universitätsklinik für Neurologie
Otto-von-Guericke-Universität Magdeburg Medizinische Fakultät Leipziger Str. 44 39120 Magdeburg
Telefon: +49-391-6117-512
falk.luesebrink@med.ovgu.demailto:falk.luesebrink@med.ovgu.de http://secure-web.cisco.com/1gW_0xbMsYzzwqiqr-9YoZRlkYpY9CW9WVS2Yzi0N8B9CbPF... ________________________________ Von: freesurfer-bounces@nmr.mgh.harvard.edu freesurfer-bounces@nmr.mgh.harvard.edu im Auftrag von Marina Fernández marina.fdez.alvarez@gmail.com Gesendet: Montag, 11. April 2022 15:54:13 An: freesurfer@nmr.mgh.harvard.edu Betreff: [Freesurfer] parallel make_average_subject
External Email - Use Caution
Dear experts,
I would like to create an average subject from a very large population. I am going to compute it on a computer with a lot of threads and I would like to know if it is possible to parallelize the make_average_subject function to try to shorten the computation time. I have tried to add the -openmp flag but I get the error that the flag is unrecognized. How can I solve this?
Thank you in advance.
Best regards, Marina
There is not an easy way to do this. Internally, there is a binary that loads all the subjects then creates an average. You need some way to create intermediate files, then combine them together, which we don't support. Why do you want to create an average subject?
On 4/11/2022 9:54 AM, Marina Fernández wrote:
External Email - Use Caution
Dear experts,
I would like to create an average subject from a very large population. I am going to compute it on a computer with a lot of threads and I would like to know if it is possible to parallelize the make_average_subject function to try to shorten the computation time. I have tried to add the -openmp flag but I get the error that the flag is unrecognized. How can I solve this?
Thank you in advance.
Best regards, Marina
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
freesurfer@nmr.mgh.harvard.edu