Hi Lisa
the individual commands don't accept -openmp. Try doing:
setenv OMP_NUM_THREADS 2
mri_em_register ...
cheers
Bruce
On Thu, 8 Jun 2017, Lisa Kramarenko wrote:
Hello,
I am using HCP pipelines and I would like mri_em_register which is being
called from a pipeline script to run on 2 cores instead on all available
ones. I tried to just add an -openmp flag to the command as suggestedhere: https://www.mail-archive.com/freesurfer@nmr. .mgh.harvard.edu/msg41604
html
my command looks like this:
mri_em_register -mask "$SubjectDIR"/"$SubjectID"/mri/brainmask.mgz
"$SubjectDIR"/"$SubjectID"/mri/nu.mgz
$FREESURFER_HOME/average/RB_all_2008-03-26.gca
"$SubjectDIR"/"$SubjectID"/mri/transforms/talairach_with_sku ll.lta -openmp 2
yet I get an error:
mri_em_register: could not open GCA -openmp
Do you have an idea of how to fix it?
Thanks!
Lisa
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/ freesurfer
The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
The materials in this message are private and may contain Protected Healthcare Information or other information of a sensitive nature. If you are not the intended recipient, be advised that any unauthorized use, disclosure, copying or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this email in error, please immediately notify the sender via telephone or return mail.