External Email - Use Caution        

Hi Bruce, 

That did the trick! Thank you very much.

Fischl, Bruce <BFISCHL@mgh.harvard.edu>, 8 Şub 2021 Pzt, 23:23 tarihinde şunu yazdı:

Hi Gunes

 

Just set it in your environment before calling mri_em_register.  For example

 

setenv OMP_NUM_THREADS 1

 

in csh/tcsh or

 

export OMP_NUM_THREADS=1

 

in bash. I think you can also give -openmp 1 to recon-all (hopefully that will also work)

 

cheers

Bruce

From: freesurfer-bounces@nmr.mgh.harvard.edu <freesurfer-bounces@nmr.mgh.harvard.edu> On Behalf Of gunes
Sent: Monday, February 8, 2021 6:04 PM
To: Freesurfer support list <freesurfer@nmr.mgh.harvard.edu>
Subject: [Freesurfer] Number of threads in mri_em_register

 

        External Email - Use Caution        

Dear freesurfer developers,

 

I'm using freesurfer v5.3.0 and having problems with the number of threads opened by `mri_em_register`. It automatically opens up as many threads as there are in the system, but I need to limit that. 

 

 

In the end, it seems to be solved by setting OMP_NUM_THREADS to 1 in the mri_em_register script, but it is a binary file. I don't know how to set it. 

 

Kind regards,

Gunes

_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer