External Email - Use Caution
The VirtualBox settings indicate you host machine has 4 real and 4 virtual cores with 16G of RAM. You could try shutting down the VM, and then change the VirtualBox settings to give the VM 4 cores (instead of 2) and 12G of RAM (instead of 8G). Then start the VM and try running your command again to see if performance improves maybe first with 2 jobs and then 4. I would try not to run other applications on your host machine at this time. - R.
On May 9, 2022, at 17:47, Joanna L Eckhardt <jeckhardt@health.ucsd.edu> wrote: External Email - Use Caution Oops, I meant to reply all: Hi R ,See below, I gave 8 GB and 2 CPU in settings.<image.png><image.png>--Joanna EckhardtNeurosciences Graduate ProgramUniversity of California, San DiegoSent: Monday, May 9, 2022 2:41 PMTo: freesurfer@nmr.mgh.harvard.edu <freesurfer@nmr.mgh.harvard.edu>Cc: Joanna L Eckhardt <jeckhardt@health.ucsd.edu>Subject: Re: [Freesurfer] Recon-all Freezes on Parallel In the VirtualBox settings, did you give the VM both cores to use?It would also be good to know much memory your machine has, and how much of that you gave to the VM in the VirtualBox settings.- R.On May 9, 2022, at 17:27, Joanna L Eckhardt <jeckhardt@health.ucsd.edu> wrote: External Email - Use Caution Dear FreeSurfer Team, I have been trying to use the parallel command (following FreeSurfer tutorial) to run multiple subjects (Windows os running Ubuntu VM).I only have 2 cores, so I have it set to 2 jobs instead of 8 as in the tutorial. When I use the code from the tutorial, there is an error with the .nii, and I assume it is because my files are .nii.gz.developer@developer-VirtualBox:~/FreeSurfer/Cannabis_Reduced$ ls *.nii | parallel --jobs 3 recon-all -s {.} -i {} -all -qcache ls: cannot access '*.nii': No such file or directory So I changed the code to .gz with everything else the same, and FreeSurfer does nothing (it stalls/freezes). Is this just because my computer cannot handle the job? Is there anything else I can do to run parallel? If not, I can always just run 1 subject at a time, but I want to check and see if there is another way to get this to work. Thank you for your time!Joanna_______________________________________________Freesurfer mailing listFreesurfer@nmr.mgh.harvard.eduMailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to behttps://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer________________... mailing listFreesurfer@nmr.mgh..harvard.eduhttps://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer%E2%80%8B
External Email - Use Caution
Hi R,
Unfortunately, those changes did not work. It looks like it might just be too much for my computer to handle because the entire VM system slows down completely when trying to run the parallel command, and after an hour nothing new has appeared under the command.
I will stick to 1 subject at a time if there is nothing else I can do (other than get a better computer!)
Thank you for your help! Joanna ________________________________ From: fsbuild fsbuild@contbay.com Sent: Monday, May 9, 2022 4:00 PM To: freesurfer@nmr.mgh.harvard.edu freesurfer@nmr.mgh.harvard.edu Cc: Joanna L Eckhardt jeckhardt@health.ucsd.edu Subject: Re: [Freesurfer] Recon-all Freezes on Parallel
The VirtualBox settings indicate you host machine has 4 real and 4 virtual cores with 16G of RAM.
You could try shutting down the VM, and then change the VirtualBox settings to give the VM 4 cores (instead of 2) and 12G of RAM (instead of 8G). Then start the VM and try running your command again to see if performance improves maybe first with 2 jobs and then 4. I would try not to run other applications on your host machine at this time.
- R.
On May 9, 2022, at 17:47, Joanna L Eckhardt jeckhardt@health.ucsd.edu wrote:
External Email - Use Caution
Oops, I meant to reply all:
Hi R ,
See below, I gave 8 GB and 2 CPU in settings.
<image.png> <image.png>
-- Joanna Eckhardt Neurosciences Graduate Program University of California, San Diego ________________________________
Sent: Monday, May 9, 2022 2:41 PM To: freesurfer@nmr.mgh.harvard.edumailto:freesurfer@nmr.mgh.harvard.edu <freesurfer@nmr.mgh.harvard.edumailto:freesurfer@nmr.mgh.harvard.edu> Cc: Joanna L Eckhardt <jeckhardt@health.ucsd.edumailto:jeckhardt@health.ucsd.edu> Subject: Re: [Freesurfer] Recon-all Freezes on Parallel
In the VirtualBox settings, did you give the VM both cores to use?
It would also be good to know much memory your machine has, and how much of that you gave to the VM in the VirtualBox settings.
- R.
On May 9, 2022, at 17:27, Joanna L Eckhardt <jeckhardt@health.ucsd.edumailto:jeckhardt@health.ucsd.edu> wrote:
External Email - Use Caution
Dear FreeSurfer Team,
I have been trying to use the parallel command (following FreeSurfer tutorial) to run multiple subjects (Windows os running Ubuntu VM).
I only have 2 cores, so I have it set to 2 jobs instead of 8 as in the tutorial. When I use the code from the tutorial, there is an error with the .nii, and I assume it is because my files are .nii.gz.
developer@developer-VirtualBox:~/FreeSurfer/Cannabis_Reduced$ ls *.nii | parallel --jobs 3 recon-all -s {.} -i {} -all -qcache ls: cannot access '*.nii': No such file or directory
So I changed the code to .gz with everything else the same, and FreeSurfer does nothing (it stalls/freezes). Is this just because my computer cannot handle the job? Is there anything else I can do to run parallel? If not, I can always just run 1 subject at a time, but I want to check and see if there is another way to get this to work.
Thank you for your time! Joanna _______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edumailto:Freesurfer@nmr.mgh.harvard.edu MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to behttps://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurferhttps://secure-web.cisco.com/1ILvo0uB7lWx-axHoPGB4q0cvAA1n1e51iP9ZDBREMronIAGP2BdjW0ydL2KV40ixuZNveFOpkYO60Giq9X8hmfUMSSxfoU8ANEGyCxW-KZD55ZqjHG-Owiqi6anTG_f50muFMbyceFaa5mO4aFrMLxnczc_d9tB7N0jvxU3CvBEe9sYhA_pGg209ZTwqoWEX1LRm6ktW0nNwwas6y5wKAIu0w9jI2uPU7VhmovHFET_uWl2EX7tLiUoRKE3DC5b1-IZhj6q7Nd7gFm980hqpW6YRPz6_lFTIjmwdLO51Wo5UhxA8WdvUm528i4iFK-qFB3-WAocW7D2d3hhuSodVaw/https%3A%2F%2Furldefense.com%2Fv3%2F__https%3A%2F%2Fsecure-web.cisco.com%2F1wqY-Ujl7LT4WTzng0eKk7WDyOCZjsar4oRHIX_CYEhNo5UxzNMLgBsoihpg3_QNoy6KnSjwgHaNCfw3FQiOcWXhieHH8N7VJFHDbH0pZ1seLE9mxbt_8kszMBfZVj071vjbvkuETCl9P2LsNSWhEkJArA-rJ84VdC0I3z_krjhAckKUSAuiZlKDycTn7UOSnGJAoPl_H7oOdnyflnBIPYkxEkKBedNyLQgHE5vEG9dYE-Ch75ADdPUI8IXFJdvaTz4v1tz868SY1f8xnrrskjiSRcNMBFoEaV4AVIJ1sOl8NuvpY5WRUi3imwCk1ms8kHMgy07DWTQT4O_VWJIfz1Q%2Fhttps*3A*2F*2Furldefense.com*2Fv3*2F__https*3A*2F*2Fmail.nmr.mgh.harvard.edu*2Fmailman*2Flistinfo*2Ffreesurfer__*3B*21*21LLK065n_VXAQ*21mnDWhbxYb5liE7KY5Xzeagh-nmOAR20uKTfeGNmrHSEPrOcYIkR8uCl8N9B5rSQrQuTkFNc93Jiyfl9b3qq-m9KSWQsy*24__;JSUlJSUlJSUlJSUlJSUlJQ!!LLK065n_VXAQ!jNG2yqsWAY2sXDszDYzGZdUn4OpIoaDRv7N7WGM44gTiJn_f3K0Ki7ajfEQUyTHYsZOy120o294nV2NHmqxQ$
_______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edumailto:Freesurfer@nmr.mgh.harvard.edu https://secure-web.cisco.com/1nRwaW72PlYLFHWn357Zlzq8LOLgk0hJ1lLc97KCGd9UDlh...https://secure-web.cisco.com/1tqIcZmw6FzYlGdaBMcT1G3gnvmlqr5PICLN5v_QDbk6j2I3-bho7igS0nkKkekbZlVFe70uqZhAnjCsxQJiVMpgwrmfKIkly-HefMVtmRU6O61X6axGlX6k4rUhsqwfzxPTrTpMF7b2ox99f-VlsAP05k1qGgqV43fYzGQH2zt9w4uk21nsAGVzbVR4dOhZXfommJi-Q9uMc4_cSd5KnBxoE18Vbz6nuoE4rc5LmrgBwCDVkMRdSyg2PdjeL44mGZT3Gmv5WHvMzMWiyQaYoscWT8BjM5EPgK7lg2Lsh9NiUIi83cEHMdXEcEJQC0j8ESJMhB3-QiKPf9eVtJRLYTQ/https%3A%2F%2Furldefense.com%2Fv3%2F__https%3A%2F%2Fmail.nmr.mgh.harvard.edu%2Fmailman%2Flistinfo%2Ffreesurfer__;!!LLK065n_VXAQ!jNG2yqsWAY2sXDszDYzGZdUn4OpIoaDRv7N7WGM44gTiJn_f3K0Ki7ajfEQUyTHYsZOy120o294nV_LCZV6y$
freesurfer@nmr.mgh.harvard.edu