Yes, combining -openmp and -use-gpu flags while processing a single subject is a perfectly valid thing to do.
-Zeke On 03/24/2014 06:29 PM, Tran, Kevin (NIH/NIMH) [C] wrote: > Hi, > I have posted a question about the error while using recon-all command with > -use–gpu option on a CentOS 6 machine a while back. > > CUDA Error in file 'mriconvolve_cuda.cu' on line 945 : unload of CUDA runtime > fa > iled. > Abort (core dumped) > ERROR: mri_ca_register with non-zero status 134 > > The problem apparently came from this command > mri_ca_register_cuda -nobigventricles -T transforms/talairach.lta > -align-after > -mask brainmask.mgz norm.mgz /opt/freesurfer/average/RB_all_2008-03-26.gca > transforms/talairach.m3z > > We are wondering if it was OK to change the recon-all script so that we would > enable OpenMP for this mri_ca_register command but use GPU for the rest of > recon-all script? That is, we would replace line 2273 in recon-all from > > if($UseCuda) set cmd = (mri_ca_register_cuda) > > To > > if($UseCuda) set cmd = (mri_ca_register) > > So, with the –openmp option, this command will run with multiple cores. By > not using GPU for this command, we can avoid the CUDA Error message. > > However, we are wondering if it's OK that we combined both -use–gnu and > –openmp? > > Could you help us out? > -- > Kevin Tran, Contractor > UNIX System Administrator > The National Institutes of Health > NIMH, Laboratory of Brain and Cognition > 10 Center Drive, Room 4C215 > Bethesda MD 20892-1366 > kevint...@mail.nih.gov > > > _______________________________________________ > Freesurfer mailing list > Freesurfer@nmr.mgh.harvard.edu > https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer > > _______________________________________________ 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.