Re: [Freesurfer] Recon-all for a common template

2024-06-03 Thread Douglas N. Greve
Why did you do an lr reversal if it looked good? And when you say it 
looks good, what do you mean. One thing to double check is that the 
orientation looks ok. Load it in freeview. Up at the top you will see 
little brain images in coronal, sagital, and axial. When you click on 
one of those, the brain in the main image should become coronal, sag, or 
axial. If this does not happen, then something is wrong.

On 5/29/2024 10:47 AM, Chen Yang wrote:
>  External Email - Use Caution
>
> Hi Douglas,
>
> thanks so much for you reply. Yes, I checked the template and it looks good. 
> The orientation was in LAS originally then I did the Left-Right Reversal by 
> using the command "mri_convert --in_orientation RIA". Before or after the 
> reversal, I got the same error message. Here I attached the template, could 
> you please have a look in case of any clue? Thank you so much!
>
> Best,
> Chen
>
>   
>
> - Original Message -
>> From: "Douglas N. Greve" 
>> To: "freesurfer" 
>> Sent: Wednesday, 29 May, 2024 15:26:25
>> Subject: Re: [Freesurfer] Recon-all for a common template
>> sounds like something is wrong with the image. Did you look at
>> ANTS_QS_... ? Is it oriented correctly? Does it look like a brain in a
>> head?
>>
>> On 5/28/2024 6:07 AM, Chen Yang wrote:
>>>   External Email - Use Caution
>>>
>>> Hi everyone,
>>>
>>> I tried to run the reconstruction with the command line:  recon-all -i
>>> ANTS_QS_template_MNI.nii.gz -subject CGBT -all
>>>
>>> then I got the error message:
>>> talairach_avi --i orig_nu.mgz --xfm transforms/talairach.auto.xfm
>>> talairach_avi log file is transforms/talairach_avi.log...
>>> ERROR: mpr2mni305 failed, see transforms/talairach_avi.log
>>> Linux ramones 5.10.0-28-amd64 #1 SMP Debian 5.10.209-2 (2024-01-31) x86_64
>>> GNU/Linux
>>>
>>> And this is the error message in the talairach_avi.log:
>>> imgrege: no voxels in register
>>> ERROR: 'imgreg_4dfp
>>> /software/freesurfer/6.0.0p1/debian-bullseye-amd64/average/711-2C_as_mni_average_305
>>> /software/freesurfer/6.0.0p1/debian-bullseye-amd64/average/711-2B_as_mni_average_305_mask
>>> talsrcimg_g11 none talsrcimg_to_711-2C_as_mni_average_305_t4 1283' failed!
>>> status=254
>>> ERROR: mpr2mni305 execution aborted
>>>
>>> Does anyone know how to solve this problem? Thanks so much!
>>>
>>> Best,
>>> Chen
>>> - Original Message -
>>>> From: "Chen Yang" 
>>>> To: "freesurfer" 
>>>> Sent: Monday, 20 May, 2024 13:59:13
>>>> Subject: [Freesurfer] Recon-all for a common template
>>>> External Email - Use Caution
>>>>
>>>> Dear Freesurfer Developers,
>>>>
>>>> my data is from 50 preschoolers and I created my own group template from 
>>>> these
>>>> kids using the 'buildtemplateparallel' scripts from ANTs. I got a nifti 
>>>> file
>>>> (see attached). Then we'd like to process this group template in 
>>>> Freesurfer to
>>>> reconstruct the cortical surfaces as the individual brain images. My 
>>>> question
>>>> is, how can i do the recon-all with the template? Because I only have this
>>>> template file I feel I don't have enough input files(?).
>>>>
>>>> Thanks in advance!
>>>>
>>>> Best regards,
>>>> Chen
>>>>
>>>> --
>>>> Chen Yang
>>>>
>>>> PhD Student
>>>> Independent Research Group 'Milestones of Early Childhood Development'
>>>> Max Planck Institute for Human Cognitive and Brain Sciences
>>>>
>>>> Email:ya...@cbs.mpg.de
>>>>
>>>> ___
>>>> Freesurfer mailing list
>>>> Freesurfer@nmr.mgh.harvard.edu
>>>> https://secure-web.cisco.com/152_yjWgWiW7QaUCNWdHFdgPDgbGmCDd24wrNL32r-4bja7mb7PwZLrVrT8x_Ot8oLBlBDSrPO5K5UwFJww_c_Y6HNu9vVaziQgviXOWppVzFqlFYr7Go-t0P0ERBoTxsiCjkgkjp8sqNY12lF_6KIfy959AukP9K4eVWkLGWIlqP1lI_TQg2slA5qX1X8cEK857YHHC7vYcLM4qF7sKEU0nJ9xOLxq89J8jkqjRr9_G8fkxbUlriLEANx5HQWi_HJrmVUug78slky8NFQA8NxGyoQIVMsNUzUALsTUJfZAHI6rBpxPQLUejRDnI1ZFbAJwtYq_-f7tFE_dpFheFywA/https%3A%2F%2Fmail.nmr.mgh.harvard.edu%2Fmailman%2Flistinfo%2Ffreesurfer
>>>> The information in this e-mail is intended only for th

Re: [Freesurfer] Recon-all for a common template

2024-05-29 Thread Douglas N. Greve
sounds like something is wrong with the image. Did you look at 
ANTS_QS_... ? Is it oriented correctly? Does it look like a brain in a 
head?

On 5/28/2024 6:07 AM, Chen Yang wrote:
>  External Email - Use Caution
>
> Hi everyone,
>
> I tried to run the reconstruction with the command line:  recon-all -i 
> ANTS_QS_template_MNI.nii.gz -subject CGBT -all
>
> then I got the error message:
> talairach_avi --i orig_nu.mgz --xfm transforms/talairach.auto.xfm
> talairach_avi log file is transforms/talairach_avi.log...
> ERROR: mpr2mni305 failed, see transforms/talairach_avi.log
> Linux ramones 5.10.0-28-amd64 #1 SMP Debian 5.10.209-2 (2024-01-31) x86_64 
> GNU/Linux
>
> And this is the error message in the talairach_avi.log:
> imgrege: no voxels in register
> ERROR: 'imgreg_4dfp 
> /software/freesurfer/6.0.0p1/debian-bullseye-amd64/average/711-2C_as_mni_average_305
>  
> /software/freesurfer/6.0.0p1/debian-bullseye-amd64/average/711-2B_as_mni_average_305_mask
>  talsrcimg_g11 none talsrcimg_to_711-2C_as_mni_average_305_t4 1283' failed! 
> status=254
> ERROR: mpr2mni305 execution aborted
>
> Does anyone know how to solve this problem? Thanks so much!
>
> Best,
> Chen
> - Original Message -
>> From: "Chen Yang" 
>> To: "freesurfer" 
>> Sent: Monday, 20 May, 2024 13:59:13
>> Subject: [Freesurfer] Recon-all for a common template
>
>> External Email - Use Caution
>>
>> Dear Freesurfer Developers,
>>
>> my data is from 50 preschoolers and I created my own group template from 
>> these
>> kids using the 'buildtemplateparallel' scripts from ANTs. I got a nifti file
>> (see attached). Then we'd like to process this group template in Freesurfer 
>> to
>> reconstruct the cortical surfaces as the individual brain images. My question
>> is, how can i do the recon-all with the template? Because I only have this
>> template file I feel I don't have enough input files(?).
>>
>> Thanks in advance!
>>
>> Best regards,
>> Chen
>>
>> --
>> Chen Yang
>>
>> PhD Student
>> Independent Research Group 'Milestones of Early Childhood Development'
>> Max Planck Institute for Human Cognitive and Brain Sciences
>>
>> Email:ya...@cbs.mpg.de
>>
>> ___
>> Freesurfer mailing list
>> Freesurfer@nmr.mgh.harvard.edu
>> https://secure-web.cisco.com/152_yjWgWiW7QaUCNWdHFdgPDgbGmCDd24wrNL32r-4bja7mb7PwZLrVrT8x_Ot8oLBlBDSrPO5K5UwFJww_c_Y6HNu9vVaziQgviXOWppVzFqlFYr7Go-t0P0ERBoTxsiCjkgkjp8sqNY12lF_6KIfy959AukP9K4eVWkLGWIlqP1lI_TQg2slA5qX1X8cEK857YHHC7vYcLM4qF7sKEU0nJ9xOLxq89J8jkqjRr9_G8fkxbUlriLEANx5HQWi_HJrmVUug78slky8NFQA8NxGyoQIVMsNUzUALsTUJfZAHI6rBpxPQLUejRDnI1ZFbAJwtYq_-f7tFE_dpFheFywA/https%3A%2F%2Fmail.nmr.mgh.harvard.edu%2Fmailman%2Flistinfo%2Ffreesurfer
>> 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 Mass General Brigham
>> Compliance HelpLine at 
>> https://secure-web.cisco.com/11mMZdD6LhDXEAAcaJ4Xy45caoyjFwMiMVfuaYZa2H53fEgoAlcxYFnPNAEvuKibSz7sTalF3-60W_3rEsc-BISUkLSeThSZls51MwfywgHe4znvdORkACP70In-BECXqW7npDFdSLeZCyWE6pgU8llrsGfB0rzuxH3J_i2-hq1NJFGzciLCEXMpTgybN0L6kieSOJRb1dF9jS4nm3XSzAp16I1RbAu0p7ytwQSJL_v7gESlUx85DZAUAnUFN4dLPHjk0Gzcdc3BaVL7atjpOOBvb8pKC3DbF9dcBzjwJkuAzNobaTnF1qSWCpWUOWi04nRWPis06clEkXteO2SXlLg/https%3A%2F%2Fwww.massgeneralbrigham.org%2Fcomplianceline
>> <https://secure-web.cisco.com/11mMZdD6LhDXEAAcaJ4Xy45caoyjFwMiMVfuaYZa2H53fEgoAlcxYFnPNAEvuKibSz7sTalF3-60W_3rEsc-BISUkLSeThSZls51MwfywgHe4znvdORkACP70In-BECXqW7npDFdSLeZCyWE6pgU8llrsGfB0rzuxH3J_i2-hq1NJFGzciLCEXMpTgybN0L6kieSOJRb1dF9jS4nm3XSzAp16I1RbAu0p7ytwQSJL_v7gESlUx85DZAUAnUFN4dLPHjk0Gzcdc3BaVL7atjpOOBvb8pKC3DbF9dcBzjwJkuAzNobaTnF1qSWCpWUOWi04nRWPis06clEkXteO2SXlLg/https%3A%2F%2Fwww.massgeneralbrigham.org%2Fcomplianceline>
>>  .
>> Please note that this e-mail is not secure (encrypted).  If you do not wish 
>> to
>> continue communication over unencrypted e-mail, please notify the sender of
>> this message immediately.  Continuing to send or respond to e-mail after
>> receiving this message means you understand and accept this risk and wish to
>> continue to communicate over unencrypted e-mail.
> ___
> 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
T

Re: [Freesurfer] Recon-all for a common template

2024-05-28 Thread Chen Yang
External Email - Use Caution

Hi everyone,

I tried to run the reconstruction with the command line:  recon-all -i 
ANTS_QS_template_MNI.nii.gz -subject CGBT -all

then I got the error message: 
talairach_avi --i orig_nu.mgz --xfm transforms/talairach.auto.xfm 
talairach_avi log file is transforms/talairach_avi.log...
ERROR: mpr2mni305 failed, see transforms/talairach_avi.log
Linux ramones 5.10.0-28-amd64 #1 SMP Debian 5.10.209-2 (2024-01-31) x86_64 
GNU/Linux

And this is the error message in the talairach_avi.log:
imgrege: no voxels in register
ERROR: 'imgreg_4dfp 
/software/freesurfer/6.0.0p1/debian-bullseye-amd64/average/711-2C_as_mni_average_305
 
/software/freesurfer/6.0.0p1/debian-bullseye-amd64/average/711-2B_as_mni_average_305_mask
 talsrcimg_g11 none talsrcimg_to_711-2C_as_mni_average_305_t4 1283' failed! 
status=254
ERROR: mpr2mni305 execution aborted

Does anyone know how to solve this problem? Thanks so much!

Best,
Chen
- Original Message -
> From: "Chen Yang" 
> To: "freesurfer" 
> Sent: Monday, 20 May, 2024 13:59:13
> Subject: [Freesurfer] Recon-all for a common template


> External Email - Use Caution
> 
> Dear Freesurfer Developers,
> 
> my data is from 50 preschoolers and I created my own group template from these
> kids using the 'buildtemplateparallel' scripts from ANTs. I got a nifti file
> (see attached). Then we'd like to process this group template in Freesurfer to
> reconstruct the cortical surfaces as the individual brain images. My question
> is, how can i do the recon-all with the template? Because I only have this
> template file I feel I don't have enough input files(?).
> 
> Thanks in advance!
> 
> Best regards,
> Chen
> 
> --
> Chen Yang
> 
> PhD Student
> Independent Research Group 'Milestones of Early Childhood Development'
> Max Planck Institute for Human Cognitive and Brain Sciences
> 
> Email:ya...@cbs.mpg.de
> 
> ___
> Freesurfer mailing list
> Freesurfer@nmr.mgh.harvard.edu
> https://secure-web.cisco.com/152_yjWgWiW7QaUCNWdHFdgPDgbGmCDd24wrNL32r-4bja7mb7PwZLrVrT8x_Ot8oLBlBDSrPO5K5UwFJww_c_Y6HNu9vVaziQgviXOWppVzFqlFYr7Go-t0P0ERBoTxsiCjkgkjp8sqNY12lF_6KIfy959AukP9K4eVWkLGWIlqP1lI_TQg2slA5qX1X8cEK857YHHC7vYcLM4qF7sKEU0nJ9xOLxq89J8jkqjRr9_G8fkxbUlriLEANx5HQWi_HJrmVUug78slky8NFQA8NxGyoQIVMsNUzUALsTUJfZAHI6rBpxPQLUejRDnI1ZFbAJwtYq_-f7tFE_dpFheFywA/https%3A%2F%2Fmail.nmr.mgh.harvard.edu%2Fmailman%2Flistinfo%2Ffreesurfer
> 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 Mass General Brigham
> Compliance HelpLine at 
> https://secure-web.cisco.com/11mMZdD6LhDXEAAcaJ4Xy45caoyjFwMiMVfuaYZa2H53fEgoAlcxYFnPNAEvuKibSz7sTalF3-60W_3rEsc-BISUkLSeThSZls51MwfywgHe4znvdORkACP70In-BECXqW7npDFdSLeZCyWE6pgU8llrsGfB0rzuxH3J_i2-hq1NJFGzciLCEXMpTgybN0L6kieSOJRb1dF9jS4nm3XSzAp16I1RbAu0p7ytwQSJL_v7gESlUx85DZAUAnUFN4dLPHjk0Gzcdc3BaVL7atjpOOBvb8pKC3DbF9dcBzjwJkuAzNobaTnF1qSWCpWUOWi04nRWPis06clEkXteO2SXlLg/https%3A%2F%2Fwww.massgeneralbrigham.org%2Fcomplianceline
> <https://secure-web.cisco.com/11mMZdD6LhDXEAAcaJ4Xy45caoyjFwMiMVfuaYZa2H53fEgoAlcxYFnPNAEvuKibSz7sTalF3-60W_3rEsc-BISUkLSeThSZls51MwfywgHe4znvdORkACP70In-BECXqW7npDFdSLeZCyWE6pgU8llrsGfB0rzuxH3J_i2-hq1NJFGzciLCEXMpTgybN0L6kieSOJRb1dF9jS4nm3XSzAp16I1RbAu0p7ytwQSJL_v7gESlUx85DZAUAnUFN4dLPHjk0Gzcdc3BaVL7atjpOOBvb8pKC3DbF9dcBzjwJkuAzNobaTnF1qSWCpWUOWi04nRWPis06clEkXteO2SXlLg/https%3A%2F%2Fwww.massgeneralbrigham.org%2Fcomplianceline>
>  .
> Please note that this e-mail is not secure (encrypted).  If you do not wish to
> continue communication over unencrypted e-mail, please notify the sender of
> this message immediately.  Continuing to send or respond to e-mail after
> receiving this message means you understand and accept this risk and wish to
> continue to communicate over unencrypted e-mail.

___
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 Mass General Brigham 
Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline 
<https://www.massgeneralbrigham.org/complianceline> .
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 



Re: [Freesurfer] recon-all process still not finishing properly

2024-05-08 Thread Douglas N. Greve
It should just run the fill step. However, I've been slowly 
reprogramming recon-all to just see what needs to be run and rerun it, 
so you might get more than just the fill.


On 5/3/2024 4:38 PM, Dong, Yilei wrote:


External Email - Use Caution

Hi Freesurfer Developers,

Just to reply to this thread again, if I want to see if recon-all will 
just run the -fill step, do I submit it on the files that have already 
been run? In addition, does this error count as Freesurfer running out 
of RAM or it's more of a cluster issue I have to talk with the staff 
that manage it?


Sincerely,
Yilei

*From:* Dong, Yilei 
*Sent:* Tuesday, April 23, 2024 3:34 PM
*To:* freesurfer@nmr.mgh.harvard.edu 
*Subject:* Re: [Freesurfer] recon-all process still not finishing 
properly

Hi Freesurfer support,

I have several questions regarding recon-all -fill and -debug.

If we run recon-all -fill, what is the command set-up for that? From 
the ReconAllDevTable here, *MailScanner has detected a possible fraud 
attempt from "secure-web.cisco.com" claiming to be* 
https://surfer.nmr.mgh.harvard.edu/fswiki/ReconAllDevTable 
<https://secure-web.cisco.com/1lmfyKn6Pvakq-RQxgJbE5k4RDGG6d0Vpvb5lGcjzph3h7UE3rIOK94h4_vGK8oa4q_FYtrbTmYfXg9SF-sFCkj4DY_oUkqnlqG_VRr6zv-uPviunfO901Vr4Llra2RZoL7k2SaVz5b8sHZwz9tr28nK4K01ItC1QwtyMTw-gA6LKU-lK3jTTjAHXqq0NK-7yqLmD6TCtsqdbNsdoxGLEfnWyV4rlB4ypTtbp8RQCkTKa8EWWLysYONW6-m24iLcIBbOt0l9i4UxjEV-DHag-8gIkxA9SeCthGdnNmHPEyy8ngikQbSR5ckvogYu-nsAi/https%3A%2F%2Fsurfer.nmr.mgh.harvard.edu%2Ffswiki%2FReconAllDevTable>, 
do we structure the recon-all command to be: recon-all -autorecon2 
-fill -subjid ? I attempted to run recon-all -fill with -debug 
with the structure as follows: recon-all -s $subject -i $1 -fill 
-debug and I was wondering if this was the wrong format. I have also 
attached our recon-all-slurm-apr19.sb cluster submission file for 
reference.


Does recon-all -fill only run the fill step, while ignoring the 
previous steps before that or does recon-all run through all the 
initial steps including the -fill step ideally?


Regarding recon-all -debug, does the stdout file have the huge amounts 
of text specifying what each line is doing? I have included .out and 
.err files from the same recon-all -fill with -debug command for 
reference.


Sincerely,
Yilei

*From:* freesurfer-boun...@nmr.mgh.harvard.edu 
 on behalf of Douglas N. Greve 


*Sent:* Thursday, April 18, 2024 2:57 PM
*To:* freesurfer@nmr.mgh.harvard.edu 
*Subject:* Re: [Freesurfer] recon-all process still not finishing 
properly
not sure what is happening. You can run recon-all with -debug and 
capture the output (both stdout and stderr) into a file. This will 
cause it to print out huge amounts of text specifying what it is doing 
on each line. You should also see if there is some stderr output that 
is not being caught. You can try running recon-all -fill on the 
subject that you created to see if the fill will run at all (this may 
be easier than waiting 4 hours).


On 4/8/2024 3:18 PM, Dong, Yilei wrote:


External Email - Use Caution

Hi Freesurfer Support,

The past few weeks, I've emailed about my recon-all processing stream 
never completely finishing.
We are still encountering the same problem. For context, our 
recon-all job submission script runs recon-all for 1 image. Given a 
folder of 100 MRI images, we have another script that calls upon the 
recon-all script for each image within the folder via a for loop. The 
result is 100 jobs running in parallel on the cluster.


I have attached a screenshot of the parameters we set whenever we 
submit each recon-all job for each image by SLURM to UCSD's cluster. 
The maximum time we are allowed for each job is 48 hours. Our jobs 
are shared-node jobs, which means we run more than 1 job on a single 
node. This time, we increased RAM from 8GB to 16GB in hopes the 
entire recon-all processing stream can fully run through for each 
image, but it still stops at "mri_pretess done" and does not go on to 
the -fill step. Each job submitted to the cluster took around 4 hours 
and 20 minutes each to run in our most recent attempt.


If increasing the RAM did not change anything for us, how else can we 
get more verbose error messages? What other reasons could be why our 
recon-all aborts before finishing? I have attached a recon-all.log 
from one of our subjects for reference and a screenshot of the 
parameters we set for submitting jobs in our cluster for reference.



Freesurfer version: 7.2.0, but already available as module on UCSD's 
cluster system


Platform: Rocky Linux release 8.8 (Green Obsidian)

uname -a: Linux login01 4.18.0-477.15.1.el8_8.x86_64 #1 SMP Wed Jun 
28 15:04:18 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux


Recon-all log: see attached


Than

Re: [Freesurfer] recon-all process still not finishing properly

2024-05-03 Thread Dong, Yilei
External Email - Use Caution

Hi Freesurfer Developers,

Just to reply to this thread again, if I want to see if recon-all will just run 
the -fill step, do I submit it on the files that have already been run? In 
addition, does this error count as Freesurfer running out of RAM or it's more 
of a cluster issue I have to talk with the staff that manage it?

Sincerely,
Yilei

From: Dong, Yilei 
Sent: Tuesday, April 23, 2024 3:34 PM
To: freesurfer@nmr.mgh.harvard.edu 
Subject: Re: [Freesurfer] recon-all process still not finishing properly

Hi Freesurfer support,

I have several questions regarding recon-all -fill and -debug.

If we run recon-all -fill, what is the command set-up for that? From the 
ReconAllDevTable here, 
https://secure-web.cisco.com/1lmfyKn6Pvakq-RQxgJbE5k4RDGG6d0Vpvb5lGcjzph3h7UE3rIOK94h4_vGK8oa4q_FYtrbTmYfXg9SF-sFCkj4DY_oUkqnlqG_VRr6zv-uPviunfO901Vr4Llra2RZoL7k2SaVz5b8sHZwz9tr28nK4K01ItC1QwtyMTw-gA6LKU-lK3jTTjAHXqq0NK-7yqLmD6TCtsqdbNsdoxGLEfnWyV4rlB4ypTtbp8RQCkTKa8EWWLysYONW6-m24iLcIBbOt0l9i4UxjEV-DHag-8gIkxA9SeCthGdnNmHPEyy8ngikQbSR5ckvogYu-nsAi/https%3A%2F%2Fsurfer.nmr.mgh.harvard.edu%2Ffswiki%2FReconAllDevTable,
 do we structure the recon-all command to be: recon-all -autorecon2 -fill 
-subjid ? I attempted to run recon-all -fill with -debug with the 
structure as follows: recon-all -s $subject -i $1 -fill -debug and I was 
wondering if this was the wrong format. I have also attached our 
recon-all-slurm-apr19.sb cluster submission file for reference.

Does recon-all -fill only run the fill step, while ignoring the previous steps 
before that or does recon-all run through all the initial steps including the 
-fill step ideally?

Regarding recon-all -debug, does the stdout file have the huge amounts of text 
specifying what each line is doing? I have included .out and .err files from 
the same recon-all -fill with -debug command for reference.

Sincerely,
Yilei

From: freesurfer-boun...@nmr.mgh.harvard.edu 
 on behalf of Douglas N. Greve 

Sent: Thursday, April 18, 2024 2:57 PM
To: freesurfer@nmr.mgh.harvard.edu 
Subject: Re: [Freesurfer] recon-all process still not finishing properly

not sure what is happening. You can run recon-all with -debug and capture the 
output (both stdout and stderr) into a file. This will cause it to print out 
huge amounts of text specifying what it is doing on each line. You should also 
see if there is some stderr output that is not being caught. You can try 
running recon-all -fill on the subject that you created to see if the fill will 
run at all (this may be easier than waiting 4 hours).

On 4/8/2024 3:18 PM, Dong, Yilei wrote:

External Email - Use Caution

Hi Freesurfer Support,

The past few weeks, I've emailed about my recon-all processing stream never 
completely finishing.
We are still encountering the same problem. For context, our recon-all job 
submission script runs recon-all for 1 image. Given a folder of 100 MRI images, 
we have another script that calls upon the recon-all script for each image 
within the folder via a for loop. The result is 100 jobs running in parallel on 
the cluster.

I have attached a screenshot of the parameters we set whenever we submit each 
recon-all job for each image by SLURM to UCSD's cluster. The maximum time we 
are allowed for each job is 48 hours. Our jobs are shared-node jobs, which 
means we run more than 1 job on a single node. This time, we increased RAM from 
8GB to 16GB in hopes the entire recon-all processing stream can fully run 
through for each image, but it still stops at "mri_pretess done" and does not 
go on to the -fill step. Each job submitted to the cluster took around 4 hours 
and 20 minutes each to run in our most recent attempt.

If increasing the RAM did not change anything for us, how else can we get more 
verbose error messages? What other reasons could be why our recon-all aborts 
before finishing? I have attached a recon-all.log from one of our subjects for 
reference and a screenshot of the parameters we set for submitting jobs in our 
cluster for reference.


Freesurfer version: 7.2.0, but already available as module on UCSD's cluster 
system

Platform: Rocky Linux release 8.8 (Green Obsidian)

uname -a: Linux login01 4.18.0-477.15.1.el8_8.x86_64 #1 SMP Wed Jun 28 15:04:18 
UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Recon-all log: see attached


Thank you!


Sincerely,

Yilei



___
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu<mailto:Freesurfer@nmr.mgh.harvard.edu>
https://secure-web.cisco.com/1Pv7GW0cJEBRkDoNxnJuTO5eel1Em4ED-AsDRikPcYZfFw6NvllHzDdQK6OH4-hUM_5fxww8WdORdE6BgXd1_Kl6XnkSen7RhGQpAjqK34FdIcfEnxBuExdbuVGs-opQaCfmrzmpAfsPGtgwrZrtHxLHs1TicUxYbOTkF1w6HpJPI9xK_lVTXTFQi91WRvtgL46bbVfJHh3QF0i5U2qVsepG6pNCvRC_KfbEb-cBU67bHOQ5v7UPgvZlaeH6WVmJw8eTV8GPQvujReNCBnukpc7dCZdXRpyqsmqDSxuDTmSa7zJSbFOsnRRkIj872

Re: [Freesurfer] [FreeSurfer] recon-all exited with error - watershed error

2024-05-01 Thread Krystal Xiwing Yau
External Email - Use Caution

Dear FS experts,


I would like to follow up with the matter here - the T1.mgz isn't generated so 
I cannot inspect the image as instructed by the wiki page. I have checked the 
orientation on FreeView but it's correct. Would you please kindly advise?


Thank you so much. It's been grateful to have your guidance and support.


Sincerely,

Krystal


FreeSurfer Version: 7.3.2

OS: Linux on Ubuntu 23.04



From: freesurfer-boun...@nmr.mgh.harvard.edu 
 on behalf of Krystal Xiwing Yau 

Sent: 29 April 2024 16:58:18
To: Freesurfer support list
Subject: [Freesurfer] [FreeSurfer] recon-all exited with error - watershed error


External Email - Use Caution

Dear FS experts,


I am encountering an error when running recon-all. I followed the FAQ 
<https://secure-web.cisco.com/1UCt6p3edZmVlY3vv2VBSKmRgX9p8Xmur_qX9QMrgPbk8pWw9hHbqUAl1LZ_m2e32JfBHVEoBVrUNQvjBq0U3vvtrtjgPoZTjX7UkqLsMktSt6nn2RFU4zp2wd0wdpswqNm6XAl9mk5UJ-1PEUODQnSFar41wBeWSIboTu0lN5gBeRyNoAiCUEA08mjSPuoyXwcECXM_2QBB8tx8EDMX4WoG7o1xLXJBbOOhubNG1AZpDhbgMLaeECRxthEWcFlWJ8lzNAufWmLdKKeuBWvN8XHkoFomG8UPqPs_pZSPStv6BCjQ0hhTDOYaOfyeLOqA3/https%3A%2F%2Fsurfer.nmr.mgh.harvard.edu%2Ffswiki%2FUserContributions%2FFAQ%23Q.Help.21Igotthiserrormessage.3A.22mriwatershederror.3AGLOBALregionofthebrainempty.21.22-whatshouldIdo.3F>
 page to rerun the command but still not running through. Would you please 
kindly advise? The log file is attached to this email.


Thank you.


Regards,
Krystal

Tel.: +852 2255 5024
Fax: +852 2872 5828
Address: Room 304, 3/F, New Clinical Building, 102 Pokfulam Road, Hong Kong.
___
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 Mass General Brigham 
Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline 
<https://www.massgeneralbrigham.org/complianceline> .
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 


Re: [Freesurfer] recon-all process still not finishing properly

2024-04-23 Thread Dong, Yilei
External Email - Use Caution

Hi Freesurfer support,

I have several questions regarding recon-all -fill and -debug.

If we run recon-all -fill, what is the command set-up for that? From the 
ReconAllDevTable here, 
https://secure-web.cisco.com/168deFdRWVJ6rqWKdMIwjH_-sTPV9vncDkCBQheBnFXRjWPeM947jBmyBHJo3h-QEnDusTKbRmjjkTkDeDGvR3IZaeDV7vw2Td-KoOaXSRXub7gll1iS4zMc8ejCPJ3fNkbX-vkC_fosx5qsWn8IedW1Kr8lFwV1-6quZoijHC7oEiNozNkmbfREm-6mPo0f5RRuZBF1BESAsz2Hi-KrB3BeTh9VMEUOrbwcoMBVZMO7NH1LiT8XfJ0KeV_bWLPrB1HsW4d55bPQ8CwvSUWN8nVBmc5jKr3nYseN1h_SvY5PEFvJKmZ0GDgF9iTBaQ7P7/https%3A%2F%2Fsurfer.nmr.mgh.harvard.edu%2Ffswiki%2FReconAllDevTable,
 do we structure the recon-all command to be: recon-all -autorecon2 -fill 
-subjid ? I attempted to run recon-all -fill with -debug with the 
structure as follows: recon-all -s $subject -i $1 -fill -debug and I was 
wondering if this was the wrong format. I have also attached our 
recon-all-slurm-apr19.sb cluster submission file for reference.

Does recon-all -fill only run the fill step, while ignoring the previous steps 
before that or does recon-all run through all the initial steps including the 
-fill step ideally?

Regarding recon-all -debug, does the stdout file have the huge amounts of text 
specifying what each line is doing? I have included .out and .err files from 
the same recon-all -fill with -debug command for reference.

Sincerely,
Yilei

From: freesurfer-boun...@nmr.mgh.harvard.edu 
 on behalf of Douglas N. Greve 

Sent: Thursday, April 18, 2024 2:57 PM
To: freesurfer@nmr.mgh.harvard.edu 
Subject: Re: [Freesurfer] recon-all process still not finishing properly

not sure what is happening. You can run recon-all with -debug and capture the 
output (both stdout and stderr) into a file. This will cause it to print out 
huge amounts of text specifying what it is doing on each line. You should also 
see if there is some stderr output that is not being caught. You can try 
running recon-all -fill on the subject that you created to see if the fill will 
run at all (this may be easier than waiting 4 hours).

On 4/8/2024 3:18 PM, Dong, Yilei wrote:

External Email - Use Caution

Hi Freesurfer Support,

The past few weeks, I've emailed about my recon-all processing stream never 
completely finishing.
We are still encountering the same problem. For context, our recon-all job 
submission script runs recon-all for 1 image. Given a folder of 100 MRI images, 
we have another script that calls upon the recon-all script for each image 
within the folder via a for loop. The result is 100 jobs running in parallel on 
the cluster.

I have attached a screenshot of the parameters we set whenever we submit each 
recon-all job for each image by SLURM to UCSD's cluster. The maximum time we 
are allowed for each job is 48 hours. Our jobs are shared-node jobs, which 
means we run more than 1 job on a single node. This time, we increased RAM from 
8GB to 16GB in hopes the entire recon-all processing stream can fully run 
through for each image, but it still stops at "mri_pretess done" and does not 
go on to the -fill step. Each job submitted to the cluster took around 4 hours 
and 20 minutes each to run in our most recent attempt.

If increasing the RAM did not change anything for us, how else can we get more 
verbose error messages? What other reasons could be why our recon-all aborts 
before finishing? I have attached a recon-all.log from one of our subjects for 
reference and a screenshot of the parameters we set for submitting jobs in our 
cluster for reference.


Freesurfer version: 7.2.0, but already available as module on UCSD's cluster 
system

Platform: Rocky Linux release 8.8 (Green Obsidian)

uname -a: Linux login01 4.18.0-477.15.1.el8_8.x86_64 #1 SMP Wed Jun 28 15:04:18 
UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Recon-all log: see attached


Thank you!


Sincerely,

Yilei



___
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu<mailto:Freesurfer@nmr.mgh.harvard.edu>
https://secure-web.cisco.com/10vZ3lyKifsSsLtfZzgKvrT91yFm1-8drLKU54PSfnAnAiESmYS6W_CA2fgqhDO78xVRBn80uZ97W0Xc7Q10iR7JcW1W9ONn1KOEFSoWEDcvMesNEJvIXEvbI-bWho7fLs492h0mL1fjQ84GhzaBNBXvLOQFxJEmI8G5ZhJYg3m1BRxSytAaRVKW4ZxBCpj95Seq_GjOWjRncnVq-Jz2fycf9gxJxx_lTMM7AZtWP_1Qjb4cvPwgVoMlOhEGG_8SK6H3u6_BUfXAc6Xlrl6OrscdR2gE0eNXlwN08c3leIR5Bcj9bcYlhnnADh1y3alib/https%3A%2F%2Fmail.nmr.mgh.harvard.edu%2Fmailman%2Flistinfo%2Ffreesurfer<https://secure-web.cisco.com/1L9JtWIahKTHfxUVwdkxJIsmbw26B2aV-zoJtcXFvPFglatVfthNANOU6m6dINcqgOMcqNe6-NyaJ1AACvR352K7WfmeGGQLRHqelIETwyGo-Ax_nLddafs6AFMte7wozQAQA7-h9QiZAa9Y1ygaAONlIsaEVwAHq2B0Jk8QESmgqPwz4w_LSdAjkVLTuvd-sFzVsZcGTaW5j7FdAF9-lianwwSs1wX2pKmBJJeiImfx1uy946naVFPeEn9gh67Cbvtw25-pCSt2lspl0bliEpRlyxHBKqoO7SztH_LqXZyU506emutMUiW7URO2tyocR/https%3A%2F%2Furldefense.com%2Fv3%2F__https%3A%2F%2Fmail.nmr.mgh.harvard.edu%2Fmailman%2Flistinfo%2Ffreesurf

[Freesurfer] recon-all error

2024-04-22 Thread Gregory Book
External Email - Use Caution

I installed freesurfer 7.4.1 on Debian 12 (using the Ubuntu 22 .tar.gz).
Some programs run fine, but some do not.

When running recon-all, I get the following error:
-bash: /opt/freesurfer/freesurfer-7.4.1/bin/recon-all: cannot execute:
required file not found

It does have execute permissions.

What might be happening?
___
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 Mass General Brigham 
Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline 
 .
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 


Re: [Freesurfer] recon-all process still not finishing properly

2024-04-18 Thread Douglas N. Greve
not sure what is happening. You can run recon-all with -debug and 
capture the output (both stdout and stderr) into a file. This will cause 
it to print out huge amounts of text specifying what it is doing on each 
line. You should also see if there is some stderr output that is not 
being caught. You can try running recon-all -fill on the subject that 
you created to see if the fill will run at all (this may be easier than 
waiting 4 hours).


On 4/8/2024 3:18 PM, Dong, Yilei wrote:


External Email - Use Caution

Hi Freesurfer Support,

The past few weeks, I've emailed about my recon-all processing stream 
never completely finishing.
We are still encountering the same problem. For context, our recon-all 
job submission script runs recon-all for 1 image. Given a folder of 
100 MRI images, we have another script that calls upon the recon-all 
script for each image within the folder via a for loop. The result is 
100 jobs running in parallel on the cluster.


I have attached a screenshot of the parameters we set whenever we 
submit each recon-all job for each image by SLURM to UCSD's cluster. 
The maximum time we are allowed for each job is 48 hours. Our jobs are 
shared-node jobs, which means we run more than 1 job on a single node. 
This time, we increased RAM from 8GB to 16GB in hopes the entire 
recon-all processing stream can fully run through for each image, but 
it still stops at "mri_pretess done" and does not go on to the -fill 
step. Each job submitted to the cluster took around 4 hours and 20 
minutes each to run in our most recent attempt.


If increasing the RAM did not change anything for us, how else can we 
get more verbose error messages? What other reasons could be why our 
recon-all aborts before finishing? I have attached a recon-all.log 
from one of our subjects for reference and a screenshot of the 
parameters we set for submitting jobs in our cluster for reference.



Freesurfer version: 7.2.0, but already available as module on UCSD's 
cluster system


Platform: Rocky Linux release 8.8 (Green Obsidian)

uname -a: Linux login01 4.18.0-477.15.1.el8_8.x86_64 #1 SMP Wed Jun 28 
15:04:18 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux


Recon-all log: see attached


Thank you!


Sincerely,

Yilei


___
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 Mass General Brigham 
Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline 
 .
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 


Re: [Freesurfer] Recon-all stuck at topology fix

2024-04-11 Thread Fischl, Bruce R.,PHD
Hi Salil

This looks like a T2-weighted volume. Recon-all by default assumes T1 
weighting. Do you have a T1 you can use (like an MPRAGE or FLASH scan)?

Cheers
Bruce

From: freesurfer-boun...@nmr.mgh.harvard.edu 
 On Behalf Of Bhole, Salil
Sent: Thursday, April 11, 2024 12:36 PM
To: Freesurfer support list 
Subject: Re: [Freesurfer] Recon-all stuck at topology fix


External Email - Use Caution
Here are some images from the patient. I also have the recon-all log posted 
here is well. This is the same patient but taken from a file where I tried to 
manually skull strip to fix the issue, however, the same issue persisted. Thank 
you for your help!

Best,
Salil

From: 
freesurfer-boun...@nmr.mgh.harvard.edu<mailto:freesurfer-boun...@nmr.mgh.harvard.edu>
 
mailto:freesurfer-boun...@nmr.mgh.harvard.edu>>
 on behalf of Fischl, Bruce R.,PHD 
mailto:bfis...@mgh.harvard.edu>>
Sent: Wednesday, April 10, 2024 10:01 PM
To: Freesurfer support list 
mailto:freesurfer@nmr.mgh.harvard.edu>>
Subject: Re: [Freesurfer] Recon-all stuck at topology fix


* External Email - Caution *
Can you post some pictures? The norm.mgz, the wm.mgz, the lh.orig.nofix, the 
aseg.mgz, that kind of thing? Something is badly wrong….
Bruce


On Apr 10, 2024, at 7:05 PM, Bhole, Salil 
mailto:bh...@wustl.edu>> wrote:


External Email - Use Caution
Hello,

I have tried to process this MRI a few times now and it always seems to get 
stuck on the step I have pasted below here. I have tried to fix the defect 
myself by editing the voxels manually, but that has also not seemed to help. 
I've looked through the MRI and there are no obvious deformities/defects. Any 
help with the next steps would be much appreciated.

Best,
Salil



49 defects to be corrected

0 vertices coincident

reading input surface 
/Applications/freesurfer/7.4.1/subjects/Ross_MRI_Neg_LITT/surf/lh.qsphere.nofix...

reading brain volume from brain...

reading wm segmentation from wm...

Reading original properties of orig.nofix

Reading vertex positions of inflated.nofix

Computing Initial Surface Statistics

  -face   loglikelihood: -8.8808  (-4.4404)

  -vertex loglikelihood: -7.5174  (-3.7587)

  -normal dot loglikelihood: -3.4734  (-3.4734)

  -quad curv  loglikelihood: -5.9156  (-2.9578)

  Total Loglikelihood : -25.7872

CORRECTING DEFECT 0 (vertices=116175, convex hull=11639, v0=288)


From: Bhole, Salil
Sent: Wednesday, April 10, 2024 5:59 PM
To: freesurfer@nmr.mgh.harvard.edu<mailto:freesurfer@nmr.mgh.harvard.edu> 
mailto:freesurfer@nmr.mgh.harvard.edu>>
Subject: Recon-all stuck at topology fix

Hello,

I have tried to process this MRI a few times now and it always seems to get 
stuck on the step I have pasted below here. I have tried to fix the defect 
myself by editing the voxels manually, but that has also not seemed to help. 
I've looked through the MRI and there are no obvious deformities/defects. Any 
help with the next steps would be much appreciated.

Best,
Salil



49 defects to be corrected

0 vertices coincident

reading input surface 
/Applications/freesurfer/7.4.1/subjects/Ross_MRI_Neg_LITT/surf/lh.qsphere.nofix...

reading brain volume from brain...

reading wm segmentation from wm...

Reading original properties of orig.nofix

Reading vertex positions of inflated.nofix

Computing Initial Surface Statistics

  -face   loglikelihood: -8.8808  (-4.4404)

  -vertex loglikelihood: -7.5174  (-3.7587)

  -normal dot loglikelihood: -3.4734  (-3.4734)

  -quad curv  loglikelihood: -5.9156  (-2.9578)

  Total Loglikelihood : -25.7872

CORRECTING DEFECT 0 (vertices=116175, convex hull=11639, v0=288)















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.
___
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu<mailto:Freesurfer@nmr.mgh.harvard.edu>
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer


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.
__

Re: [Freesurfer] Recon-all stuck at topology fix

2024-04-10 Thread Fischl, Bruce R.,PHD
Can you post some pictures? The norm.mgz, the wm.mgz, the lh.orig.nofix, the 
aseg.mgz, that kind of thing? Something is badly wrong….
Bruce

On Apr 10, 2024, at 7:05 PM, Bhole, Salil  wrote:



External Email - Use Caution

Hello,

I have tried to process this MRI a few times now and it always seems to get 
stuck on the step I have pasted below here. I have tried to fix the defect 
myself by editing the voxels manually, but that has also not seemed to help. 
I've looked through the MRI and there are no obvious deformities/defects. Any 
help with the next steps would be much appreciated.

Best,
Salil



49 defects to be corrected

0 vertices coincident

reading input surface 
/Applications/freesurfer/7.4.1/subjects/Ross_MRI_Neg_LITT/surf/lh.qsphere.nofix...

reading brain volume from brain...

reading wm segmentation from wm...

Reading original properties of orig.nofix

Reading vertex positions of inflated.nofix

Computing Initial Surface Statistics

  -face   loglikelihood: -8.8808  (-4.4404)

  -vertex loglikelihood: -7.5174  (-3.7587)

  -normal dot loglikelihood: -3.4734  (-3.4734)

  -quad curv  loglikelihood: -5.9156  (-2.9578)

  Total Loglikelihood : -25.7872

CORRECTING DEFECT 0 (vertices=116175, convex hull=11639, v0=288)



From: Bhole, Salil
Sent: Wednesday, April 10, 2024 5:59 PM
To: freesurfer@nmr.mgh.harvard.edu 
Subject: Recon-all stuck at topology fix

Hello,

I have tried to process this MRI a few times now and it always seems to get 
stuck on the step I have pasted below here. I have tried to fix the defect 
myself by editing the voxels manually, but that has also not seemed to help. 
I've looked through the MRI and there are no obvious deformities/defects. Any 
help with the next steps would be much appreciated.

Best,
Salil



49 defects to be corrected

0 vertices coincident

reading input surface 
/Applications/freesurfer/7.4.1/subjects/Ross_MRI_Neg_LITT/surf/lh.qsphere.nofix...

reading brain volume from brain...

reading wm segmentation from wm...

Reading original properties of orig.nofix

Reading vertex positions of inflated.nofix

Computing Initial Surface Statistics

  -face   loglikelihood: -8.8808  (-4.4404)

  -vertex loglikelihood: -7.5174  (-3.7587)

  -normal dot loglikelihood: -3.4734  (-3.4734)

  -quad curv  loglikelihood: -5.9156  (-2.9578)

  Total Loglikelihood : -25.7872

CORRECTING DEFECT 0 (vertices=116175, convex hull=11639, v0=288)








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.
___
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 Mass General Brigham 
Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline 
 .
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 


Re: [Freesurfer] Recon-all stuck at topology fix

2024-04-10 Thread Bhole, Salil
External Email - Use Caution

Hello,

I have tried to process this MRI a few times now and it always seems to get 
stuck on the step I have pasted below here. I have tried to fix the defect 
myself by editing the voxels manually, but that has also not seemed to help. 
I've looked through the MRI and there are no obvious deformities/defects. Any 
help with the next steps would be much appreciated.

Best,
Salil



49 defects to be corrected

0 vertices coincident

reading input surface 
/Applications/freesurfer/7.4.1/subjects/Ross_MRI_Neg_LITT/surf/lh.qsphere.nofix...

reading brain volume from brain...

reading wm segmentation from wm...

Reading original properties of orig.nofix

Reading vertex positions of inflated.nofix

Computing Initial Surface Statistics

  -face   loglikelihood: -8.8808  (-4.4404)

  -vertex loglikelihood: -7.5174  (-3.7587)

  -normal dot loglikelihood: -3.4734  (-3.4734)

  -quad curv  loglikelihood: -5.9156  (-2.9578)

  Total Loglikelihood : -25.7872

CORRECTING DEFECT 0 (vertices=116175, convex hull=11639, v0=288)



From: Bhole, Salil
Sent: Wednesday, April 10, 2024 5:59 PM
To: freesurfer@nmr.mgh.harvard.edu 
Subject: Recon-all stuck at topology fix

Hello,

I have tried to process this MRI a few times now and it always seems to get 
stuck on the step I have pasted below here. I have tried to fix the defect 
myself by editing the voxels manually, but that has also not seemed to help. 
I've looked through the MRI and there are no obvious deformities/defects. Any 
help with the next steps would be much appreciated.

Best,
Salil



49 defects to be corrected

0 vertices coincident

reading input surface 
/Applications/freesurfer/7.4.1/subjects/Ross_MRI_Neg_LITT/surf/lh.qsphere.nofix...

reading brain volume from brain...

reading wm segmentation from wm...

Reading original properties of orig.nofix

Reading vertex positions of inflated.nofix

Computing Initial Surface Statistics

  -face   loglikelihood: -8.8808  (-4.4404)

  -vertex loglikelihood: -7.5174  (-3.7587)

  -normal dot loglikelihood: -3.4734  (-3.4734)

  -quad curv  loglikelihood: -5.9156  (-2.9578)

  Total Loglikelihood : -25.7872

CORRECTING DEFECT 0 (vertices=116175, convex hull=11639, v0=288)








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.
___
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 Mass General Brigham 
Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline 
 .
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 


Re: [Freesurfer] recon-all exits with errors

2024-04-08 Thread William Graves
External Email - Use Caution

That worked beautifully. Thank you Yujing!

Best,
Will

On Apr 8, 2024, at 8:58 AM, Huang, Yujing  wrote:

It looks like mris_fix_topology for lh hemisphere core dumped. This is from 
your recon-all.log:

“
An extra large defect has been detected...
This often happens because cerebellum or dura has not been removed from wm.mgz.
This may cause recon-all to run very slowly or crash.
if so, see 
https://secure-web.cisco.com/1AL1TsrfyQOUqCIXXBqx1RFKat7TzQnns9gtsP_SH6wzu0JJzJkjPRGn3zXY_JKiXzmDUg1Nc-tzfFWQpnHPNPzMLf54XbW5rhuUGA5MICy0cmjt4T13DfL1WZ3UjjS63VM6tkZFUSUEoExarIh4A-bnUMdT6k2EqY8ke5fxffxSt6iXd9mdxqHflOb-HXLwwwWEWFIBhXuEGP7gqmxXBXQt4Y0PLDMHW5xXbd6p1UWbYRuAWsM8lTYDC8y_sGbrRGGh0BVYXqYffCWjcSBW9jo10Fn1RJv5Z3I0HoAee8hEl9ef5I-ThMyz6DUiUFYOZwobueqoJpKLo9-JDOmjv_g/https%3A%2F%2Fsurfer.nmr.mgh.harvard.edu%2Ffswiki%2FFsTutorial%2FTopologicalDefect_freeview
Large defect found - not a problem, but a curiousity
*** stack smashing detected ***: terminated
“

In the tutorial, it has instructions on how to correct topological defects.

Also, I noticed that the recon-all was run with ‘-parallel’ option. Use 
‘-nthreads ’ instead.

Best,

Yujing



From: 
freesurfer-boun...@nmr.mgh.harvard.edu<mailto:freesurfer-boun...@nmr.mgh.harvard.edu>
 
mailto:freesurfer-boun...@nmr.mgh.harvard.edu>>
 On Behalf Of William Graves
Sent: Sunday, April 7, 2024 10:03 PM
To: freesurfer@nmr.mgh.harvard.edu<mailto:freesurfer@nmr.mgh.harvard.edu>
Subject: [Freesurfer] recon-all exits with errors


External Email - Use Caution

Dear FreeSurfer Developers,

I’m trying to run recon-all as a pre-processing step in the AFNI resting-state 
analysis pipline, using the command:
recon-all -subject $subj -i $anat_cm -all -parallel

So far it has successfully run on about 20 participants in my sample, but for 
the current participant it’s now suddenly throwing this error:

PIDs (691564 691567) completed and logs appended.
Linux demeter 6.2.0-26-generic #26~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Jul 
13 16:27:29 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

recon-all -s R21-24 exited with ERRORS at Fri Apr  5 16:29:23 EDT 2024


I searched through the log file, tried Googling the error, and searched your 
email list archive, but couldn’t find anything to address this. The log file is 
attached, along with:

1) FreeSurfer version: freesurfer-linux-ubuntu22_x86_64-7.4.1-20230614-7eb8460
2) Platform: Ubuntu 22.04.3 LTS

I’d appreciate any help or advice you could give!

Best,
Will

---
William W. Graves, Ph.D.
Associate Professor, Department of Psychology
Rutgers, The State University of New Jersey
Smith Hall, Room 337
101 Warren Street, Newark, NJ  07102
http://secure-web.cisco.com/1JFnzsz1va8MJlbUd3wgkrsTxdVUt375K3mHIHN6XQL6fWR6-LFIedc9AOZiELYuHWa0pzs4eLdlq8I3W9ahXVFxVLig0YsEv7t6rFeIqMtvR57RXU6jA0lBuyAIXcSxH8TKYvgWKx_iFt0cv39AmwSoX5tuaMPvFsE3JGj23OUUUGrFSQzWFdkm5iHLJQR4VL5txWBgm_BdmuTPwH3pwKX30lgFgTaAdXoEDpiYwV_tPdluo9TesEgepuUxHNJpq4apSlhUnXaWWdaeAKc_zJQaFJPVVPo92qLz3dtpdGlEgKvnVDaCVVoDj6SFZJZESw0T-MyWEM9X0wjySiHFnyQ/http%3A%2F%2Flbbil.rutgers.edu<http://secure-web.cisco.com/1ub3N-gye177rpuctWMW0Qh4jFHS6ARn7_EpqhMneXWx4bqBInrTbuHiOHqzs_DhJ5WVraQc6fFNDjhC6SFAGAOeQXkUABDiZ5cKn5Nf2ib-uXf3PW0HYIJA8nxaLiozqbVsaDbfD2KsucmwyJLoHKurYqbXxII_-cCujfJY3gkByGVCjrzzMt6fnjZK__2cvCG_QIsgxu6WEscd8_9YgSKH-PaS64LZ67NHwDlqreo5dXKXiMa9VMn5RDqay6LKb5ebAKFQj8-Va6SpBnGyNlexfk7zQ21hzAkTRP782Tsrfk-QmkSl-uOG5zDZINXHDSa8P_YFZmZC1LFYwjxaBRw/http%3A%2F%2Flbbil.rutgers.edu%2F>
___
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu<mailto:Freesurfer@nmr.mgh.harvard.edu>
https://secure-web.cisco.com/1Nk-5NeFOrDTjmmdys3LmERUUspIT3zSLEhkBf-HbgY4U2z5T4FjYDoaad_K0FD6UZMETDZ1h-2eLYcZwaCROGVehFOLz832VrBgTaTYOUUwJVsbYYFmAmOiPcDCmpm-GYsogiuixrycVnGbaI3qii_IGXVdP5-kPVIrOvlzEJ0TpH0fT2IQggRELeAsw-HoYzXrNLLbMlQfUI35AuNDrA5RfY8wDqpCbt-wfcl2WSBr-RDYKFiTqQA3VIe6QdUjgZOA9erZ31KKrXNR9SwR1LQw-aNw5S4yAhkrLneXM1HELDvjBPHhu3tfPBQNak5qqFCIpFElrWJAGHsUcDPUmQA/https%3A%2F%2Fmail.nmr.mgh.harvard.edu%2Fmailman%2Flistinfo%2Ffreesurfer
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 Mass General Brigham 
Compliance HelpLine at 
https://secure-web.cisco.com/1nbPAfcfHKQx971pUD4AmKNEg5jeUR_DNDoyN5mengH80SpAG9uMsVE_pOtcPrILGQEUrqvp5iUf_AQtlXRUE4X3jJa1ivpEzbDuKV8x-HrVpJGjmPJtwieYG9862xhxt6E4eCdeEE0S89oBE7jcrPQAhzDsEpdJyAoR_aM1gqQ8mEZhgZrFbKzQPS5EZz5lijGvQOP-v9D1qvHE0fwAX0puzlmVnrqeBF7C3apzXsQPQqfCW5Jnq3VPi3T2IrOryQQF4ATRMCCZykW8FPZ6kai653HR94mdq01UKd_ChCWTr-egPOErmwp18ycJorD_jBxeHZNT7uQD8bR93dtSiNQ/https%3A%2F%2Fwww.massgeneralbrigham.org%2Fcomplianceline
 
<https://secure-web.cisco.com/1nbPAfcfHKQx971pUD4AmKNEg5jeUR_DNDoyN5mengH80SpAG9uMsVE_pOtcPrILGQEUrqv

Re: [Freesurfer] recon-all exits with errors

2024-04-08 Thread Huang, Yujing
It looks like mris_fix_topology for lh hemisphere core dumped. This is from 
your recon-all.log:

“
An extra large defect has been detected...
This often happens because cerebellum or dura has not been removed from wm.mgz.
This may cause recon-all to run very slowly or crash.
if so, see 
https://surfer.nmr.mgh.harvard.edu/fswiki/FsTutorial/TopologicalDefect_freeview
Large defect found - not a problem, but a curiousity
*** stack smashing detected ***: terminated
“

In the tutorial, it has instructions on how to correct topological defects.

Also, I noticed that the recon-all was run with ‘-parallel’ option. Use 
‘-nthreads ’ instead.

Best,

Yujing



From: freesurfer-boun...@nmr.mgh.harvard.edu 
 On Behalf Of William Graves
Sent: Sunday, April 7, 2024 10:03 PM
To: freesurfer@nmr.mgh.harvard.edu
Subject: [Freesurfer] recon-all exits with errors


External Email - Use Caution
Dear FreeSurfer Developers,

I’m trying to run recon-all as a pre-processing step in the AFNI resting-state 
analysis pipline, using the command:
recon-all -subject $subj -i $anat_cm -all -parallel

So far it has successfully run on about 20 participants in my sample, but for 
the current participant it’s now suddenly throwing this error:

PIDs (691564 691567) completed and logs appended.
Linux demeter 6.2.0-26-generic #26~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Jul 
13 16:27:29 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

recon-all -s R21-24 exited with ERRORS at Fri Apr  5 16:29:23 EDT 2024


I searched through the log file, tried Googling the error, and searched your 
email list archive, but couldn’t find anything to address this. The log file is 
attached, along with:

1) FreeSurfer version: freesurfer-linux-ubuntu22_x86_64-7.4.1-20230614-7eb8460
2) Platform: Ubuntu 22.04.3 LTS

I’d appreciate any help or advice you could give!

Best,
Will

---
William W. Graves, Ph.D.
Associate Professor, Department of Psychology
Rutgers, The State University of New Jersey
Smith Hall, Room 337
101 Warren Street, Newark, NJ  07102
http://lbbil.rutgers.edu
___
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 Mass General Brigham 
Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline 
<https://www.massgeneralbrigham.org/complianceline> .
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 


Re: [Freesurfer] Recon-All Clinical Stream: Image Output Observations in Creating ENIGMA QC Images

2024-04-05 Thread Iglesias Gonzalez, Juan E.
Dear Sam,
The native images live in one space (typically anisotropic), whereas the 
recon-all-clinical files always live in their own 1x1x1mm isotropic grid (which 
is the whole point!). I am not familiar with the Enigma QC procedure but I 
wouldn’t be surprised if it’s not compatible with these variable image spacings.
As a hack, you could maybe try running mri_convert native.mgz 
native.resampled.mgz -rl aseg.mgz, to obtain a (resampled) input scan in the 
same voxel space as the outputs?
Cheers,
/Eugenio

--
Juan Eugenio Iglesias
http://www.jeiglesias.com

From: freesurfer-boun...@nmr.mgh.harvard.edu 
 on behalf of Sam Sievertsen 

Date: Friday, April 5, 2024 at 11:43 AM
To: freesurfer@nmr.mgh.harvard.edu 
Subject: [Freesurfer] Recon-All Clinical Stream: Image Output Observations in 
Creating ENIGMA QC Images

External Email - Use Caution
Good Afternoon,

I hope this email finds you well! My name is Sam Sievertsen, the research 
coordinator for Dr. Jennifer Forsyth at the University of Washington. We are 
utilizing the recon-all clinical processing stream from FreeSurfer 7.4.1 on 
Rocky Linux (within our institutions HPC environment) to process subjects with 
decreased T1 image quality, and for whom previously processing with the 
standard recon-all pipeline resulted in missed grey matter during segmentation. 
Per recommendations in the bug reporting page, I have attached an example 
recon-all clinical log from this processing in case it is helpful.

Following the recon-all clinical processing of these subjects, we are using an 
existing (ENIGMA cortical QC) pipeline to take screenshots of the external 
cortical 
reconstruction<https://secure-web.cisco.com/19i9TSlgNlNnONXLIpqTWX3BCSsnOf-EugV08XsKq72OGsXI7OeYZPf6CqMrvDWAtomUiRFZispIdIZdo9F9SRO3vZL2DV1TkzQpfw6DjK0e7JR8mz4AoTR-papqbzRrkdgPbPDqF2uoVbzJ0L42bCbyFrsf3aIEqbZXVMVFiDooF-J1jxxtF9_dfZFzE0jCwDqb4fw9c-Ls2LJMzqTriaB0ra6YwyMhWrnMB5p0zH0oUUjH6EVuvKf5QGukFG_JWwNBN6egozwsfQLYhSj_2V_loamyo3Q9IbxaTFpbPGg17GYxj276uYTJC7wEaCx_JhhnbRJl7OvgVZc_g_n-_sQ/https%3A%2F%2Fgithub.com%2FENIGMA-git%2FENIGMA-FreeSurfer-protocol%2Fblob%2Fmain%2FENIGMA_QC%2FFS_external_QC.m>
 / aparc+aseg segmentation overlaid on internal 
images<https://secure-web.cisco.com/13TQ3PwQQ9BI4s2aBpZBhunwgJsJT6-yH3IIqx3cliLqe4_j1r1TZqHTHUdMnnYC23aHf7OClxHdaKsQpsGu25-Suf2wTo6iSj05UvMg4l1dgJFNKkQ9LZlEoNktxRPcD7f88KnWtK5W32jCoCfjgsQOPkdQJU90XrFfd8epMu37q0oRors8xn8f_kjzhE90k3SGE8TOmrckpzoi8YmLW6fYzEHg0Yq4ExvKaTwRMlagWQDkrPu5cCD9--5hMIDrrNmuJeUT95LLohgPHnZDBnRARyjosNkxkisaDxndE-HR9Bv24P2K88Mclo062Ethd18652PaqOOJ7dDKAxgXxyA/https%3A%2F%2Fgithub.com%2FENIGMA-git%2FENIGMA-FreeSurfer-protocol%2Ftree%2Fmain%2FENIGMA_QC>.

We are able to successfully generate external (reconstruction) cortical QC 
images using the recon-all clinical output, but encounter an error when 
attempting to generate the internal (T1 with aparc+aseg.mgz overlay) QC images. 
Specifically, there is a conditional check within the internal QC image 
generation script linked above that halts the process if the Nx*Ny*Nz 
dimensions in the T1 image and the Nx*Ny*Nz dimensions in aparc+aseg.mgz do not 
align, which is where our process is throwing the error.

Manual examination of the recon-all clinical image output (e.g., "native.mgz", 
"synthSR.norm.mgz", and "aparc+aseg.mgz") suggests that the aforementioned 
dimensions are all different in those images. Conversely, the dimensions in the 
processed images and segmentations (e.g., "orig_nu.mgz", "aparc+aseg.mgz") from 
the standard recon-all pipeline appear to be uniform (256) for those same 
subjects we are processing in this cohort. To hopefully assist with clarity, I 
have attached the script we are using ("func_make_corticalpngs_ENIGMA_QC.m") to 
construct these internal QC images, and example output files from the same 
subject using the standard recon-all pipeline output 
("internalQC_standard_recon_all.txt") and recon-all clinical pipeline output 
("internalQC_recon_all_clinical.txt"), which show a discrepancy in the 
aforementioned dimensions.

Following up on the above information, I am wondering if "SynthSeg: to obtain a 
volumetric segmentation and linear registration to Talairach space"on the 
recon-all clinical 
page<https://secure-web.cisco.com/1ysMZeQggBLaLzKrZvbENqA_ienVNIRzPan5TKDtzxTjvk1NcXUtXEaFDTgh8vL6P2wf45rocLhoqBQg5KZ5-5dIbF8E6BYxv7fSXMYNrqG7nxwL7YMX9gRhEQf2MmbnM71j_ru-KHFNjoON70LDVAgGbxFZDRA_KWZjdPAahINoi4PkjjHOhCJ4wStvfqj-b2oQyrgw5E2iQMrj3SVy4mHFy8iwKYp7ul_PIvECdpjQIdZtaVLwAfNDaiaQXIzg2EG9_qlV1g1LKp92qpcp5bX2ZgcVIWPwG3HxbxzTheR4_R-1l06hjz4DLYeej2_lcJs7L5ZF_3kesE5QAToBiaQ/https%3A%2F%2Fsurfer.nmr.mgh.harvard.edu%2Ffswiki%2Frecon-all-clinical>
 about registration to talairach space implies that the recon-all clinical 
output should have uniform dimensions, or if I am misunderstanding that and 
there is anything that stands out from this description t

Re: [Freesurfer] recon-all mri_convert error: extra argument ("/usr/local/freesurfer/subjects/maoyipeng/mri/orig/001.mgz")

2024-04-01 Thread Douglas N. Greve
You have a space in your current path (between severe and similar). That 
is causing the problem


On 4/1/2024 8:26 AM, Huang, Yujing wrote:


There is a space in your path 
‘/home/pengcuiyi/Desktop/QinLab/MRI_human_brain/severe 
similar/first_sT1W_3D_TFE_tra_MR350895.nii’.


Rename the directory name and try again.

Best,

Yujing

*From:*freesurfer-boun...@nmr.mgh.harvard.edu 
 *On Behalf Of *???

*Sent:* Sunday, March 31, 2024 11:18 PM
*To:* FreeSurfer 
*Subject:* [Freesurfer] recon-all mri_convert error: extra argument 
("/usr/local/freesurfer/subjects/maoyipeng/mri/orig/001.mgz")


*External Email - Use Caution *

Hello FreeSurfer Developers,

  I'm writing to ask for help while using "recon-all" command.

  I have converted some dcm format files to to nii format. Then I ran 
the command "recon-all -s maoyipeng -i 
first_sT1W_3D_TFE_tra_MR350895.nii -all", an error appeared:


/ mri_convert /home/pengcuiyi/Desktop/QinLab/MRI_human_brain/severe 
similar/first_sT1W_3D_TFE_tra_MR350895.nii 
/usr/local/freesurfer/subjects/maoyipeng/mri/orig/001.mgz //
/mri_convert: extra argument 
("/usr/local/freesurfer/subjects/maoyipeng/mri/orig/001.mgz")/

/type mri_convert -u for usage/
/Command exited with non-zero status 1/
/@#@FSTIME  2024:04:01:09:09:04 mri_convert N 3 e 0.00 S 0.00 U 0.00 P 
100% M 5972 F 0 R 236 W 0 c 0 w 1 I 0 O 0 L 0.43 0.24 0.19/

/@#@FSLOADPOST 2024:04:01:09:09:04 mri_convert N 3 0.43 0.24 0.19/
/Linux ubuntu 5.4.0-150-generic #167~18.04.1-Ubuntu SMP Wed May 24 
00:51:42 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux/
/recon-all -s maoyipeng exited with ERRORS at Mon Apr 1 09:09:04 HKT 
2024 //


I've searched the list and didn't find a similar question. I'm a bit 
new to FreeSurfer, so I am unsure how to resolve this issue. I've 
attached the recon-all.log if that might help.


1) FreeSurfer 
version: freesurfer-linux-centos7_x86_64-7.2.0-20210720-aa8f76b
2) uname -a: Linux ubuntu 5.4.0-150-generic #167~18.04.1-Ubuntu SMP 
Wed May 24 00:51:42 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

3) recon-all.log: see attached


___
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 Mass General Brigham 
Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline 
<https://www.massgeneralbrigham.org/complianceline> .
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 


Re: [Freesurfer] recon-all mri_convert error: extra argument ("/usr/local/freesurfer/subjects/maoyipeng/mri/orig/001.mgz")

2024-04-01 Thread Huang, Yujing
There is a space in your path 
‘/home/pengcuiyi/Desktop/QinLab/MRI_human_brain/severe 
similar/first_sT1W_3D_TFE_tra_MR350895.nii’.

Rename the directory name and try again.

Best,

Yujing


From: freesurfer-boun...@nmr.mgh.harvard.edu 
 On Behalf Of ???
Sent: Sunday, March 31, 2024 11:18 PM
To: FreeSurfer 
Subject: [Freesurfer] recon-all mri_convert error: extra argument 
("/usr/local/freesurfer/subjects/maoyipeng/mri/orig/001.mgz")


External Email - Use Caution

Hello FreeSurfer Developers,

  I'm writing to ask for help while using "recon-all" command.

  I have converted some dcm format files to to nii format. Then I ran the 
command "recon-all -s maoyipeng -i first_sT1W_3D_TFE_tra_MR350895.nii -all", an 
error appeared:

 mri_convert /home/pengcuiyi/Desktop/QinLab/MRI_human_brain/severe 
similar/first_sT1W_3D_TFE_tra_MR350895.nii 
/usr/local/freesurfer/subjects/maoyipeng/mri/orig/001.mgz
  mri_convert: extra argument 
("/usr/local/freesurfer/subjects/maoyipeng/mri/orig/001.mgz")
  type mri_convert -u for usage
  Command exited with non-zero status 1
  @#@FSTIME  2024:04:01:09:09:04 mri_convert N 3 e 0.00 S 0.00 U 0.00 P 
100% M 5972 F 0 R 236 W 0 c 0 w 1 I 0 O 0 L 0.43 0.24 0.19
  @#@FSLOADPOST 2024:04:01:09:09:04 mri_convert N 3 0.43 0.24 0.19
  Linux ubuntu 5.4.0-150-generic #167~18.04.1-Ubuntu SMP Wed May 24 
00:51:42 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
  recon-all -s maoyipeng exited with ERRORS at Mon Apr 1 09:09:04 HKT 2024

I've searched the list and didn't find a similar question. I'm a bit new to 
FreeSurfer, so I am unsure how to resolve this issue. I've attached the 
recon-all.log if that might help.

1) FreeSurfer version: freesurfer-linux-centos7_x86_64-7.2.0-20210720-aa8f76b
2) uname -a: Linux ubuntu 5.4.0-150-generic #167~18.04.1-Ubuntu SMP Wed May 24 
00:51:42 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
3) recon-all.log: see attached


___
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 Mass General Brigham 
Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline 
<https://www.massgeneralbrigham.org/complianceline> .
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 


[Freesurfer] recon-all mri_convert error: extra argument ("/usr/local/freesurfer/subjects/maoyipeng/mri/orig/001.mgz")

2024-03-31 Thread 彭翠仪
External Email - Use Caution

Hello FreeSurfer Developers,

  I'm writing to ask for help while using "recon-all" command.

  I have converted some dcm format files to to nii format. Then I ran the 
command "recon-all -s maoyipeng -i first_sT1W_3D_TFE_tra_MR350895.nii -all", an 
error appeared:

 mri_convert /home/pengcuiyi/Desktop/QinLab/MRI_human_brain/severe 
similar/first_sT1W_3D_TFE_tra_MR350895.nii 
/usr/local/freesurfer/subjects/maoyipeng/mri/orig/001.mgz 
mri_convert: extra argument 
("/usr/local/freesurfer/subjects/maoyipeng/mri/orig/001.mgz")
type mri_convert -u for usage
Command exited with non-zero status 1
@#@FSTIME  2024:04:01:09:09:04 mri_convert N 3 e 0.00 S 0.00 U 0.00 P 100% M 
5972 F 0 R 236 W 0 c 0 w 1 I 0 O 0 L 0.43 0.24 0.19
@#@FSLOADPOST 2024:04:01:09:09:04 mri_convert N 3 0.43 0.24 0.19
Linux ubuntu 5.4.0-150-generic #167~18.04.1-Ubuntu SMP Wed May 24 00:51:42 UTC 
2023 x86_64 x86_64 x86_64 GNU/Linux
recon-all -s maoyipeng exited with ERRORS at Mon Apr 1 09:09:04 HKT 2024 

I've searched the list and didn't find a similar question. I'm a bit new to 
FreeSurfer, so I am unsure how to resolve this issue. I've attached the 
recon-all.log if that might help.

1) FreeSurfer version: freesurfer-linux-centos7_x86_64-7.2.0-20210720-aa8f76b
2) uname -a: Linux ubuntu 5.4.0-150-generic #167~18.04.1-Ubuntu SMP Wed May 24 
00:51:42 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
3) recon-all.log: see attached


 
Mon Apr  1 09:08:56 HKT 2024
cd /usr/local/freesurfer/subjects/maoyipeng
setenv SUBJECTS_DIR /usr/local/freesurfer/subjects
/usr/local/freesurfer/bin/recon-all -s maoyipeng -i 
first_sT1W_3D_TFE_tra_MR350895.nii -all

subjid maoyipeng
setenv SUBJECTS_DIR /usr/local/freesurfer/subjects
FREESURFER_HOME /usr/local/freesurfer
Actual FREESURFER_HOME /usr/local/freesurfer
build-stamp.txt: freesurfer-linux-centos7_x86_64-7.2.0-20210720-aa8f76b
Linux ubuntu 5.4.0-150-generic #167~18.04.1-Ubuntu SMP Wed May 24 00:51:42 UTC 
2023 x86_64 x86_64 x86_64 GNU/Linux
cputime  unlimited
filesize unlimited
datasize unlimited
stacksize8192 kbytes
coredumpsize 0 kbytes
memoryuseunlimited
vmemoryuse   unlimited
descriptors  1024 
memorylocked 65536 kbytes
maxproc  15308 
maxlocks unlimited
maxsignal15308 
maxmessage   819200 
maxnice  0 
maxrtprio0 
maxrttimeunlimited

  totalusedfree  shared  buff/cache   available
Mem:   3.8G1.4G919M 18M1.5G2.1G
Swap:  1.9G  0B1.9G


program versions used
7.2.0 (freesurfer-linux-centos7_x86_64-7.2.0-20210720-aa8f76b)
7.2.0

ProgramName: lta_convert  ProgramArguments: lta_convert -all-info  
ProgramVersion: 7.2.0  TimeStamp: 2024/04/01-01:08:56-GMT  BuildTime: Jul 20 
2021 18:45:50  BuildStamp: 
freesurfer-linux-centos7_x86_64-7.2.0-20210720-aa8f76b  User: pengcuiyi  
Machine: ubuntu  Platform: Linux  PlatformVersion: 5.4.0-150-generic  
CompilerName: GCC  CompilerVersion: 4.8.5
ProgramName: mri_and  ProgramArguments: mri_and -all-info  ProgramVersion: 
7.2.0  TimeStamp: 2024/04/01-01:08:56-GMT  BuildTime: Jul 20 2021 18:45:50  
BuildStamp: freesurfer-linux-centos7_x86_64-7.2.0-20210720-aa8f76b  User: 
pengcuiyi  Machine: ubuntu  Platform: Linux  PlatformVersion: 5.4.0-150-generic 
 CompilerName: GCC  CompilerVersion: 4.8.5
ProgramName: mri_annotation2label  ProgramArguments: mri_annotation2label 
-all-info  ProgramVersion: 7.2.0  TimeStamp: 2024/04/01-01:08:56-GMT  
BuildTime: Jul 20 2021 18:45:50  BuildStamp: 
freesurfer-linux-centos7_x86_64-7.2.0-20210720-aa8f76b  User: pengcuiyi  
Machine: ubuntu  Platform: Linux  PlatformVersion: 5.4.0-150-generic  
CompilerName: GCC  CompilerVersion: 4.8.5
ProgramName: mri_aparc2aseg  ProgramArguments: mri_aparc2aseg -all-info  
ProgramVersion: 7.2.0  TimeStamp: 2024/04/01-01:08:57-GMT  BuildTime: Jul 20 
2021 18:45:50  BuildStamp: 
freesurfer-linux-centos7_x86_64-7.2.0-20210720-aa8f76b  User: pengcuiyi  
Machine: ubuntu  Platform: Linux  PlatformVersion: 5.4.0-150-generic  
CompilerName: GCC  CompilerVersion: 4.8.5
ProgramName: mri_surf2volseg  ProgramArguments: mri_surf2volseg -all-info  
ProgramVersion: 7.2.0  TimeStamp: 2024/04/01-01:08:57-GMT  BuildTime: Jul 20 
2021 18:45:50  BuildStamp: 
freesurfer-linux-centos7_x86_64-7.2.0-20210720-aa8f76b  User: pengcuiyi  
Machine: ubuntu  Platform: Linux  PlatformVersion: 5.4.0-150-generic  
CompilerName: GCC  CompilerVersion: 4.8.5
ProgramName: mri_binarize  ProgramArguments: mri_binarize -all-info  
ProgramVersion: 7.2.0  TimeStamp: 2024/04/01-01:08:57-GMT  BuildTime: Jul 20 
2021 18:45:50  BuildStamp: 
freesurfer-linux-centos7_x86_64-7.2.0-20210720-aa8f76b  User: pengcuiyi  
Machine: ubuntu  Platform: Linux  PlatformVersion: 5.4.0-150-generic  
CompilerName: GCC  CompilerVersion: 4.8.5
ProgramName: mri_ca_label  ProgramArguments: mri_ca_label -all-info  
ProgramVersion: 7.2.0  TimeStamp: 

Re: [Freesurfer] recon-all nu_correct error

2024-03-28 Thread Dicamillo, Robert

In our cluster testing, we allocate at least 16G to each recon-all command (see 
below).  We run about 150 of those commands in parallel on the cluster during 
off-peak usage and it takes about 12 hours for them to complete.

$ jobsubmit -A fsm -p basic -t 1-00:00:00 -m 16G "recon-all -all -s 0042 -I 
/path_to_subject_0042/001.mgz

The system requirements, 
https://surfer.nmr.mgh.harvard.edu/fswiki/SystemRequirements, stating 8G for 
recon all is intended for a users stand alone machine where memory is limited, 
there are no time/job resource limits - and so it might take 15 hours for a 
single recon-all to run.

- R.

On Mar 28, 2024, at 15:37, Dong, Yilei 
mailto:yid...@health.ucsd.edu>> wrote:

External Email - Use Caution

Hi Yujing,

For context, the way how I have the recon-all set-up is we have a recon-all job 
submission script that runs recon-all for 1 image. Given the folder of 100 MRI 
images, we have another script that calls upon the recon-all script for each 
image within the folder via a for loop. The result is 100 jobs running in 
parallel on the cluster.

I have attached a screenshot of the parameters we set whenever we submit each 
recon-all job for each image by SLURM to UCSD's cluster. The maximum time we 
are allowed for each job is 48 hours. However, my recon-all for all 100 
subjects takes on average 4.5 to 6 hours to run. Each image is also allocated 8 
GB of memory. Our jobs are also shared-node jobs, which means we run more than 
1 job on a single node.

Should we allocate more memory to each job than 8 GB or just reduce the number 
of jobs we submit at a time if 100 is a lot? We were able to successfully run 
through the entire recon-all for 5 subjects in parallel in the past.

Sincerely,
Yilei

From: 
freesurfer-boun...@nmr.mgh.harvard.edu<mailto:freesurfer-boun...@nmr.mgh.harvard.edu>
 
mailto:freesurfer-boun...@nmr.mgh.harvard.edu>>
 on behalf of Huang, Yujing 
mailto:yhuan...@mgh.harvard.edu>>
Sent: Thursday, March 28, 2024 11:53 AM
To: Freesurfer support list 
mailto:freesurfer@nmr.mgh.harvard.edu>>
Subject: Re: [Freesurfer] recon-all nu_correct error

Hi Yilei,



I think "nu_correct: Command not found. FREESURFER: Undefined variable." is 
unrelated to your recon-all didn’t finish. That error happens in the beginning 
of recon-all and recon-all uses ANTS N4BiasFieldCorrection for nu correct 
instead. We have addressed this error in our dev version.



I’m wondering if your cluster computer enforces some time, memory … limit on 
your job.



Best,



Yujing





From: 
freesurfer-boun...@nmr.mgh.harvard.edu<mailto:freesurfer-boun...@nmr.mgh.harvard.edu>
 
mailto:freesurfer-boun...@nmr.mgh.harvard.edu>>
 On Behalf Of Dong, Yilei
Sent: Thursday, March 28, 2024 2:18 PM
To: Freesurfer support list 
mailto:freesurfer@nmr.mgh.harvard.edu>>
Subject: [Freesurfer] recon-all nu_correct error



External Email - Use Caution
Hi Freesurfer support,



Recently, I submitted a script to run recon-all on 100 MRI images on UCSD's 
computing cluster. I get an error file that says "nu_correct: Command not 
found. FREESURFER: Undefined variable." I previously emailed this problem and 
was told to send my recon-all.log if running the recon-all did not work a 2nd 
time. I was also told previously that my cluster's Freesurfer can't locate the 
minc toolkit binaries on my system. How can this error be troubleshooted? 
Please let me know if you need any other information.



Freesurfer version: 7.2.0, but already available as module
Platform: Rocky Linux release 8.8 (Green Obsidian)
uname -a: Linux login01 4.18.0-477.15.1.el8_8.x86_64 #1 SMP Wed Jun 28 15:04:18 
UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Recon-all log: see attached



Sincerely,
Yilei
___
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu<mailto: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 Mass General Brigham 
Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline 
<https://www.massgeneralbrigham.org/complianceline> .
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 


Re: [Freesurfer] recon-all nu_correct error

2024-03-28 Thread Huang, Yujing
Hi Yilei,

I think "nu_correct: Command not found. FREESURFER: Undefined variable." is 
unrelated to your recon-all didn't finish. That error happens in the beginning 
of recon-all and recon-all uses ANTS N4BiasFieldCorrection for nu correct 
instead. We have addressed this error in our dev version.

I'm wondering if your cluster computer enforces some time, memory ... limit on 
your job.

Best,

Yujing


From: freesurfer-boun...@nmr.mgh.harvard.edu 
 On Behalf Of Dong, Yilei
Sent: Thursday, March 28, 2024 2:18 PM
To: Freesurfer support list 
Subject: [Freesurfer] recon-all nu_correct error


External Email - Use Caution
Hi Freesurfer support,


Recently, I submitted a script to run recon-all on 100 MRI images on UCSD's 
computing cluster. I get an error file that says "nu_correct: Command not 
found. FREESURFER: Undefined variable." I previously emailed this problem and 
was told to send my recon-all.log if running the recon-all did not work a 2nd 
time. I was also told previously that my cluster's Freesurfer can't locate the 
minc toolkit binaries on my system. How can this error be troubleshooted? 
Please let me know if you need any other information.



Freesurfer version: 7.2.0, but already available as module

Platform: Rocky Linux release 8.8 (Green Obsidian)

uname -a: Linux login01 4.18.0-477.15.1.el8_8.x86_64 #1 SMP Wed Jun 28 15:04:18 
UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Recon-all log: see attached



Sincerely,

Yilei
___
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 Mass General Brigham 
Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline 
<https://www.massgeneralbrigham.org/complianceline> .
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 


Re: [Freesurfer] recon-all mris_preproc error: Cannot find surf/lh.w-g.pct.mgh

2024-03-25 Thread Dan Levitas
External Email - Use Caution

Thanks Yujing,

I realized that was likely the issue after sending my message. Indeed,
removing the -qcache option for this longitudinal processing step resolved
my issue.

Thanks for the clarification.

Dan

On Mon, Mar 25, 2024 at 9:37 AM Huang, Yujing 
wrote:

> The recon-all ‘WM/GM Contrast’ step is skipped for longitudinal base
> processing. So, I’m not sure that ‘-qcache’ option can be used in base
> processing.
>
>
>
> Best,
>
>
>
> Yujing
>
>
>
> *From:* freesurfer-boun...@nmr.mgh.harvard.edu <
> freesurfer-boun...@nmr.mgh.harvard.edu> *On Behalf Of *Dan Levitas
> *Sent:* Thursday, March 21, 2024 11:56 AM
> *To:* freesurfer@nmr.mgh.harvard.edu
> *Subject:* [Freesurfer] recon-all mris_preproc error: Cannot find
> surf/lh.w-g.pct.mgh
>
>
>
> *External Email - Use Caution*
>
> Hello,
>
>
>
> I have a longitudinal dataset where each participant was scanned twice
> over the course of 5 months. I have been following FS's
> Longitudinal Tutorial
> <https://secure-web.cisco.com/1cEj8JFOeCVl553obrTrsTW9AP-8Qv0LHSe3IerGFGTmaPu6kUsXeBfzgONeAa4mmpINzpRDl58mXIB9C_LPuikezWqDYll18nCVVV2NiOodxGk847brmEMiJllZoqGlrXxYObfmT3RIYUazBVpGOsKRSaUkOOWuPjBmsiPt2bcdA0JkjE6sR9OY41j7puo38bGKrY6YGk4ayVwvOT__tRnC2kWDaOZw3mACwbxTa4QBv-5-j5UIFnFKeywba3HIu3mLSTCCJGTxHUyWOPs9UUAZ4NpSsHFT0FnDQhbUfgnSuOquyRIE9WmZGrj_ix-kmTG1hLX-3O8SMYxnTo_dS0kwracWTAgRrXWF_wgalzbk/https%3A%2F%2Fsurfer.nmr.mgh.harvard.edu%2Ffswiki%2FFsTutorial%2FLongitudinalTutorial>
> .
>
>
>
> For the CROSS section, each subjects' session scan successfully completed
> recon-all, where I used the following command:
>
> *recon-all \*
>
>
>
>
> *-subjid sub-${sub}_ses-${ses} \ -i $raw_anat_file   \ -qcache \ -all*
>
>
>
> I then used the following recon-all command for the BASE section:
>
>
>
>
>
>
> *recon-all \ -base sub-${sub}_year-1 \ -tp $subjects_dir/$pre_sub_ses   \
> -tp $subjects_dir/$post_sub_ses \ -qcache \ -all*
>
>
>
> This recon-all ran for several hours before failing at the following
> command:
>
> *mris_preproc --s sub-5009_year-1 --hemi lh --meas w-g.pct.mgh --target
> fsaverage --out lh.w-g.pct.mgh.fsaverage.mgh*
>
>
>
> The error message is:
>
>
>
>
>
>
> *nsubjects = 1 ERROR: cannot find
> /N/project/Kawata_TBI_1/R01_HighSchool_BIDS/derivatives/freesurfer/sub-5009_year-1/surf/lh.w-g.pct.mgh
> Command exited with non-zero status 1 @#@FSTIME  2024:03:21:02:30:48
> mris_preproc N 10 e 0.09 S 0.05 U 0.02 P 82% M 3568 F 0 R 2201 W 0 c 2 w 45
> I 0 O 0 L 60.94 63.09 63.23 @#@FSLOADPOST 2024:03:21:02:30:48 mris_preproc
> N 10 60.94 63.09 63.23 Linux c50.quartz.uits.iu.edu
> <http://secure-web.cisco.com/14Wbu8Wr5_K8JfIcqRcS1Cn5n2xX-aAI3fOWvKkmOStUpOWDMxHIeDQf1JjyGBTOajbFgvBNoQgJrs_ETqhSmG2R2I5-BP-qFM0ASkCdMEM52yhEXthPD2SxkgawnJTEgBlsemYRNuCmj0ELA_8mQ3KS7mhcZ1s5hx4PH1cLZ3dVZID1dFJ4BgdxlYdIR-yE9Szt_NDlw2GgwH78c8aA3aLnF3kzkFKz0yclnpc5C_kg5ONq8BHh7yjqOwPJh26UcKbBc4Xw4YwihTBNPXNSoWXNCk4bqnckKKjWiFgNj0ROdkaEoE_DY-fjtdohepTrnEB_Kgig6OJemyyfrHMp9LEB8j7zKUfGSrv0etcW99pw/http%3A%2F%2Fc50.quartz.uits.iu.edu>
> 4.18.0-513.9.1.el8_9.x86_64 #1 SMP Thu Nov 16 10:29:04 EST 2023 x86_64
> x86_64 x86_64 GNU/Linux*
>
> *recon-all -s sub-5009_year-1 exited with ERRORS at Thu Mar 21 02:30:48
> EDT 2024*
>
>
>
> I have checked the archive but can't seem to find a similar question. I'm
> a bit new to FreeSurfer, so I am unsure how to resolve this issue. I've
> attached the recon-all.log if that might help.
>
>
>
> *FreeSurfer version*:
> freesurfer-linux-centos8_x86_64-7.4.1-20230613-7eb8460
>
> *Platform*: Red Hat Enterprise Linux 8.9 Ootpa)
>
> *uname -a*: Linux i48.red.uits.iu.edu
> <http://secure-web.cisco.com/15XStCE0IKjVjIAFoiEyXMymmxkHCK5LnWAGzytId4euRRINQRqifyCOAYtM5qwvWWedY6SVMbn3E-7Uvgz6vTc9vqmOvWLbh_OE6LE4FlFlxHRO075UOvskHXCWQ2L2A4OMckWufAAivBMxV3WgBuh4D4_T8cx2fllAaa0nJhodK5RmKJqlokanY_6Hdl1Iqjcsn0Aa_b0Vcjdh8C79HrORXQ_wdfwa-POrIN4qSM4nEUcBnE8Oo3BhNq6OW9tcHmgDPpvrfH8E5Nq7bOI-7DIovKzEHQQ9SIgCr4DYSU12GGtDpn9YsCY42MWh9Uu_Suq35EmZl4sziszMmbkhs2IOSvfS2mSYvLGKYumSKJUw/http%3A%2F%2Fi48.red.uits.iu.edu>
> 4.18.0-513.9.1.el8_9.x86_64 #1 SMP Thu Nov 16 10:29:04 EST 2023 x86_64
> x86_64 x86_64 GNU/Linux
>
> *recon-all log*: see attached
>
>
>
> Thank you.
>
>
> Dan
>
>
> ___
> Freesurfer mailing list
> Freesurfer@nmr.mgh.harvard.edu
> https://secure-web.cisco.com/15JVDGWH0muukYX3WQqEohbfht0lDnSyO7hM-u-mwvB7BQuKYRCPkAbFe7GxIilghz8jSsynneTr0vkxX8IRZ00SJOIkeaXz8hkuR2Bc_ffsz0BX6NJLhSmWtiuqcd9luBHo2GSGRS3QNEcmLhD_vpFEZQMLfyCGNHgRiQ8l5gRqb0uca7QuUGivU_RBI41MzI0g_AH8Il8F4DtO149zG8pCy0hThlUiv8JtocO

Re: [Freesurfer] recon-all mris_preproc error: Cannot find surf/lh.w-g.pct.mgh

2024-03-25 Thread Huang, Yujing
The recon-all ‘WM/GM Contrast’ step is skipped for longitudinal base 
processing. So, I’m not sure that ‘-qcache’ option can be used in base 
processing.

Best,

Yujing

From: freesurfer-boun...@nmr.mgh.harvard.edu 
 On Behalf Of Dan Levitas
Sent: Thursday, March 21, 2024 11:56 AM
To: freesurfer@nmr.mgh.harvard.edu
Subject: [Freesurfer] recon-all mris_preproc error: Cannot find 
surf/lh.w-g.pct.mgh


External Email - Use Caution
Hello,

I have a longitudinal dataset where each participant was scanned twice over the 
course of 5 months. I have been following FS's Longitudinal 
Tutorial<https://secure-web.cisco.com/1cEj8JFOeCVl553obrTrsTW9AP-8Qv0LHSe3IerGFGTmaPu6kUsXeBfzgONeAa4mmpINzpRDl58mXIB9C_LPuikezWqDYll18nCVVV2NiOodxGk847brmEMiJllZoqGlrXxYObfmT3RIYUazBVpGOsKRSaUkOOWuPjBmsiPt2bcdA0JkjE6sR9OY41j7puo38bGKrY6YGk4ayVwvOT__tRnC2kWDaOZw3mACwbxTa4QBv-5-j5UIFnFKeywba3HIu3mLSTCCJGTxHUyWOPs9UUAZ4NpSsHFT0FnDQhbUfgnSuOquyRIE9WmZGrj_ix-kmTG1hLX-3O8SMYxnTo_dS0kwracWTAgRrXWF_wgalzbk/https%3A%2F%2Fsurfer.nmr.mgh.harvard.edu%2Ffswiki%2FFsTutorial%2FLongitudinalTutorial>.

For the CROSS section, each subjects' session scan successfully completed 
recon-all, where I used the following command:
recon-all \
-subjid sub-${sub}_ses-${ses} \
-i $raw_anat_file   \
-qcache \
-all

I then used the following recon-all command for the BASE section:
recon-all \
-base sub-${sub}_year-1 \
-tp $subjects_dir/$pre_sub_ses   \
-tp $subjects_dir/$post_sub_ses \
-qcache \
-all

This recon-all ran for several hours before failing at the following command:
mris_preproc --s sub-5009_year-1 --hemi lh --meas w-g.pct.mgh --target 
fsaverage --out lh.w-g.pct.mgh.fsaverage.mgh

The error message is:
nsubjects = 1
ERROR: cannot find 
/N/project/Kawata_TBI_1/R01_HighSchool_BIDS/derivatives/freesurfer/sub-5009_year-1/surf/lh.w-g.pct.mgh
Command exited with non-zero status 1
@#@FSTIME  2024:03:21:02:30:48 mris_preproc N 10 e 0.09 S 0.05 U 0.02 P 82% M 
3568 F 0 R 2201 W 0 c 2 w 45 I 0 O 0 L 60.94 63.09 63.23
@#@FSLOADPOST 2024:03:21:02:30:48 mris_preproc N 10 60.94 63.09 63.23
Linux 
c50.quartz.uits.iu.edu<http://secure-web.cisco.com/14Wbu8Wr5_K8JfIcqRcS1Cn5n2xX-aAI3fOWvKkmOStUpOWDMxHIeDQf1JjyGBTOajbFgvBNoQgJrs_ETqhSmG2R2I5-BP-qFM0ASkCdMEM52yhEXthPD2SxkgawnJTEgBlsemYRNuCmj0ELA_8mQ3KS7mhcZ1s5hx4PH1cLZ3dVZID1dFJ4BgdxlYdIR-yE9Szt_NDlw2GgwH78c8aA3aLnF3kzkFKz0yclnpc5C_kg5ONq8BHh7yjqOwPJh26UcKbBc4Xw4YwihTBNPXNSoWXNCk4bqnckKKjWiFgNj0ROdkaEoE_DY-fjtdohepTrnEB_Kgig6OJemyyfrHMp9LEB8j7zKUfGSrv0etcW99pw/http%3A%2F%2Fc50.quartz.uits.iu.edu>
 4.18.0-513.9.1.el8_9.x86_64 #1 SMP Thu Nov 16 10:29:04 EST 2023 x86_64 x86_64 
x86_64 GNU/Linux

recon-all -s sub-5009_year-1 exited with ERRORS at Thu Mar 21 02:30:48 EDT 2024

I have checked the archive but can't seem to find a similar question. I'm a bit 
new to FreeSurfer, so I am unsure how to resolve this issue. I've attached the 
recon-all.log if that might help.

FreeSurfer version: freesurfer-linux-centos8_x86_64-7.4.1-20230613-7eb8460
Platform: Red Hat Enterprise Linux 8.9 Ootpa)
uname -a: Linux 
i48.red.uits.iu.edu<http://secure-web.cisco.com/15XStCE0IKjVjIAFoiEyXMymmxkHCK5LnWAGzytId4euRRINQRqifyCOAYtM5qwvWWedY6SVMbn3E-7Uvgz6vTc9vqmOvWLbh_OE6LE4FlFlxHRO075UOvskHXCWQ2L2A4OMckWufAAivBMxV3WgBuh4D4_T8cx2fllAaa0nJhodK5RmKJqlokanY_6Hdl1Iqjcsn0Aa_b0Vcjdh8C79HrORXQ_wdfwa-POrIN4qSM4nEUcBnE8Oo3BhNq6OW9tcHmgDPpvrfH8E5Nq7bOI-7DIovKzEHQQ9SIgCr4DYSU12GGtDpn9YsCY42MWh9Uu_Suq35EmZl4sziszMmbkhs2IOSvfS2mSYvLGKYumSKJUw/http%3A%2F%2Fi48.red.uits.iu.edu>
 4.18.0-513.9.1.el8_9.x86_64 #1 SMP Thu Nov 16 10:29:04 EST 2023 x86_64 x86_64 
x86_64 GNU/Linux
recon-all log: see attached

Thank you.

Dan

___
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 Mass General Brigham 
Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline 
<https://www.massgeneralbrigham.org/complianceline> .
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 


Re: [Freesurfer] Recon-all command produces only 001.mgz file in the mri/orig directory

2024-03-17 Thread Fischl, Bruce R.,PHD
What was your recon-all command line? You need to give it a directive (like 
-all), otherwise it will just create a subject directory tree and put the 
001.mgz in the orig dir

Cheers
Bruce

From: freesurfer-boun...@nmr.mgh.harvard.edu 
 On Behalf Of Naama Zur
Sent: Sunday, March 17, 2024 5:13 PM
To: freesurfer@nmr.mgh.harvard.edu
Subject: [Freesurfer] Recon-all command produces only 001.mgz file in the 
mri/orig directory


External Email - Use Caution
Hi all,

I am using Ubuntu 23.1 with freesurfer 7.4.1 to run the recon-all command and 
the command runs without error and I do get a set of directories including: 
label, mri, scripts, stats, surf, tmp, touch, and trash. However, the only 
folders that are not empty are scripts where there are 11 files and  a 001.mgz 
file in the mri/orig directory.

I am not sure what I am doing incorrectly and was hoping for some guidance with 
this.

Thank you!
___
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 Mass General Brigham 
Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline 
<https://www.massgeneralbrigham.org/complianceline> .
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 


[Freesurfer] Recon-all command produces only 001.mgz file in the mri/orig directory

2024-03-17 Thread Naama Zur
External Email - Use Caution

Hi all,

I am using Ubuntu 23.1 with freesurfer 7.4.1 to run the recon-all command
and the command runs without error and I do get a set of directories
including: label, mri, scripts, stats, surf, tmp, touch, and trash.
However, the only folders that are not empty are scripts where there are 11
files and  a 001.mgz file in the mri/orig directory.

I am not sure what I am doing incorrectly and was hoping for some guidance
with this.

Thank you!
___
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 Mass General Brigham 
Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline 
 .
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 


Re: [Freesurfer] recon-all hard error: mris_calc could not establish read access to rh.area

2024-03-05 Thread Huang, Yujing
Hi Taylor,

I don't understand how you could get that error.  It seems to me that 
read_signa() is for reading .signa files.

Can you try 'mris_calc -o rh.area.mid rh.area add rh.area.pial' directly? Pass 
full path to your rh.area and rh.area.pial.

What does 'mri_info rh.area' report?

Best,

Yujing


From: freesurfer-boun...@nmr.mgh.harvard.edu 
 On Behalf Of Ariko, Taylor
Sent: Tuesday, March 5, 2024 2:35 PM
To: freesurfer@nmr.mgh.harvard.edu
Subject: [Freesurfer] recon-all hard error: mris_calc could not establish read 
access to rh.area


External Email - Use Caution
Hello FreeSurfer Developers,


I am attempting to run the recon-all pipeline on one subject using the 
following code:

recon-all -all -i t1.nii -s p03_1

Although, I get the following error in the command line:

mris_calc -o rh.area.mid rh.area add rh.area.pial
error: No such file or directory
error: read_signa(/Volumes/Beta/Carmen/t1/p03_8/p03_8/surf/I.001): could not 
open file
error: No such file or directory
error:
mris_calc: could not establish read access to 'rh.area'.

Tue Aug  1 15:58:13 EDT 2023
ERROR: vertexvol
mris_calc -o rh.area.mid rh.area add rh.area.pial
Darwin C02F10PVPN5W.local 22.6.0 Darwin Kernel Version 22.6.0: Wed Jul  5 
22:21:56 PDT 2023; root:xnu-8796.141.3~6/RELEASE_X86_64 x86_64

recon-all -s p03_8 exited with ERRORS at Tue Aug  1 15:58:13 EDT 2023

To report a problem, see MailScanner has detected a possible fraud attempt from 
"secure-web.cisco.com" claiming to be 
http://surfer.nmr.mgh.harvard.edu/fswiki/BugReporting<http://secure-web.cisco.com/1dFtz9tfZWpoyZVj7mXFMLhzADOYxytPQ-lAzdm9SS0VD1FTbz45enl8IaOWz6IRp_KLvd-O07tGlRWlew0e-tEz_uiSd7h7vjXFLqsJ43sz_QtFlRODTxSyXDZGJH-L2KeK1nXuICROZ0fCFy4KhTJxJ3haAuYRWOZcUa5BBA0fS4iGoh92xzUyORn8wvcaGQ3GMrAFxd-bI-V_SZY3tfGjNWqrLPpayxctYehni827EcLH8K0REtJUxl1SPpG6Pe3Emtor75zz-0Hm9qjm0-uKKTYgh6I5B9-s-Y0K05FI459LrA6nQEDmQc7Af7uhtsjN1f1kK5Ejciw7kqOfhnQ/http%3A%2F%2Fsurfer.nmr.mgh.harvard.edu%2Ffswiki%2FBugReporting>

The recon-all.error file contains:

--
SUBJECT p03_8
DATE Tue Aug  1 15:58:13 EDT 2023
USER taylorariko
HOST C02F10PVPN5W.local
PROCESSOR x86_64
OS Darwin
Darwin C02F10PVPN5W.local 22.6.0 Darwin Kernel Version 22.6.0: Wed Jul  5 
22:21:56 PDT 2023; root:xnu-8796.141.3~6/RELEASE_X86_64 x86_64
7.2.0 (freesurfer-darwin-macOS-7.2.0-20210713-aa8f76b)
/Applications/freesurfer/7.2.0/bin/recon-all
PWD /Volumes/Beta/Carmen/t1/p03_8/p03_8/mri
CMD vertexvol --s p03_8 --rh --th3

I have made sure that I have read, write, and execute access to the folder 
/path/to/subject/surf and the file rh.area. I can successfully run the command 
to make rh.area (mris_place_surface --area-map ../surf/rh.white 
../surf/rh.area), but the error persists in using rh.area. I have disk space 
and can run other commands such as this fake one (mris_calc -o rh.area.Test 
rh.area.pial add rh.area.pial), but not if it contains rh.area. I have tried to 
rerun the command from root and get the same error message.

I found 2 similar threads of the mail-archive, though I didn't find any 
remedies:

  1.  MailScanner has detected a possible fraud attempt from 
"secure-web.cisco.com" claiming to be 
https://www.mail-archive.com/freesurfer@nmr.mgh.harvard.edu/msg44230.html<https://secure-web.cisco.com/1s_8L81vMyC0-KdGicsKrUniSkh4Egg5_LxXz-_YnmsgL0Gm5kE9GJdy_R08c77fGYQTPDdQWTXx7zHH94KsUkxY5QpVUmicO4epJQCmrRk9qMFABnrFnqeMNWHf8BMzYZT9-_q55fpDjwdwtbSup33zXWmZ7_Qaxd-4Z5VhTLIcQnzdH1PATkHpAO-TTMDS2pwJXoqBJWfCdjq5iu6ZD_6K0lrHqWnH3JudltTqMg3oGYhVXWbXscFSmN__-ZRnNfVJ8CDc90XN86oLWU105NH4AaObyV0lLfIM82_MyoJeAcNXkfuOpxqrOcWWH_mbDB5W0KbiD_DVkA4CTMYOqPQ/https%3A%2F%2Fwww.mail-archive.com%2Ffreesurfer%40nmr.mgh.harvard.edu%2Fmsg44230.html>
  2.  MailScanner has detected a possible fraud attempt from 
"secure-web.cisco.com" claiming to be 
https://www.mail-archive.com/freesurfer@nmr.mgh.harvard.edu/msg51444.html<https://secure-web.cisco.com/1MW6Y468pIeNLaB3ruN22mzrkJIjqalKQmsNncuNqyZW9S97Lqt_NIPp9ILpSPWI1wipv6Yr0BpbNmGPSoS-nDLaWTSHWRvXjPBhx6OWaUG3ykAth8rcrPy56gCpMo8EJHuhvxzkr3J5a8gg_8hfpQn3rWeGwxvT0rbc0ADxMrz98-mzO1bI4_zT80IcHOH6lIka2UdyAuC6gQplfb_eWpXafHuJDUR-JbSxIKSJcWIraGWK6JhoVQfgB3PNWSVgFkCVarUhylVDULGGQwPvt8XCNNPOC-bX_PoKwRMM7irjngRXBU0TPYBqY3QjiI4O9FrPJMQEQNW3NadmyXb4uhQ/https%3A%2F%2Fwww.mail-archive.com%2Ffreesurfer%40nmr.mgh.harvard.edu%2Fmsg51444.html>

Does anyone have any thoughts on how to trouble-shoot this? I have included my 
recon-all.log in the case it is of any use.


  1.  Freesurfer version: freesurfer-darwin-macOS-7.2.0-20210713-aa8f76b
  2.  Platform: macOS Sonoma 14.3.1
  3.  uname -a: Darwin C02F10PVPN5W.local 23.3.0 Darwin Kernel Version 23.3.0: 
Wed Dec 20 21:28:58 PST 2023; root:xnu-10002.81.5~7/RELEASE_X86_64 x86_64
  4.  recon-all.log: see attached


Thanks in advance!

Taylor Ariko

___
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail

Re: [Freesurfer] recon-all-clinical synthseg error

2024-03-04 Thread Agata Wolna
External Email - Use Caution

Hi!

I've managed to debug the problem and it turns out that it was generated by
the mri_convert function - it produced a corrupted native.mgz image that
synthseg couldn't correctly read. I encounter this problem when pulling the
freesurfer:7.4.1 from dockerhub and when I was using a version downloaded
from the freesurfer website. Replacing the mri_convert script with a one
from a previous release (7.1.1) solved the problem, but I'm just letting
you know, in case that's a more general issue (and in all cases I was
running the script in a singularity containers).

Best wishes,
Agata

pon., 26 lut 2024 o 11:02 Agata Wolna  napisał(a):

> Hi!
>
> Thanks for getting back to me. I'm running it on CentOS Linux 7 in a
> singularity container. What I did is to pull the freesurfer container from
> the DockerHub 
> (https://secure-web.cisco.com/171ahSlRX4vDMQD6prCFbKOWLRaTb3TeYqaUPEw1RHNCsVe3tGhp2kLFzWK3DJBLSx-UgUbpykn2uadM_p35sDDmGGUu-97iv7xWk1uOF7fCA5zzinTnVGh-ThVdtMXCb9wrWbtVUluLHZqPDir9P61Y41lyQx6J8ExkHyMN3nDhsdJG3NKQ0YCbHpN6OXcbMXy6k6AGFamQP8CZo_1lxhCV5WCZD26w_wkehvkhvpWl7Dd8-79VHNEEopR-cjICmGSqmg7GHDHiBc1SkoGDf-Hrij5PrwTlD6yLqb5U83FrN3wzFoW9dq-kjChSC2PKLUxnb8MKiKmHqCpn6WhL36g/https%3A%2F%2Fhub.docker.com%2Fr%2Ffreesurfer%2Ffreesurfer%3A7.1.1)
>  and
> I replaced the /usr/local/freesurfer with this version:
> https://secure-web.cisco.com/1kTRkrixWgWU1iw8Qqe5X9q-Fz5Cs0dBxd03uelbVyK3aahbt-NDyUMFDpzSxsqPZKM2WUqoyOMnywfNkFMZP_5uzLcnYmhRlPJwt6eoOMbmo_-bFRvK9YV6H-tS6FGTlH7lZCDQw4Tr2_WlN4a-2ByEqPmRw_RHrKq8SU2Sk4aNDWHoS5lPwMqIs5td3Mpd2KWBbQCJ7f20xoIDdqxcxnMQ5K3m5nC2y5sS1QzfGMOTXHSLiC-7D-Dr218ggnoS6u3Eg-UqVFYGtZZm_ACvQ6OSAYJ7z7VdTRgX6PRuMv1mQLduPWJ1CXUv1RmUDCBI4mZKBJZd0GkBTpL_9yzF30w/https%3A%2F%2Fsurfer.nmr.mgh.harvard.edu%2Fpub%2Fdist%2Ffreesurfer%2Fdev%2F
>  (build-stamp
> is freesurfer-linux-centos7_x86_64-dev-20240209-8d5b885).
>
> Do you think that this might be an issue related to the differences in
> dependencies for the 7.1.1 and the dev version that I replaced the 7.1.1
> with? Also, if you happen to have a containerized version of the newest dev
> version (or any version higher than 7.4, as I assume they would all support
> the recon-all-clinical function, right?) maybe I could just pull the entire
> container from somewhere and see if it solves the problem?
>
> Best wishes,
> Agata
>
> niedz., 25 lut 2024 o 21:56 fsbuild  napisał(a):
>
>>
>> It could help to know what OS version and what Freesurfer version you are
>> running.  From your path /usr/local/freesurfer it looks like you are
>> running a Freesurfer release, e.g.., 7.4.1.
>>
>> - R.
>>
>> On Feb 25, 2024, at 21:45, Agata Wolna  wrote:
>>
>> External Email - Use Caution
>>
>> Hi!
>>
>> I'm trying to run recon-all-clinical but I'm running into an error with
>> the SynthSeg at the very beginning. Do you have any hints what the problem
>> might be here? Here's the full error message:
>>
>> the following problem occured with image [mypath]/mri/native..mgz :
>> Traceback (most recent call last):
>>   File "/usr/local/freesurfer/python/scripts/mri_synthseg", line 303, in
>> predict
>> image, aff, h, im_res, shape, pad_idx, crop_idx =
>> preprocess(path_image=path_images[i],
>>   File "/usr/local/freesurfer/python/scripts/mri_synthseg", line 554, in
>> preprocess
>> im, _, aff, n_dims, n_channels, h, im_res =
>> get_volume_info(path_image, True)
>>   File "/usr/local/freesurfer/python/scripts/mri_synthseg", line 1456, in
>> get_volume_info
>> im, aff, header = load_volume(path_volume, im_only=False)
>>   File "/usr/local/freesurfer/python/scripts/mri_synthseg", line 1377, in
>> load_volume
>> x = nib.load(path_volume)
>>   File
>> "/usr/local/freesurfer/python/lib/python3.8/site-packages/nibabel/loadsave.py",
>> line 110, in load
>> img = image_klass.from_filename(filename, **kwargs)
>>   File
>> "/usr/local/freesurfer/python/lib/python3.8/site-packages/nibabel/dataobj_images.py",
>> line 503, in from_filename
>> return klass.from_file_map(file_map, mmap=mmap,
>> keep_file_open=keep_file_open)
>>   File
>> "/usr/local/freesurfer/python/lib/python3.8/site-packages/nibabel/freesurfer/mghformat.py",
>> line 526, in from_file_map
>> header = klass.header_class.from_fileobj(mghf)
>>   File
>> "/usr/local/freesurfer/python/lib/python3.8/site-packages/nibabel/freesurfer/mghformat.py",
>> line 171, in from_fileobj
>> + int(klass._data_type_codes.bytespervox[tp]) *
>> np.prod(hdr_str_to_np['dims'])
>> KeyError: 10
>>
>> resuming program execution
>>
>>
>> ERROR: some problems occured for the following inputs (see corresponding
>> errors above):
>> [mypath]/mri/native..mgz
>> Error in SynthSeg
>>
>> Best,
>> Agata
>> ___
>> Freesurfer mailing list
>> Freesurfer@nmr.mgh.harvard.edu
>> 

Re: [Freesurfer] recon all with optiBET brain mask

2024-02-27 Thread BALBONI Irene
External Email - Use Caution

Dear Yujing,
Thank you for your reply.  Would there be a way to just use the mask created 
with optiBET for the recon-all process to mask the brain? At the moment we are 
segmenting 2 images at once (mprage and mp2rage) to improve the quality of the 
segmentation and we have the skull-stripped images only for one of them so the 
solution below might not be ideal.

Thanks again.

Best,
Irene

From: freesurfer-boun...@nmr.mgh.harvard.edu 
 On Behalf Of Huang, Yujing
Sent: venerdì 29 dicembre 2023 15:44
To: Freesurfer support list 
Subject: Re: [Freesurfer] recon all with optiBET brain mask

This is from Freesurfer wiki - MailScanner has detected a possible fraud 
attempt from "secure-web. cisco. com" claiming to be https: //surfer. nmr. mgh. 
harvard. edu/fswiki/UserContributions/FAQ Q. I have already skull-stripped 
data. Can

This is from Freesurfer wiki -  MailScanner has detected a possible fraud 
attempt from "secure-web.cisco.com" claiming to be 
https://secure-web.cisco.com/1hcYnA9bt1-Vcu45hvleS0donbIaySbZpKWJuHfsnXO8nzzFMkFf6RlguN7q7Ki37PmP0BbVl5G4RMQxZvUItq3NuU1unMfgztpr902qkjmqcYuXGZyM1vwAy8R-sP9kEGQCrLt1i3cEJyhLhvrZA5Pnw2ti2KfIPuKQBLfhnmUNkm01pFq02N6h6mQbjsh3saIOfNKxSOBt0MhmKLXJMsWMeOm8mVzxqC5nvStkQZMayK7u5PhvIa53vXHUt-O-c4D6247GFmUoSPc-GlhRDRZPwIh84dqg-ZHQMdckTN11hW0XZIQ4BTBz624jJXZRz7nvEodQZ4SV50MPhK3_S7Q/https%3A%2F%2Fsurfer.nmr.mgh.harvard.edu%2Ffswiki%2FUserContributions%2FFAQ<https://secure-web.cisco.com/1tu630hE3EjDp_haYNYF6LD6KROQHLIzgLG2YW2r4AERBi9Le_GX2QSVu-x45Qv0YHxGYpACPN9wsvTACzaTa0f3R2lF49sUIzm_bvNOqHxZejuHRbadTG_BnhDr_s7O61j-x4qKWqUqQPPLVgawRh1SVUGMeTBhbuBzUE6FkTI0uAu8JE7KDMdnOM9-n4LOcoK9dsS7t2Tmx0uJgi-NsFmkAbNppylb2oc26pktuWeH-k5zm8epCnnHQ6yovd7CYq-3qL8ryed4kpvQBETYhvwpY4WpkVhue1Brn2CguSsPwmk5gu-5VyhNTxcOxnwvI6Rva7m3dxC1aWYWVqo_3QQ/https%3A%2F%2Furldefense.com%2Fv3%2F__https%3A%2Fsecure-web.cisco.com%2F1CkNjrY48pCUahVqRgpWm_wWr-VT402BvZ0Y61vf5NBHE08gelDHJOnnrnONbPXLIsRUSgn-e1KlQ28-1bqlh2D9mdfR4oz5K2DcAapaDi_kIRYa9oOGpUGPN7HBgvT7nsrqBOhDSS1cOpeZ1vlmzNwZczc-cKlN2aymuKdjRBszVXj6pSIzy284SpTKycNB0Fu9kYvlF9WMrQLPBazYr7itkxhkOU3JWMD4-UoiVa9TbyhR71UonTZDQK57ox2IABmOi_Byg-ahMf7rWMa3NdavabkZhRt_6s9jZZE9ooyzXY-aFh0m-UBLCJJ5H-q_XO5-sie0nuzq8b8Z2HV6a3Q%2Fhttps*3A*2F*2Fsurfer.nmr.mgh.harvard.edu*2Ffswiki*2FUserContributions*2FFAQ__;JSUlJSUl!!Dc8iu7o!yYcXtwVe5amhqAT_PYbjhL7D-Rul8VL7K6Hscbpi3nE-j2KdBG6QngAW5Xh4BwWedQvtXMFfGZeSzmxaAdZodUCCthFB$>
Q. I have already skull-stripped data. Can I submit it to recon-all?
A: If your skull-stripped volume does not have the cerebellum, then no. If it 
does, then yes, however you will have to run the data a bit differently.
First you must run only -autorecon1 like this:
recon-all -autorecon1 -noskullstrip -s 
Then you will have to make a symbolic link or copy T1.mgz to brainmask.auto.mgz 
and a link from brainmask.auto.mgz to brainmask.mgz. Finally, open this 
brainmask.mgz file and check that it looks okay (there is no skull, cerebellum 
is intact; use the sample subject bert that comes with your FreeSurfer 
installation to make sure it looks comparable). From there you can run the 
final stages of recon-all:
recon-all -autrecon2 -autorecon3 -s 
Hope it helps.
 Best,
Yujing


From: 
freesurfer-boun...@nmr.mgh.harvard.edu<mailto:freesurfer-boun...@nmr.mgh.harvard.edu>
 
mailto:freesurfer-boun...@nmr.mgh.harvard.edu>>
 On Behalf Of BALBONI Irene
Sent: Tuesday, December 19, 2023 3:43 AM
To: freesurfer@nmr.mgh.harvard.edu<mailto:freesurfer@nmr.mgh.harvard.edu>
Subject: [Freesurfer] recon all with optiBET brain mask


External Email - Use Caution
Hello,

I would like to run recon all on a batch of subjects using 2 inputs (mprage and 
mp2rage). I would also like to run recon all using as brain mask not the 
standard brain mask generated by recon-all itself but a previously created 
optiBET. Would you have any suggestion on how to proceed? I tried simply 
replacing the brainmask file with the optiBET but it did not work.
Just for context all my participants (150) have been already segmented using 
recon-all but we noticed during quality control that we still have skull 
stripping and pial surface errors for the majority of them and that is why we 
would like to implement the optiBET mask.

Thanks for your help,
Irene Balboni
PhD student
She/Her

Institute de 
plurilinguisme<https://secure-web.cisco.com/1I_JnpDzyOEyx8Jc7K_q3g5IPB7KbXj-76l10Sg_ahaccSisgZ9e4iRurQRSsDvbTxAJ4xB1aUPEPKI_zZFEhxC76_IqIj2_J54iaGtEBmn3s20exzRYq6Kyi-0-HV6J5aypu0Zjn_ybfK34BZnCGYrStB1CN9gA67c7-nxePl9CW0m8oRFAimAy9xfsSd4-2AHkjffvE-6TaCMjfUWgkFzynqchCnkaQ2QOoasJTkMdcVGoVKYJpbubqx6lFduXwWsec74DTxrnBBQOg-VMbnEBcA0olXJ60rb1L_PRitAapjnHmwrfP8ja7FpPtja5VNnohaRQdWU76qufEXOhQNw/https%3A%2F%2Furldefense.com%2Fv3%2F__https%3A%2Fsecure-web.cisco.com%2F1pftPU5_0h0FupMF_jZDy_UxBYrJAQ-AW89umP7RzP_duHGk4rhiIzM9LB0z7YfOSEvpcpUW2Vvrg-ISqJbvImgtoneLSk8oyjNXZPhv9YQEwck2mFdw3ySjyETxvAv2nlmsAPBJkQ

Re: [Freesurfer] recon-all-clinical synthseg error

2024-02-26 Thread Agata Wolna
External Email - Use Caution

Hi!

Thanks for getting back to me. I'm running it on CentOS Linux 7 in a
singularity container. What I did is to pull the freesurfer container from
the DockerHub 
(https://secure-web.cisco.com/1mn_DXGJRkbRZaR60gIIXGTJuR-LMjZIaTJCeez5OyFU1R7CR20ybjGOUz4tzd1AxyLGwPEti0x8dbFUB84ln0O_02-s6U0uTIK8MKNSC2PQi8YfCoEy1p0wItYQUPIb5iUXIN6xmG1NisixJAmoRH2aeiF1Hp2ua8Vwv7N3sV2qz3yq-FulWe5CIozSDdVtKxL-8HDqKu5m6Qmq6GfHUwkb68AW0vPu6pVuINPmzlucZN1FMBI-oVzetjru-RxRd8CEUnQYS0kfVzJqg3J8RkaraRyC-2GgBwrxi-VPObQTTobQn8Ty4Vssycv8t2gGm0EGMq-eSNszHNtFSMXl9qw/https%3A%2F%2Fhub.docker.com%2Fr%2Ffreesurfer%2Ffreesurfer%3A7.1.1)
 and I
replaced the /usr/local/freesurfer with this version:
https://secure-web.cisco.com/1VhsOWK6YuynPJZSTzGZep_xoqWFKijIbzVFTJkUW7wK3Iy1o63M730diiMYWK024Swr3mw9BBOIoTghZHgsLX-zhfP6VJWPQXHIZMmwb38t5iynLb8UTlDh2ES7braGKK28KbwDzrtuKHr6KKC__ikcHay2_nyeyuJS4IwgMAiqy9kk1c_jRMvKIvmNtHZnGGZHc2CGMi8aPtk5G4xQDteY56lAA64yYnRe_Lps-504c6Cz_3e4Nn8HCIblzADgs-Wd5j6sMe98DjAVApWr795qdo3M4CC3109D_5-l10o8bPlPWv6GeKT8TnmDAKUfThVbrpLKOB8jq9QJ6Pm1jmQ/https%3A%2F%2Fsurfer.nmr.mgh.harvard.edu%2Fpub%2Fdist%2Ffreesurfer%2Fdev%2F
 (build-stamp
is freesurfer-linux-centos7_x86_64-dev-20240209-8d5b885).

Do you think that this might be an issue related to the differences in
dependencies for the 7.1.1 and the dev version that I replaced the 7.1.1
with? Also, if you happen to have a containerized version of the newest dev
version (or any version higher than 7.4, as I assume they would all support
the recon-all-clinical function, right?) maybe I could just pull the entire
container from somewhere and see if it solves the problem?

Best wishes,
Agata

niedz., 25 lut 2024 o 21:56 fsbuild  napisał(a):

>
> It could help to know what OS version and what Freesurfer version you are
> running.  From your path /usr/local/freesurfer it looks like you are
> running a Freesurfer release, e.g.., 7.4.1.
>
> - R.
>
> On Feb 25, 2024, at 21:45, Agata Wolna  wrote:
>
> External Email - Use Caution
>
> Hi!
>
> I'm trying to run recon-all-clinical but I'm running into an error with
> the SynthSeg at the very beginning. Do you have any hints what the problem
> might be here? Here's the full error message:
>
> the following problem occured with image [mypath]/mri/native..mgz :
> Traceback (most recent call last):
>   File "/usr/local/freesurfer/python/scripts/mri_synthseg", line 303, in
> predict
> image, aff, h, im_res, shape, pad_idx, crop_idx =
> preprocess(path_image=path_images[i],
>   File "/usr/local/freesurfer/python/scripts/mri_synthseg", line 554, in
> preprocess
> im, _, aff, n_dims, n_channels, h, im_res =
> get_volume_info(path_image, True)
>   File "/usr/local/freesurfer/python/scripts/mri_synthseg", line 1456, in
> get_volume_info
> im, aff, header = load_volume(path_volume, im_only=False)
>   File "/usr/local/freesurfer/python/scripts/mri_synthseg", line 1377, in
> load_volume
> x = nib.load(path_volume)
>   File
> "/usr/local/freesurfer/python/lib/python3.8/site-packages/nibabel/loadsave.py",
> line 110, in load
> img = image_klass.from_filename(filename, **kwargs)
>   File
> "/usr/local/freesurfer/python/lib/python3.8/site-packages/nibabel/dataobj_images.py",
> line 503, in from_filename
> return klass.from_file_map(file_map, mmap=mmap,
> keep_file_open=keep_file_open)
>   File
> "/usr/local/freesurfer/python/lib/python3.8/site-packages/nibabel/freesurfer/mghformat.py",
> line 526, in from_file_map
> header = klass.header_class.from_fileobj(mghf)
>   File
> "/usr/local/freesurfer/python/lib/python3.8/site-packages/nibabel/freesurfer/mghformat.py",
> line 171, in from_fileobj
> + int(klass._data_type_codes.bytespervox[tp]) *
> np.prod(hdr_str_to_np['dims'])
> KeyError: 10
>
> resuming program execution
>
>
> ERROR: some problems occured for the following inputs (see corresponding
> errors above):
> [mypath]/mri/native..mgz
> Error in SynthSeg
>
> Best,
> Agata
> ___
> Freesurfer mailing list
> Freesurfer@nmr.mgh.harvard.edu
> https://secure-web.cisco.com/1ErCkj9oNHbp_bA7yCLdfBWvX7scb1cY07IHh6AQwlr0Q3zCJ4IcHFkxbZr9N9-Fb3p_7f_Rj7fgU9VjWgvy2cYrVcVPY9I8bfHgnp_s07bPJZYfTWcnSF676gbZYnJ-f2K5HG5YZKutyFVDEwBpJIISXU6AF1SBCagt_FGxo2MUWESk7E1G5MUHxpJ8cIZraohAjo1bVt5Op9d7gogkHbEuKPr7ptaRm8u3Nd4cKu0sqeDH-mg6TeC4ouHRchhHjbyS1Jm1Q_H5phFu7QzCFmOA9oYVzyWulELZhSi1cXhutGdCqVx-4oaZoG4dsDb2gCW6Vk7SWImwBTop99lX4yg/https%3A%2F%2Fmail.nmr.mgh.harvard.edu%2Fmailman%2Flistinfo%2Ffreesurfer
>
>
>
___
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 Mass General Brigham 
Compliance HelpLine at 

Re: [Freesurfer] recon-all-clinical synthseg error

2024-02-25 Thread fsbuild
External Email - Use Caution

It could help to know what OS version and what Freesurfer version you are 
running. From your path /usr/local/freesurfer it looks like you are 
running a Freesurfer release, e.g., 7.4.1.
- R.

On Feb 25, 2024, at 21:45, Agata Wolna awo...@mit.edu 
wrote:External Email - Use 
CautionHi!I'm trying to run 
recon-all-clinical but I'm running into an error with the SynthSeg at the very 
beginning. Do you have any hints what the problem might be here? Here's the 
full error message:the following problem occured with 
image[mypath]/mri/native.mgz :Traceback (most recent call last): 
File "/usr/local/freesurfer/python/scripts/mri_synthseg", line 303, in 
predict  image, aff, h, im_res, shape, pad_idx, crop_idx = 
preprocess(path_image=path_images[i], File 
"/usr/local/freesurfer/python/scripts/mri_synthseg", line 554, in 
preprocess  im, _, aff, n_dims, n_channels, h, im_res = 
get_volume_info(path_image, True) File 
"/usr/local/freesurfer/python/scripts/mri_synthseg", line 1456, in 
get_volume_info  im, aff, header = load_volume(path_volume, 
im_only=False) File "/usr/local/freesurfer/python/scripts/mri_synthseg", 
line 1377, in load_volume  x = nib.load(path_volume) File 
"/usr/local/freesurfer/python/lib/python3..8/site-packages/nibabel/loadsave.py",
 line 110, in load  img = image_klass.from_filename(filename, 
**kwargs) File 
"/usr/local/freesurfer/python/lib/python3.8/site-packages/nibabel/dataobj_images.py",
 line 503, in from_filename  return klass.from_file_map(file_map, 
mmap=mmap, keep_file_open=keep_file_open) File 
"/usr/local/freesurfer/python/lib/python3.8/site-packages/nibabel/freesurfer/mghformat.py",
 line 526, in from_file_map  header = 
klass.header_class.from_fileobj(mghf) File 
"/usr/local/freesurfer/python/lib/python3.8/site-packages/nibabel/freesurfer/mghformat.py",
 line 171, in from_fileobj  + 
int(klass._data_type_codes.bytespervox[tp]) * 
np.prod(hdr_str_to_np['dims'])KeyError: 10resuming program executionERROR: some 
problems occured for the following inputs (see corresponding errors 
above):[mypath]/mri/native.mgzError in 
SynthSegBest,Agata___Freesurfer 
mailing 
listfreesur...@nmr.mgh.harvard.eduhttps://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 Mass General Brigham 
Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline 
 .
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 


[Freesurfer] recon-all-clinical synthseg error

2024-02-25 Thread Agata Wolna
External Email - Use Caution

Hi!

I'm trying to run recon-all-clinical but I'm running into an error with the
SynthSeg at the very beginning. Do you have any hints what the problem
might be here? Here's the full error message:

the following problem occured with image [mypath]/mri/native.mgz :
Traceback (most recent call last):
  File "/usr/local/freesurfer/python/scripts/mri_synthseg", line 303, in
predict
image, aff, h, im_res, shape, pad_idx, crop_idx =
preprocess(path_image=path_images[i],
  File "/usr/local/freesurfer/python/scripts/mri_synthseg", line 554, in
preprocess
im, _, aff, n_dims, n_channels, h, im_res = get_volume_info(path_image,
True)
  File "/usr/local/freesurfer/python/scripts/mri_synthseg", line 1456, in
get_volume_info
im, aff, header = load_volume(path_volume, im_only=False)
  File "/usr/local/freesurfer/python/scripts/mri_synthseg", line 1377, in
load_volume
x = nib.load(path_volume)
  File
"/usr/local/freesurfer/python/lib/python3.8/site-packages/nibabel/loadsave.py",
line 110, in load
img = image_klass.from_filename(filename, **kwargs)
  File
"/usr/local/freesurfer/python/lib/python3.8/site-packages/nibabel/dataobj_images.py",
line 503, in from_filename
return klass.from_file_map(file_map, mmap=mmap,
keep_file_open=keep_file_open)
  File
"/usr/local/freesurfer/python/lib/python3.8/site-packages/nibabel/freesurfer/mghformat.py",
line 526, in from_file_map
header = klass.header_class.from_fileobj(mghf)
  File
"/usr/local/freesurfer/python/lib/python3.8/site-packages/nibabel/freesurfer/mghformat.py",
line 171, in from_fileobj
+ int(klass._data_type_codes.bytespervox[tp]) *
np.prod(hdr_str_to_np['dims'])
KeyError: 10

resuming program execution


ERROR: some problems occured for the following inputs (see corresponding
errors above):
[mypath]/mri/native.mgz
Error in SynthSeg

Best,
Agata
___
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 Mass General Brigham 
Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline 
 .
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 


Re: [Freesurfer] Recon-all Longitudinal Talairach issue

2024-02-07 Thread Douglas N. Greve

Can you send the recon-all.log file that contains the error?

On 1/24/2024 4:01 AM, Kapteijns, Kirsten wrote:


External Email - Use Caution

Dear all,

I have run recon-all successfully on multiple subjects on multiple 
timepoints. If I open the mri folder, it shows the correct talairach 
files and no issues arose during processing.


However, when I then run the longitudinal pipeline (first base, which 
also shows correct files) on the subjects (recon-all -long SUBJXXtp1 
SUBJXXbase -all) the talairach shows an failure detection and the 
subsequent file is talairach.invalid.mgz.


The actual segmentation etc. seems fine when inspecting, but when I 
then want to run segmentBS.sh on these processed folders, it gives an 
error.


I have run this a few month back without issue, and had just a few 
subjects left, but now all of them show this same error. Any idea how 
this could be caused?


Kind regards,

Kirsten

De informatie in dit bericht is uitsluitend bestemd voor de 
geadresseerde. Aan dit bericht en de bijlagen kunnen geen rechten 
worden ontleend. Heeft u deze e-mail onbedoeld ontvangen? Dan 
verzoeken wij u het te vernietigen en de afzender te informeren. 
Openbaar maken, kopiëren en verspreiden van deze e-mail of informatie 
uit deze e-mail is alleen toegestaan met voorafgaande schriftelijke 
toestemming van de afzender. Het Radboudumc staat geregistreerd bij de 
Kamer van Koophandel in het handelsregister onder nummer 80262783.


The content of this message is intended solely for the addressee. No 
rights can be derived from this message or its attachments. If you are 
not the intended recipient, we kindly request you to delete the 
message and inform the sender. It is strictly prohibited to disclose, 
copy or distribute this email or the information inside it, without a 
written consent from the sender. Radboud university medical center is 
registered with the Dutch Chamber of Commerce trade register with 
number 80262783.



___
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 Mass General Brigham 
Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline 
 .
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 


Re: [Freesurfer] Freesurfer recon-all qcache partial failure

2024-02-07 Thread Asuka Toyofuku
External Email - Use Caution

Dear Yujing,

Thank you for your kind help (and sorry for my late reply).
It worked with the added flag; - measures thickness.
I appreciate your advice on adding directives at the end of the recon-all 
command.

Best,
Asuka

From: freesurfer-boun...@nmr.mgh.harvard.edu 
 on behalf of Huang, Yujing 

Sent: 16 January 2024 13:41
To: Freesurfer support list 
Subject: Re: [Freesurfer] Freesurfer recon-all qcache partial failure


The command should look like this ‘recon-all -s subjid -qcache -all -i 
input-file’





From: freesurfer-boun...@nmr.mgh.harvard.edu 
 On Behalf Of Asuka Toyofuku
Sent: Monday, January 15, 2024 9:45 AM
To: Freesurfer support list 
Subject: Re: [Freesurfer] Freesurfer recon-all qcache partial failure



External Email - Use Caution

Dear Yujing,



Thank you very much for your kind help.



So, you're saying I need more directive other than -qcashe?

My command was;

for d in Te* te* EPK* epk*

do recon-all -s $d -qcache

done



Do you think I should add another directive, such as -all or -autorecon-all?

So, the command line looks like this?

recon-all -s -subjid -qcashe - autorecon-all



I ran recon-all -qcashe not on the fsaverage folder, but in the SUBJECT_DIR.

In the previous post, I attached the wrong recon-all log (which was from 
fsaverage>scripts folder), but now I'm attaching the recon-all log file from a 
random subject folder.

Could you please look and check this recon-all as well?

Many thanks!



Best,

Asuka





From: 
freesurfer-boun...@nmr.mgh.harvard.edu<mailto:freesurfer-boun...@nmr.mgh.harvard.edu>
 
mailto:freesurfer-boun...@nmr.mgh.harvard.edu>>
 on behalf of Huang, Yujing 
mailto:yhuan...@mgh.harvard.edu>>
Sent: 12 January 2024 14:24
To: Freesurfer support list 
mailto:freesurfer@nmr.mgh.harvard.edu>>
Subject: Re: [Freesurfer] Freesurfer recon-all qcache partial failure



Your recon-all command doesn’t have the directive to tell it what to run. You 
also need to specify input files for your initial run.  See this wiki page for 
detail MailScanner has detected a possible fraud attempt from 
"secure-web.cisco.com" claiming to be 
https://secure-web.cisco.com/1WHtKoBRWRweL9tOk04WS_fJMQNq-6FmCk7jSMyjZxjX34yU-Dlr5b4MzSwJL0G4PCxBUEWet96Y3jjqc8Eg-MkfKhwWflyMuhk9fmnVywIMKVjjl3LCipveJDkFaKnkM_qJ3ZE4TUygho39aVC6uloeAdYv3L3E1RgcAfLZ66tZhKh6x41SPMkse4TUZNWr7qUY6z5ebLWoZYv8vnwoKlxK40EFn409Puic2n3fgLNZZOvEb99nWSNV3_rFb3lo7l29NkdLmDJzD7xafSmiEzetkbSw7Db1ENHv8B_2bVA5S5Zt2oBdDE8fBRfMMl4gs/https%3A%2F%2Fsurfer.nmr.mgh.harvard.edu%2Ffswiki%2Frecon-all<https://secure-web.cisco.com/11Bilsco5cPfi23kohUaJckmoejScJgxCVT9TueKMZWvsx7dAntYubRwWYXHtGKljKeBLeTqzQQ5UePuZUZnRFzxae5FFSuLRLH4HzelINkwLs96J8N2iaElEUM_9YKPg9etzBOD8OEAuG2UfdHxpyONcBHtLAn_f6EkrCSoSjzjNvXi_oX7KVCXXUF3o5g3Bjyz-ezPwcZ5YFtvqdbIYv52nG9qbUuOOaolTNutoq-ibvyTwQgNV48YK3yt4Hsi_B54h6NAIo1rBwTyHrWCfvL9-lF9ZVJPN9vRL5Pst33y1_GcnaQjVirIdC2QsnN3-/https%3A%2F%2Fsurfer.nmr.mgh.harvard.edu%2Ffswiki%2Frecon-all>



The recon-all.log attached contains runs between 2009 and 2010 on subject 
‘fsaverage’.



‘fsaverage’ is an average subject comes with Freesurfer distribution in 
$FREESURFER_HOME/subjects/. fsaverage is a template brain based on a 
combination of 40 MRI scans of real brains. It can be used as a common space 
for group comparison. You don’t want to run recon-all on it.



Your SUBJECTS_DIR should not set to your Freesurfer download/install directory. 
Set it to some other directory where you have the write permission.



You should see ‘fsaverage’ as a symbolic link in your SUBJECTS_DIR.



Best,



Yujing







From: 
freesurfer-boun...@nmr.mgh.harvard.edu<mailto:freesurfer-boun...@nmr.mgh.harvard.edu>
 
mailto:freesurfer-boun...@nmr.mgh.harvard.edu>>
 On Behalf Of Asuka Toyofuku
Sent: Friday, January 12, 2024 4:31 AM
To: freesurfer@nmr.mgh.harvard.edu<mailto:freesurfer@nmr.mgh.harvard.edu>
Subject: [Freesurfer] Freesurfer recon-all qcache partial failure



External Email - Use Caution

Dear Freesurfer researchers,



I have an issue with recon-all-qcashe results. (please find the recon-all.log 
attached.)

The command created fsaverage mgh files (e.g., lh.thickness.fsaverage.mgh), but 
it did not create fsaverage files with different smoothing levels (e.g.,  
lh.thickness.fwhm10.fsaverage.mgh, lh.thickness.fwhm15.fsaverage.mgh, 
lh.thickness.fwhm20.fsaverage.mgh...etc) in the individual subject "surf" 
folder.



I used the command below:

for d in Te* te* EPK* epk*

do recon-all -s $d -qcache

done



(Subjects names start from either Te, te, EPK or epk)

For several subjects with failed recon-all commands, I re-ran the command 
individually:

 recon-all -s subjectname -qcashe



(output from the terminal window)

It could also be that recon-all was running at one point but died in an 
unexpected way.

If it is th

Re: [Freesurfer] recon-all ends prematurely without error

2024-01-25 Thread Huang, Yujing
Your recon-all command doesn't have the directive to tell it what to run - add 
option '-all' to your command.

See this wiki page for detail 
https://surfer.nmr.mgh.harvard.edu/fswiki/recon-all

Best,

Yujing

From: freesurfer-boun...@nmr.mgh.harvard.edu 
 On Behalf Of Weisholtz, Daniel S.,MD
Sent: Thursday, January 25, 2024 12:51 PM
To: freesurfer@nmr.mgh.harvard.edu
Subject: [Freesurfer] recon-all ends prematurely without error

Hello FreeSurfer team,

I have been using FreeSurfer for some time without difficulty, but I recently 
encountered a problem that I cannot overcome.  When I run recon-all using a 
command like this:

recon-all -s b047test -i 
/Users/danielweisholtz/Coregistration/raw/b047/b047_MRI_PreAx3DT1MPRAGE_July2022.nii.gz


the process terminates in just a few seconds without error.

The output reads as follows:
fs-check-version --s b047test --o 
/var/folders/44/ndjzqbx515991v_9vt0j8sprgq/T//tmp.IMS2K1
Thu Jan 25 12:35:02 EST 2024

setenv SUBJECTS_DIR /Users/danielweisholtz/Coregistration/subjects
cd /Users/danielweisholtz
/Applications/freesurfer/7.4.1/bin/fs-check-version --s b047test --o 
/var/folders/44/ndjzqbx515991v_9vt0j8sprgq/T//tmp.IMS2K1
-rwxr-xr-x  1 root  wheel  18565 Jun 14  2023 
/Applications/freesurfer/7.4.1/bin/fs-check-version

freesurfer-macOS-darwin_x86_64-7.4.1-20230614-7eb8460
$Id$
Darwin i.partners.org<http://i.partners.org> 21.6.0 Darwin Kernel Version 
21.6.0: Mon Aug 22 20:19:52 PDT 2022; 
root:xnu-8020.140.49~2/RELEASE_ARM64_T6000 arm64
pid 6977
Current FS Version freesurfer-macOS-darwin_x86_64-7.4.1-20230614-7eb8460
Subject does not have a bstampfile, copying 
/Applications/freesurfer/7.4.1/build-stamp.txt
Subject FS Version: freesurfer-macOS-darwin_x86_64-7.4.1-20230614-7eb8460
No constraints on version because REQ=UnSet and FsVerFile=NotThere
#@#% fs-check-version match = 1
fs-check-version Done
INFO: SUBJECTS_DIR is /Users/danielweisholtz/Coregistration/subjects
Actual FREESURFER_HOME /Applications/freesurfer/7.4.1
Darwin i.partners.org<http://i.partners.org> 21.6.0 Darwin Kernel Version 
21.6.0: Mon Aug 22 20:19:52 PDT 2022; 
root:xnu-8020.140.49~2/RELEASE_ARM64_T6000 arm64
/Users/danielweisholtz/Coregistration/subjects/b047test
\n mri_convert 
/Users/danielweisholtz/Coregistration/raw/b047/b047_MRI_PreAx3DT1MPRAGE_July2022.nii.gz
 /Users/danielweisholtz/Coregistration/subjects/b047test/mri/orig/001.mgz \n
mri_convert 
/Users/danielweisholtz/Coregistration/raw/b047/b047_MRI_PreAx3DT1MPRAGE_July2022.nii.gz
 /Users/danielweisholtz/Coregistration/subjects/b047test/mri/orig/001.mgz
INFO: using NIfTI-1 qform
reading from 
/Users/danielweisholtz/Coregistration/raw/b047/b047_MRI_PreAx3DT1MPRAGE_July2022.nii.gz...
INFO: This is an unsigined short.
TR=2000.00, TE=0.00, TI=0.00, flip angle=0.00
i_ras = (-1, 0, 0)
j_ras = (0, -1, 0)
k_ras = (0, 0, 1)
writing to 
/Users/danielweisholtz/Coregistration/subjects/b047test/mri/orig/001.mgz...
~/Coregistration/subjects/b047test/mri/transforms 
~/Coregistration/subjects/b047test
~/Coregistration/subjects/b047test

Started at Thu Jan 25 12:35:02 EST 2024
Ended   at Thu Jan 25 12:35:06 EST 2024
#@#%# recon-all-run-time-hours 0.001
recon-all -s b047test finished without error at Thu Jan 25 12:35:06 EST 2024
done



The subject folder is created along with some of the files, but not much is 
actually there. I had been using FreeSurfer 7.2.0 but I upgraded to 7.4.1, and 
this did not resolve the problem.  Initially, I thought the problem was with 
the source file I was using, but I tested it with an MRI that I had previously 
used successfully with recon-all, and I got the same error. So something seems 
to have changed with my system that is causing this problem.

I am running FreeSurfer on a Mac using MacOS 12.6.

Many thanks for any assistance you can provide.

Sincerely,
Dan Weisholtz


___
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 


[Freesurfer] recon-all ends prematurely without error

2024-01-25 Thread Weisholtz, Daniel S.,MD
Hello FreeSurfer team,

I have been using FreeSurfer for some time without difficulty, but I recently 
encountered a problem that I cannot overcome.  When I run recon-all using a 
command like this:

recon-all -s b047test -i 
/Users/danielweisholtz/Coregistration/raw/b047/b047_MRI_PreAx3DT1MPRAGE_July2022.nii.gz

the process terminates in just a few seconds without error.

The output reads as follows:
fs-check-version --s b047test --o 
/var/folders/44/ndjzqbx515991v_9vt0j8sprgq/T//tmp.IMS2K1
Thu Jan 25 12:35:02 EST 2024

setenv SUBJECTS_DIR /Users/danielweisholtz/Coregistration/subjects
cd /Users/danielweisholtz
/Applications/freesurfer/7.4.1/bin/fs-check-version --s b047test --o 
/var/folders/44/ndjzqbx515991v_9vt0j8sprgq/T//tmp.IMS2K1
-rwxr-xr-x  1 root  wheel  18565 Jun 14  2023 
/Applications/freesurfer/7.4.1/bin/fs-check-version

freesurfer-macOS-darwin_x86_64-7.4.1-20230614-7eb8460
$Id$
Darwin i.partners.org 21.6.0 Darwin Kernel Version 
21.6.0: Mon Aug 22 20:19:52 PDT 2022; 
root:xnu-8020.140.49~2/RELEASE_ARM64_T6000 arm64
pid 6977
Current FS Version freesurfer-macOS-darwin_x86_64-7.4.1-20230614-7eb8460
Subject does not have a bstampfile, copying 
/Applications/freesurfer/7.4.1/build-stamp.txt
Subject FS Version: freesurfer-macOS-darwin_x86_64-7.4.1-20230614-7eb8460
No constraints on version because REQ=UnSet and FsVerFile=NotThere
#@#% fs-check-version match = 1
fs-check-version Done
INFO: SUBJECTS_DIR is /Users/danielweisholtz/Coregistration/subjects
Actual FREESURFER_HOME /Applications/freesurfer/7.4.1
Darwin i.partners.org 21.6.0 Darwin Kernel Version 
21.6.0: Mon Aug 22 20:19:52 PDT 2022; 
root:xnu-8020.140.49~2/RELEASE_ARM64_T6000 arm64
/Users/danielweisholtz/Coregistration/subjects/b047test
\n mri_convert 
/Users/danielweisholtz/Coregistration/raw/b047/b047_MRI_PreAx3DT1MPRAGE_July2022.nii.gz
 /Users/danielweisholtz/Coregistration/subjects/b047test/mri/orig/001.mgz \n
mri_convert 
/Users/danielweisholtz/Coregistration/raw/b047/b047_MRI_PreAx3DT1MPRAGE_July2022.nii.gz
 /Users/danielweisholtz/Coregistration/subjects/b047test/mri/orig/001.mgz
INFO: using NIfTI-1 qform
reading from 
/Users/danielweisholtz/Coregistration/raw/b047/b047_MRI_PreAx3DT1MPRAGE_July2022.nii.gz...
INFO: This is an unsigined short.
TR=2000.00, TE=0.00, TI=0.00, flip angle=0.00
i_ras = (-1, 0, 0)
j_ras = (0, -1, 0)
k_ras = (0, 0, 1)
writing to 
/Users/danielweisholtz/Coregistration/subjects/b047test/mri/orig/001.mgz...
~/Coregistration/subjects/b047test/mri/transforms 
~/Coregistration/subjects/b047test
~/Coregistration/subjects/b047test

Started at Thu Jan 25 12:35:02 EST 2024
Ended   at Thu Jan 25 12:35:06 EST 2024
#@#%# recon-all-run-time-hours 0.001
recon-all -s b047test finished without error at Thu Jan 25 12:35:06 EST 2024
done


The subject folder is created along with some of the files, but not much is 
actually there. I had been using FreeSurfer 7.2.0 but I upgraded to 7.4.1, and 
this did not resolve the problem.  Initially, I thought the problem was with 
the source file I was using, but I tested it with an MRI that I had previously 
used successfully with recon-all, and I got the same error. So something seems 
to have changed with my system that is causing this problem.

I am running FreeSurfer on a Mac using MacOS 12.6.

Many thanks for any assistance you can provide.

Sincerely,
Dan Weisholtz




recon-all.log
Description: recon-all.log
___
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 


[Freesurfer] Recon-all Longitudinal Talairach issue

2024-01-24 Thread Kapteijns, Kirsten
External Email - Use Caution

Dear all,


I have run recon-all successfully on multiple subjects on multiple timepoints. 
If I open the mri folder, it shows the correct talairach files and no issues 
arose during processing.
However, when I then run the longitudinal pipeline (first base, which also 
shows correct files) on the subjects (recon-all -long SUBJXXtp1 SUBJXXbase 
-all) the talairach shows an failure detection and the subsequent file is 
talairach.invalid.mgz.
The actual segmentation etc. seems fine when inspecting, but when I then want 
to run segmentBS.sh on these processed folders, it gives an error.

I have run this a few month back without issue, and had just a few subjects 
left, but now all of them show this same error. Any idea how this could be 
caused?


Kind regards,

Kirsten

De informatie in dit bericht is uitsluitend bestemd voor de geadresseerde. Aan 
dit bericht en de bijlagen kunnen geen rechten worden ontleend. Heeft u deze 
e-mail onbedoeld ontvangen? Dan verzoeken wij u het te vernietigen en de 
afzender te informeren. Openbaar maken, kopi?ren en verspreiden van deze e-mail 
of informatie uit deze e-mail is alleen toegestaan met voorafgaande 
schriftelijke toestemming van de afzender. Het Radboudumc staat geregistreerd 
bij de Kamer van Koophandel in het handelsregister onder nummer 80262783.

The content of this message is intended solely for the addressee. No rights can 
be derived from this message or its attachments. If you are not the intended 
recipient, we kindly request you to delete the message and inform the sender. 
It is strictly prohibited to disclose, copy or distribute this email or the 
information inside it, without a written consent from the sender. Radboud 
university medical center is registered with the Dutch Chamber of Commerce 
trade register with number 80262783.
___
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 


Re: [Freesurfer] recon-all cannot execute: required file not found

2024-01-19 Thread fsbuild
External Email - Use Caution

I don’t see what FREESURFER _HOME is set to, but if you used the .deb package 
installer, it would be /usr/local/freesurfer/7.4.0, i.e.
$ wget 
https://secure-web.cisco.com/1vzo5wK6ItFFFMnllsCMKRTIzcqYXDSETeXibiyz78VEk_TVHkbVLtjlltPd0g0Uvd8x0WK89GE8gU1KWFMzKnfwwgiI7LxjmgavQJ6CRuDKNdbu69lRngmJXHI_jT7Apzbthify1jBVr0Rl4tHRLO59uiYFLhP5xVv4FxnW-1brLM5t_f80dYxYqxS-tDJmUcSQBJ26bUuIwdNXHT49QU9R4-QLIUjxabN7pBG7dNNvYjk6etULRIlRTmLlKSxZ11x1M0Be8QDGN-sL353J66YtQqcu9Ew-9KlI2nYNXikCfbW-0PZolvzHu35pUzJw_8zpHpyEpfdmLOKtTKWv0Iw/https%3A%2F%2Fsurfer.nmr.mgh.harvard.edu%2Fpub%2Fdist%2Ffreesurfer%2F7.4.0%2Ffreesurfer_ubuntu22-7.4.0_amd64.deb%24
 sudo apt-get install ./freesurfer_ubuntu22-7.4.0_amd64.deb… answer yes to all 
queries ….,.. output deleted ...
$ export FREESURFER_HOME=/usr/local/freesurfer/7.4.0$ source 
$FREESURFER_HOME/SetUpFreeSurfer.sh… output deleted …
$ which recon-all
/usr/local/freesurfer/7.4.0/bin/recon-all
$ recon-all -version
freesurfer-linux-ubuntu22_x86_64-7.4.0-20230510-e558e6e
If you used the tar file instead, then some permissions might not be correct 
depending upon how/where it was unarchived (and some dependencies might be 
missing).
- R.

On Jan 19, 2024, at 15:20, Peled, Noam,PhD npe...@mgh.harvard.edu 
wrote:I'm just trying now to runthe "recon-all -version", also without 
any arguments.Both produce the same 
error.Thanks!NoamFrom:freesurfer-boun...@nmr.mgh.harvard.edu 
freesurfer-boun...@nmr.mgh.harvard.edu on behalf of Huang, Yujing 
yhuan...@mgh.harvard.eduSent:Friday, January 19, 2024 3:10 
PMTo:Freesurfer support list 
freesurfer@nmr.mgh.harvard.eduSubject:Re: [Freesurfer] recon-all 
cannot execute: required file not foundI’m wondering how you ran 
recon-all. Do you see the error even running it w/o any 
arguments?From:freesurfer-boun...@nmr..mgh.harvard.edu 
freesurfer-boun...@nmr.mgh.harvard.eduOn Behalf OfPeled, 
Noam,PhDSent:Friday, January 19, 2024 2:59 PMTo:Freesurfer support 
list freesurfer@nmr.mgh.harvard.eduSubject:Re: [Freesurfer] 
recon-all cannot execute: required file not foundThanksYujing,Yes, 
I looked for the file permissions using ls -l. It does have execute 
permissions.I also tried running chmod which didn't 
help..Thanks,NoamFrom:freesurfer-boun...@nmr.mgh.harvard.edufreesurfer-boun...@nmr.mgh.harvard.edu
 on behalf of Huang, Yujing yhuan...@mgh.harvard.eduSent:Friday, 
January 19, 2024 2:54 PMTo:Freesurfer support list 
freesurfer@nmr.mgh.harvard.eduSubject:Re: [Freesurfer] recon-all 
cannot execute: required file not foundAfter sourcing Freesurfer, 
$FREESURFER_HOME is added to the front of your $PATH.1. ‘ls -l 
$FREESURFER_HOME/bin/recon-all’ to check if your recon-all has the execute 
permissions?2. use ‘chmod +x $FREESURFER_HOME/bin/recon-all’ to grant the 
permissionBest,YujingFrom:freesurfer-boun...@nmr.mgh.harvard.edufreesurfer-boun...@nmr.mgh.harvard.eduOn
 Behalf OfPeled, Noam,PhDSent:Friday, January 19, 2024 2:42 
PMTo:freesur...@nmr.mgh.harvard.eduSubject:[Freesurfer] recon-all 
cannot execute: required file not foundDear group,I'm trying to run 
Freesurfer on digitalOcean server running Ubuntu 22.10(GNU/Linux 
5.19.0-46-generic x86_64)I Downloaded freesurfer 7.4.0 
(freesurfer-linux-ubuntu22_x86_64-7.4.0-20230510-e558e6e)After sourcing 
Freesurfer, recon-all gives following error:.../freesurfer/bin/recon-all: 
cannot execute: required file not foundOther functions, e.g. freeview, 
mri_info, all seem to work as expectedWould love some 
help.Thanks,Noam___Freesurfer
 mailing 
listfreesur...@nmr.mgh.harvard.eduhttps://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
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 


Re: [Freesurfer] recon-all cannot execute: required file not found

2024-01-19 Thread Peled, Noam,PhD
I'm just trying now to run the "recon-all -version", also without any arguments.
Both produce the same error.

Thanks!
Noam

From: freesurfer-boun...@nmr.mgh.harvard.edu 
 on behalf of Huang, Yujing 

Sent: Friday, January 19, 2024 3:10 PM
To: Freesurfer support list 
Subject: Re: [Freesurfer] recon-all cannot execute: required file not found


I’m wondering how you ran recon-all.  Do you see the error even running it w/o 
any arguments?



From: freesurfer-boun...@nmr.mgh.harvard.edu 
 On Behalf Of Peled, Noam,PhD
Sent: Friday, January 19, 2024 2:59 PM
To: Freesurfer support list 
Subject: Re: [Freesurfer] recon-all cannot execute: required file not found



Thanks Yujing,

Yes, I looked for the file permissions using ls -l. It does have execute 
permissions.

I also tried running chmod which didn't help.



Thanks,

Noam



From: 
freesurfer-boun...@nmr.mgh.harvard.edu<mailto:freesurfer-boun...@nmr.mgh.harvard.edu>
 
mailto:freesurfer-boun...@nmr.mgh.harvard.edu>>
 on behalf of Huang, Yujing 
mailto:yhuan...@mgh.harvard.edu>>
Sent: Friday, January 19, 2024 2:54 PM
To: Freesurfer support list 
mailto:freesurfer@nmr.mgh.harvard.edu>>
Subject: Re: [Freesurfer] recon-all cannot execute: required file not found



After sourcing Freesurfer, $FREESURFER_HOME is added to the front of your $PATH.



1. ‘ls -l $FREESURFER_HOME/bin/recon-all’ to check if your recon-all has the 
execute permissions?

2. use ‘chmod +x $FREESURFER_HOME/bin/recon-all’ to grant the permission





Best,



Yujing



From: 
freesurfer-boun...@nmr.mgh.harvard.edu<mailto:freesurfer-boun...@nmr.mgh.harvard.edu>
 
mailto:freesurfer-boun...@nmr.mgh.harvard.edu>>
 On Behalf Of Peled, Noam,PhD
Sent: Friday, January 19, 2024 2:42 PM
To: freesurfer@nmr.mgh.harvard.edu<mailto:freesurfer@nmr.mgh.harvard.edu>
Subject: [Freesurfer] recon-all cannot execute: required file not found



Dear group,

I'm trying to run Freesurfer on digitalOcean server running Ubuntu 22.10 
(GNU/Linux 5.19.0-46-generic x86_64)

I Downloaded freesurfer 7.4.0 
(freesurfer-linux-ubuntu22_x86_64-7.4.0-20230510-e558e6e)

After sourcing Freesurfer, recon-all gives following error:

.../freesurfer/bin/recon-all: cannot execute: required file not found



Other functions, e.g. freeview, mri_info, all seem to work as expected



Would love some help.

Thanks,

Noam




___
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 


Re: [Freesurfer] recon-all cannot execute: required file not found

2024-01-19 Thread Huang, Yujing
I'm wondering how you ran recon-all.  Do you see the error even running it w/o 
any arguments?

From: freesurfer-boun...@nmr.mgh.harvard.edu 
 On Behalf Of Peled, Noam,PhD
Sent: Friday, January 19, 2024 2:59 PM
To: Freesurfer support list 
Subject: Re: [Freesurfer] recon-all cannot execute: required file not found

Thanks Yujing,
Yes, I looked for the file permissions using ls -l. It does have execute 
permissions.
I also tried running chmod which didn't help.

Thanks,
Noam

From: 
freesurfer-boun...@nmr.mgh.harvard.edu<mailto:freesurfer-boun...@nmr.mgh.harvard.edu>
 
mailto:freesurfer-boun...@nmr.mgh.harvard.edu>>
 on behalf of Huang, Yujing 
mailto:yhuan...@mgh.harvard.edu>>
Sent: Friday, January 19, 2024 2:54 PM
To: Freesurfer support list 
mailto:freesurfer@nmr.mgh.harvard.edu>>
Subject: Re: [Freesurfer] recon-all cannot execute: required file not found


After sourcing Freesurfer, $FREESURFER_HOME is added to the front of your $PATH.



1. 'ls -l $FREESURFER_HOME/bin/recon-all' to check if your recon-all has the 
execute permissions?

2. use 'chmod +x $FREESURFER_HOME/bin/recon-all' to grant the permission





Best,



Yujing



From: 
freesurfer-boun...@nmr.mgh.harvard.edu<mailto:freesurfer-boun...@nmr.mgh.harvard.edu>
 
mailto:freesurfer-boun...@nmr.mgh.harvard.edu>>
 On Behalf Of Peled, Noam,PhD
Sent: Friday, January 19, 2024 2:42 PM
To: freesurfer@nmr.mgh.harvard.edu<mailto:freesurfer@nmr.mgh.harvard.edu>
Subject: [Freesurfer] recon-all cannot execute: required file not found



Dear group,

I'm trying to run Freesurfer on digitalOcean server running Ubuntu 22.10 
(GNU/Linux 5.19.0-46-generic x86_64)

I Downloaded freesurfer 7.4.0 
(freesurfer-linux-ubuntu22_x86_64-7.4.0-20230510-e558e6e)

After sourcing Freesurfer, recon-all gives following error:

.../freesurfer/bin/recon-all: cannot execute: required file not found



Other functions, e.g. freeview, mri_info, all seem to work as expected



Would love some help.

Thanks,

Noam




___
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 


Re: [Freesurfer] recon-all cannot execute: required file not found

2024-01-19 Thread Peled, Noam,PhD
Thanks Yujing,
Yes, I looked for the file permissions using ls -l. It does have execute 
permissions.
I also tried running chmod which didn't help.

Thanks,
Noam

From: freesurfer-boun...@nmr.mgh.harvard.edu 
 on behalf of Huang, Yujing 

Sent: Friday, January 19, 2024 2:54 PM
To: Freesurfer support list 
Subject: Re: [Freesurfer] recon-all cannot execute: required file not found


After sourcing Freesurfer, $FREESURFER_HOME is added to the front of your $PATH.



1. ‘ls -l $FREESURFER_HOME/bin/recon-all’ to check if your recon-all has the 
execute permissions?

2. use ‘chmod +x $FREESURFER_HOME/bin/recon-all’ to grant the permission





Best,



Yujing



From: freesurfer-boun...@nmr.mgh.harvard.edu 
 On Behalf Of Peled, Noam,PhD
Sent: Friday, January 19, 2024 2:42 PM
To: freesurfer@nmr.mgh.harvard.edu
Subject: [Freesurfer] recon-all cannot execute: required file not found



Dear group,

I'm trying to run Freesurfer on digitalOcean server running Ubuntu 22.10 
(GNU/Linux 5.19.0-46-generic x86_64)

I Downloaded freesurfer 7.4.0 
(freesurfer-linux-ubuntu22_x86_64-7.4.0-20230510-e558e6e)

After sourcing Freesurfer, recon-all gives following error:

.../freesurfer/bin/recon-all: cannot execute: required file not found



Other functions, e.g. freeview, mri_info, all seem to work as expected



Would love some help.

Thanks,

Noam




___
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 


Re: [Freesurfer] recon-all cannot execute: required file not found

2024-01-19 Thread Huang, Yujing
After sourcing Freesurfer, $FREESURFER_HOME is added to the front of your $PATH.

1. 'ls -l $FREESURFER_HOME/bin/recon-all' to check if your recon-all has the 
execute permissions?
2. use 'chmod +x $FREESURFER_HOME/bin/recon-all' to grant the permission


Best,

Yujing

From: freesurfer-boun...@nmr.mgh.harvard.edu 
 On Behalf Of Peled, Noam,PhD
Sent: Friday, January 19, 2024 2:42 PM
To: freesurfer@nmr.mgh.harvard.edu
Subject: [Freesurfer] recon-all cannot execute: required file not found

Dear group,
I'm trying to run Freesurfer on digitalOcean server running Ubuntu 22.10 
(GNU/Linux 5.19.0-46-generic x86_64)
I Downloaded freesurfer 7.4.0 
(freesurfer-linux-ubuntu22_x86_64-7.4.0-20230510-e558e6e)
After sourcing Freesurfer, recon-all gives following error:
.../freesurfer/bin/recon-all: cannot execute: required file not found

Other functions, e.g. freeview, mri_info, all seem to work as expected

Would love some help.
Thanks,
Noam


___
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 


[Freesurfer] recon-all cannot execute: required file not found

2024-01-19 Thread Peled, Noam,PhD
Dear group,
I'm trying to run Freesurfer on digitalOcean server running Ubuntu 22.10 
(GNU/Linux 5.19.0-46-generic x86_64)
I Downloaded freesurfer 7.4.0 
(freesurfer-linux-ubuntu22_x86_64-7.4.0-20230510-e558e6e)
After sourcing Freesurfer, recon-all gives following error:
.../freesurfer/bin/recon-all: cannot execute: required file not found

Other functions, e.g. freeview, mri_info, all seem to work as expected

Would love some help.
Thanks,
Noam


___
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 


Re: [Freesurfer] recon-all errors (cannot execute binary file +

2024-01-16 Thread 김민지
External Email - Use Caution

do not wish to continue communication over unencrypted e-mail,

-Original Message-From:  "김민지" minjik0...@kaist.ac.krTo: 
"Freesurfer support list" freesurfer@nmr.mgh.harvard.edu; Cc:Sent:  
2024-01-17 (수) 13:01:17 (UTC+09:00)Subject: Re: [Freesurfer] recon-all errors 
(cannot execute binary file 
+External Email - Use 
Caution

do not wish to continue communication over unencrypted e-mail



-Original Message-From:  "윤혜정" hyejung7...@amc.seoul.krTo: 
"Freesurfer support list" freesurfer@nmr.mgh.harvard.edu; Cc:Sent:  
2024-01-17 (수) 10:49:56 (UTC+09:00)Subject: [Freesurfer] recon-all errors 
(cannot execute binary file 
+External Email - Use 
Caution

Good day.

When I run recon-all for my nii files I get either one of the following error 
messages:

1. ERROR: could not configure recon-all parameters Killed

2.ERROR: could not configure recon-all parameters
/Applications/freesurfer/bin/fspython: line 20: 
/Applications/freesurfer/python/bin/python3: cannot execute binary file
/Applications/freesurfer/bin/fspython: line 20: 
/Applications/freesurfer/python/bin/python3: Undefined error: 0

Or

3. a Pop Up message "_struct.cpython-38-darwin.so" cannot be opened because the 
developer cannot be verified.
mac OS cannot verify that this app is free from malware.

I googled the third error message and tried "Allow anyways" from the privacy 
setting. Then the next message pops up, then the next and the next.

Could you please help me to understand the cause of the above 3 error 
messages?
I tried to redownload freesurfer as well as python but none worked.

Thank you in advance.

Best,
Alice mailto:hyejung7...@amc.seoul.kr

___
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://secure-web.cisco.com/1enKeDk0X2Axgv7ug9q5iO8AKzs6BFEStCe095a_GTCpc9Mfrfo2uKKpLwjNpPu8t4cnneMnfY9pK4vDsowfAsTEPlY8ui8DHoS8g3RCz5shXMbnXaJzIdVhu1dOtKPiyZQd03RajFmWNVS5aYLonujPaR1OWtUxEdJ6kqco4gCtCkJHo3yQvk6JA8WunZsP7AGNIt_j_9wR7kexTTMaJojWYMkO5sn1PMtVZQ4NlzCdr506kwzevM515xSDRKtzK6tPQXCyRXtQDR9NocsC37RseocQczUB9SlYFnmj_8O-sHj24GX2uS6UvLBIPXUu2/https%3A%2F%2Fmail.nmr.mgh.harvard.edu%2Fmailman%2Flistinfo%2Ffreesurfer
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 




___
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://secure-web.cisco.com/1enKeDk0X2Axgv7ug9q5iO8AKzs6BFEStCe095a_GTCpc9Mfrfo2uKKpLwjNpPu8t4cnneMnfY9pK4vDsowfAsTEPlY8ui8DHoS8g3RCz5shXMbnXaJzIdVhu1dOtKPiyZQd03RajFmWNVS5aYLonujPaR1OWtUxEdJ6kqco4gCtCkJHo3yQvk6JA8WunZsP7AGNIt_j_9wR7kexTTMaJojWYMkO5sn1PMtVZQ4NlzCdr506kwzevM515xSDRKtzK6tPQXCyRXtQDR9NocsC37RseocQczUB9SlYFnmj_8O-sHj24GX2uS6UvLBIPXUu2/https%3A%2F%2Fmail.nmr.mgh.harvard.edu%2Fmailman%2Flistinfo%2Ffreesurfer
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 

___
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 


Re: [Freesurfer] recon-all errors (cannot execute binary file +

2024-01-16 Thread 김민지
External Email - Use Caution

do not wish to continue communication over unencrypted e-mail



-Original Message-From:  "윤혜정" hyejung7...@amc.seoul.krTo: 
"Freesurfer support list" freesurfer@nmr.mgh.harvard.edu; Cc:Sent:  
2024-01-17 (수) 10:49:56 (UTC+09:00)Subject: [Freesurfer] recon-all errors 
(cannot execute binary file 
+External Email - Use 
Caution

Good day.

When I run recon-all for my nii files I get either one of the following error 
messages:

1. ERROR: could not configure recon-all parameters Killed

2.ERROR: could not configure recon-all parameters
/Applications/freesurfer/bin/fspython: line 20: 
/Applications/freesurfer/python/bin/python3: cannot execute binary file
/Applications/freesurfer/bin/fspython: line 20: 
/Applications/freesurfer/python/bin/python3: Undefined error: 0

Or

3. a Pop Up message "_struct.cpython-38-darwin.so" cannot be opened because the 
developer cannot be verified.
mac OS cannot verify that this app is free from malware.

I googled the third error message and tried "Allow anyways" from the privacy 
setting. Then the next message pops up, then the next and the next.

Could you please help me to understand the cause of the above 3 error 
messages?
I tried to redownload freesurfer as well as python but none worked.

Thank you in advance.

Best,
Alice mailto:hyejung7...@amc.seoul.kr

___
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://secure-web.cisco.com/1MxSFetp8vWtPTFNDl6WLOEIwYFGTCJ-1od9snG2_YMG_zpd5j4SDYlD8AHjwud2GEYFkDOJ_uYoQ4ML26-JFpdOVuP8KhQFZhl_5FGZ31aGYI2vp2SHJoCfxsaVZNORFmNGTECfdXy1dNkjbZAsi4EnfpsoOTil9VNW62bgwopdpiisDTQWiaHI3B0ge1k4ArqTMhd68QROYlBl8nfyE1lT0axLT1S4hV-2ADDZi3sGsLMYcEtLglpyLbMVZx5uDBFnPpZTyl08aRsaQ0Aw7Fri5F7pMD-fys4DJpy_tJLJl37ZuRK-A3JlF-cDwf_dfmBLLYDwbHUSc1S-m238zzw/https%3A%2F%2Fmail.nmr.mgh.harvard.edu%2Fmailman%2Flistinfo%2Ffreesurfer
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 

___
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 


Re: [Freesurfer] recon-all errors (cannot execute binary file +

2024-01-16 Thread fsbuild
External Email - Use Caution

It looks like you did not use the .pkg file installer to install Freesurfer on 
the Mac, otherwise you would have a path like /Applications/freesurfer/7.4.1 to 
use as FREESURFER_HOME. The installer should ensure the privileges should 
be correct to run commands.  There are several 7.X freesurfer releases, 
but the latest release is 7.4.1 and you can download it via the link, e.g.,
https://secure-web.cisco.com/1bTTDiznaFEJgJPDoi2yskrFqRdt_lNsr8LZ0PFjdBlc19JuHE6WaWHssFDdzwRLVMRUHA3qj7h4ea64BhZk97t2IniNpnSEBUfevruwnZRT-WXrHBzlmbnxwfB-eUVqRKZYuKEwgZupdFOKnrwiz0xxPKw5DTxfL31t8mtljoZBWCtHjo8uXtSylGlGyZRzw2b6Kjz5JBf1zzrJTR_GSBoP7UPjKW3-cqENylh36UvAaYHpdFnPoZ4CrWPzQwkw7vmD7cmQcG6jBsy_w7nUkvkrhCZTYVfLg5BUluX8L0H85LGn_CikykHFVbAsE-L8Zih6Q9g6D25IvisceU2Rl_g/https%3A%2F%2Fsurfer.nmr.mgh.harvard.edu%2Fpub%2Fdist%2Ffreesurfer%2F7.4.1%2Ffreesurfer-macOS-darwin_x86_64-7.4.1.pkg
I would first remove what you have on your system from the terminal window with,
$ sudo rm -rf /Applications/freesurfer
Then in a Finder Window navigate to the Downloads folder (or to wherever you 
downloaded freesurfer-macOS-darwin_x86_64-7.4.1..pkg). You should be able 
to RIGHT CLICK on that file, select open with the default pkg installer, and 
then enter your password etc. to install it. Right clicking should bypass 
having to do some of the security exemptions in system preferences.
Once the install is complete, setup the Freesurfer environment in the terminal 
window,
$ export FREESURFER_HOME=/Applications/freesurfer/7.4.1$ source 
$FREESURFER_HOME/SetUpFreeSurfer.sh 
freesurfer-macOS-darwin_x86_64-7.4.1-20230614-7eb8460 
Setting up environment for FreeSurfer/FS-FAST (and FSL)
FREESURFER_HOME/Applications/freesurfer/7.4.1
FSFAST_HOME  /Applications/freesurfer/7.4.1/fsfast
FSF_OUTPUT_FORMAT nii.gz
SUBJECTS_DIR  /Applications/freesurfer/7.4.1/subjects
MNI_DIR
/Applications/freesurfer/7.4.1/mni
You also need a license file, license.txt. Once you complete the license 
request form 
athttps://secure-web.cisco.com/1Svw39fuKLV2rL8mAOfpPDMZrLLodE_ScR0sKC5od9QRlt9jwKuDUSQ6WtLlT9V17W1wUaBdznmlv7nMRbyPA6LYSYXyCAnP8F-Tuz_VE6STeVAxkh40QhJ8_Hz3w6xgC49SELup9uGscJnea_a5_YfPe4v_s5sGckdUErRUBLgOMN41ow4CikTKbC-IfUIre0ikhv0rLYF0iFjK9EZGFCuzHN7-z5cvA1mPBIjRTyGJsmV-behjR7Zpaho6a5uOuq1I4CB61WxtecgERQIEuY6PCEpMSMO1vfX-v7GEXY61w_SZ_5yg0kRQoolU2kwNaTPReDO7q7kH9B3AAFtRMPQ/https%3A%2F%2Fsurfer.nmr.mgh.harvard.edu%2Fregistration.html%26nbsp;you
 will receive a file “licesne..txt” via the email address used in the form. 
 Download/copy the license.txt file to your machine from the email.
If your home directory is for example /Users/hyejung then you will see the 
following in the terminal window,
$ cd$ pwd/Users/hyejung$ echo $HOME/Users/hyejung
… if you downloaded license.txt into your Download folder ...
$ cd Downloads$ ls license.txtlicense.txt$ cp -p -f license.txt 
$HOME/.$ cd $HOME$ ls license.txtlicense.txt
You could also use the Finder to navigate and drag/drop the license.txt into 
your home directory. Once it it there, set the environment variable 
FS_LICENSE so freesurfer commands will find the license when they run,
$ export FS_LICENSE=$HOME/license.txt
Then it should work to run freesurfer commands from the terminal window 
including freeview.
- R.

On Jan 16, 2024, at 20:47, 윤혜정 hyejung7...@amc.seoul.kr 
wrote:External Email - Use 
CautionGood day.When I run 
recon-all for my nii files I get either one of the following error 
messages:1.ERROR: could not configure recon-all parameters 
Killed2.ERROR: could not configure recon-all 
parameters/Applications/freesurfer/bin/fspython: line 20: 
/Applications/freesurfer/python/bin/python3: cannot execute binary 
file/Applications/freesurfer/bin/fspython: line 20: 
/Applications/freesurfer/python/bin/python3: Undefined error: 0Or3. a Pop 
Up message"_struct.cpython-38-darwin.so" cannot be opened because the 
developer cannot be verified.mac OS cannot verify that this app is free 
from malware.I googled the third error message and tried"Allow 
anyways"from the privacy setting.Then the next message pops up, 
then the next and the next.Could you please help me to understand the 
cause of the above 3 error messages?I tried to redownload freesurfer as 
well as python but none worked.Thank you in 
advance.Best,Alice___Freesurfer
 mailing 
listfreesur...@nmr.mgh.harvard.eduhttps://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
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to 

[Freesurfer] recon-all errors (cannot execute binary file +

2024-01-16 Thread 윤혜정
External Email - Use Caution

Good day.

When I run recon-all for my nii files I get either one of the following error 
messages:

1. ERROR: could not configure recon-all parameters Killed 

2. ERROR: could not configure recon-all parameters 
/Applications/freesurfer/bin/fspython: line 20: 
/Applications/freesurfer/python/bin/python3: cannot execute binary file 
/Applications/freesurfer/bin/fspython: line 20: 
/Applications/freesurfer/python/bin/python3: Undefined error: 0

Or 

3. a Pop Up message "_struct.cpython-38-darwin.so" cannot be opened because the 
developer cannot be verified. 
mac OS cannot verify that this app is free from malware. 

I googled the third error message and tried "Allow anyways" from the privacy 
setting. Then the next message pops up, then the next and the next. 

Could you please help me to understand the cause of the above 3 error messages? 
I tried to redownload freesurfer as well as python but none worked. 

Thank you in advance. 

Best,
Alice​

___
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 


Re: [Freesurfer] Freesurfer recon-all qcache partial failure

2024-01-16 Thread Huang, Yujing
The command should look like this 'recon-all -s subjid -qcache -all -i 
input-file'


From: freesurfer-boun...@nmr.mgh.harvard.edu 
 On Behalf Of Asuka Toyofuku
Sent: Monday, January 15, 2024 9:45 AM
To: Freesurfer support list 
Subject: Re: [Freesurfer] Freesurfer recon-all qcache partial failure


External Email - Use Caution
Dear Yujing,

Thank you very much for your kind help.

So, you're saying I need more directive other than -qcashe?
My command was;

for d in Te* te* EPK* epk*

do recon-all -s $d -qcache

done



Do you think I should add another directive, such as -all or -autorecon-all?

So, the command line looks like this?

recon-all -s -subjid -qcashe - autorecon-all

I ran recon-all -qcashe not on the fsaverage folder, but in the SUBJECT_DIR.
In the previous post, I attached the wrong recon-all log (which was from 
fsaverage>scripts folder), but now I'm attaching the recon-all log file from a 
random subject folder.
Could you please look and check this recon-all as well?
Many thanks!

Best,
Asuka


From: 
freesurfer-boun...@nmr.mgh.harvard.edu<mailto:freesurfer-boun...@nmr.mgh.harvard.edu>
 
mailto:freesurfer-boun...@nmr.mgh.harvard.edu>>
 on behalf of Huang, Yujing 
mailto:yhuan...@mgh.harvard.edu>>
Sent: 12 January 2024 14:24
To: Freesurfer support list 
mailto:freesurfer@nmr.mgh.harvard.edu>>
Subject: Re: [Freesurfer] Freesurfer recon-all qcache partial failure


Your recon-all command doesn't have the directive to tell it what to run. You 
also need to specify input files for your initial run.  See this wiki page for 
detail MailScanner has detected a possible fraud attempt from 
"secure-web.cisco.com" claiming to be 
https://surfer.nmr.mgh.harvard.edu/fswiki/recon-all<https://secure-web.cisco.com/11Bilsco5cPfi23kohUaJckmoejScJgxCVT9TueKMZWvsx7dAntYubRwWYXHtGKljKeBLeTqzQQ5UePuZUZnRFzxae5FFSuLRLH4HzelINkwLs96J8N2iaElEUM_9YKPg9etzBOD8OEAuG2UfdHxpyONcBHtLAn_f6EkrCSoSjzjNvXi_oX7KVCXXUF3o5g3Bjyz-ezPwcZ5YFtvqdbIYv52nG9qbUuOOaolTNutoq-ibvyTwQgNV48YK3yt4Hsi_B54h6NAIo1rBwTyHrWCfvL9-lF9ZVJPN9vRL5Pst33y1_GcnaQjVirIdC2QsnN3-/https%3A%2F%2Fsurfer.nmr.mgh.harvard.edu%2Ffswiki%2Frecon-all>



The recon-all.log attached contains runs between 2009 and 2010 on subject 
'fsaverage'.



'fsaverage' is an average subject comes with Freesurfer distribution in 
$FREESURFER_HOME/subjects/. fsaverage is a template brain based on a 
combination of 40 MRI scans of real brains. It can be used as a common space 
for group comparison. You don't want to run recon-all on it.



Your SUBJECTS_DIR should not set to your Freesurfer download/install directory. 
Set it to some other directory where you have the write permission.



You should see 'fsaverage' as a symbolic link in your SUBJECTS_DIR.



Best,



Yujing







From: 
freesurfer-boun...@nmr.mgh.harvard.edu<mailto:freesurfer-boun...@nmr.mgh.harvard.edu>
 
mailto:freesurfer-boun...@nmr.mgh.harvard.edu>>
 On Behalf Of Asuka Toyofuku
Sent: Friday, January 12, 2024 4:31 AM
To: freesurfer@nmr.mgh.harvard.edu<mailto:freesurfer@nmr.mgh.harvard.edu>
Subject: [Freesurfer] Freesurfer recon-all qcache partial failure



External Email - Use Caution

Dear Freesurfer researchers,



I have an issue with recon-all-qcashe results. (please find the recon-all.log 
attached.)

The command created fsaverage mgh files (e.g., lh.thickness.fsaverage.mgh), but 
it did not create fsaverage files with different smoothing levels (e.g.,  
lh.thickness.fwhm10.fsaverage.mgh, lh.thickness.fwhm15.fsaverage.mgh, 
lh.thickness.fwhm20.fsaverage.mgh...etc) in the individual subject "surf" 
folder.



I used the command below:

for d in Te* te* EPK* epk*

do recon-all -s $d -qcache

done



(Subjects names start from either Te, te, EPK or epk)

For several subjects with failed recon-all commands, I re-ran the command 
individually:

 recon-all -s subjectname -qcashe



(output from the terminal window)

It could also be that recon-all was running at one point but died in an 
unexpected way.

If it is the case that there is a process running, you can kill it and start 
over or just let it run.

If the process has died, you should type:

 rm 
/media/m-proc/Vol03/FREESURFER7_SUBJECTS/teen_subject_name/scripts/IsRunning.lh+rh

**Try to copy the line and then rerun again with the quche code.



I'm currently using

freesurfer-x86_64-redhat-linux-gnu-dev4-20090216.



Do you have any ideas why the command did not produce different fwhm files?

I'm thinking about re-running the recon-all again, so I would appreciate it if 
you could help me modify the commands.

Thank you very much in advance.





Best regards,

Asuka


___
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communica

Re: [Freesurfer] Freesurfer recon-all qcache partial failure

2024-01-12 Thread Huang, Yujing
Your recon-all command doesn't have the directive to tell it what to run. You 
also need to specify input files for your initial run.  See this wiki page for 
detail https://surfer.nmr.mgh.harvard.edu/fswiki/recon-all

The recon-all.log attached contains runs between 2009 and 2010 on subject 
'fsaverage'.

'fsaverage' is an average subject comes with Freesurfer distribution in 
$FREESURFER_HOME/subjects/. fsaverage is a template brain based on a 
combination of 40 MRI scans of real brains. It can be used as a common space 
for group comparison. You don't want to run recon-all on it.

Your SUBJECTS_DIR should not set to your Freesurfer download/install directory. 
Set it to some other directory where you have the write permission.

You should see 'fsaverage' as a symbolic link in your SUBJECTS_DIR.

Best,

Yujing



From: freesurfer-boun...@nmr.mgh.harvard.edu 
 On Behalf Of Asuka Toyofuku
Sent: Friday, January 12, 2024 4:31 AM
To: freesurfer@nmr.mgh.harvard.edu
Subject: [Freesurfer] Freesurfer recon-all qcache partial failure


External Email - Use Caution

Dear Freesurfer researchers,



I have an issue with recon-all-qcashe results. (please find the recon-all.log 
attached.)

The command created fsaverage mgh files (e.g., lh.thickness.fsaverage.mgh), but 
it did not create fsaverage files with different smoothing levels (e.g.,  
lh.thickness.fwhm10.fsaverage.mgh, lh.thickness.fwhm15.fsaverage.mgh, 
lh.thickness.fwhm20.fsaverage.mgh...etc) in the individual subject "surf" 
folder.



I used the command below:
for d in Te* te* EPK* epk*
do recon-all -s $d -qcache
done

(Subjects names start from either Te, te, EPK or epk)

For several subjects with failed recon-all commands, I re-ran the command 
individually:

 recon-all -s subjectname -qcashe



(output from the terminal window)
It could also be that recon-all was running at one point but died in an 
unexpected way.
If it is the case that there is a process running, you can kill it and start 
over or just let it run.
If the process has died, you should type:
 rm 
/media/m-proc/Vol03/FREESURFER7_SUBJECTS/teen_subject_name/scripts/IsRunning.lh+rh
**Try to copy the line and then rerun again with the quche code.


I'm currently using
freesurfer-x86_64-redhat-linux-gnu-dev4-20090216.

Do you have any ideas why the command did not produce different fwhm files?
I'm thinking about re-running the recon-all again, so I would appreciate it if 
you could help me modify the commands.
Thank you very much in advance.




Best regards,

Asuka

___
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 Mass General Brigham 
Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline 
<https://www.massgeneralbrigham.org/complianceline> .
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 


[Freesurfer] Freesurfer recon-all qcache partial failure

2024-01-12 Thread Asuka Toyofuku
External Email - Use Caution

Dear Freesurfer researchers,


I have an issue with recon-all-qcashe results. (please find the recon-all.log 
attached.)

The command created fsaverage mgh files (e.g., lh.thickness.fsaverage.mgh), but 
it did not create fsaverage files with different smoothing levels (e.g.,  
lh.thickness.fwhm10.fsaverage.mgh, lh.thickness.fwhm15.fsaverage.mgh, 
lh.thickness.fwhm20.fsaverage.mgh...etc) in the individual subject "surf" 
folder.


I used the command below:

for d in Te* te* EPK* epk*
do recon-all -s $d -qcache
done

(Subjects names start from either Te, te, EPK or epk)

For several subjects with failed recon-all commands, I re-ran the command 
individually:

 recon-all -s subjectname -qcashe


(output from the terminal window)

It could also be that recon-all was running at one point but died in an 
unexpected way.
If it is the case that there is a process running, you can kill it and start 
over or just let it run.
If the process has died, you should type:
 rm 
/media/m-proc/Vol03/FREESURFER7_SUBJECTS/teen_subject_name/scripts/IsRunning.lh+rh
**Try to copy the line and then rerun again with the quche code.


I'm currently using

freesurfer-x86_64-redhat-linux-gnu-dev4-20090216.

Do you have any ideas why the command did not produce different fwhm files?
I'm thinking about re-running the recon-all again, so I would appreciate it if 
you could help me modify the commands.
Thank you very much in advance.



Best regards,

Asuka




recon-all.log
Description: recon-all.log
___
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 


Re: [Freesurfer] recon-all vs. recon-all-clinical: missing ROIs

2024-01-09 Thread Iglesias Gonzalez, Juan E.
Dear Francesca,
Our method cannot reliably segment these thin/faint structures from clinical 
scans of arbitrary resolution and contrast, which is why they don’t get 
segmented.
If you want to segment the choroid plexus, you could take then intensities 
under the ventricles and split them into cerebrospinal fluid and choroid eg 
with optimal thresholding.
Cheers,
/Eugenio

--
Juan Eugenio Iglesias
http://www.jeiglesias.com

From: freesurfer-boun...@nmr.mgh.harvard.edu 
 on behalf of Biondo, Francesca 

Date: Friday, January 5, 2024 at 2:59 PM
To: freesurfer@nmr.mgh.harvard.edu 
Subject: [Freesurfer] recon-all vs. recon-all-clinical: missing ROIs

External Email - Use Caution
Hi,
recon-all generates these volumes, amongst others: “Left-vessel”, 
“Left-choroid-plexus”, “Right-vessel”, “Right-choroid-plexus”
recon-all-clinical does not generate these volumes. Or at least that I am able 
to detect. Any ideas how to extract or calculate them?

Regarding the choroid plexus, would it be correct to use this formula?
Estimated choroid plexus volume (both left and right) = “VentricleChoroidVol” – 
“left lateral ventricle” – “right lateral ventricle”

Thank you very much for your support -
Francesca

___
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 Mass General Brigham 
Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline 
<https://www.massgeneralbrigham.org/complianceline> .
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 


Re: [Freesurfer] recon-all -s SiroSTC006_pre exited with ERRORS

2024-01-06 Thread fsbuild
External Email - Use Caution



Your Linux image could be missing system files and/or graphics card driver 
updates needed for the version of Qt included with Freeview to display graphics
 via X-Windows. So I would first remove whatever currently exists under
 /usr/local/freesurfer and then follow the instructions on the Wiki page
 to do an install from scratch using the actual installer (instead of 
the tar file). The instructions are here,



https://secure-web.cisco.com/1aVasdKo9Pwif5UQ2Uch0IDTvauLowJGIckrOUQbXQ2UgjMTijxM2AHRnYW5Sikm1PLFsVxTugqk7jS8q66aPC2Wt61zvugIk0ou082bvW2Vi2HpkhPUVK5RuQZz2bLaagNV35aRFc1BnYpdMMEOV_I7Kv2taVGg0rdW4UYbH_GJbhgkvI-Qa_RFQ4NdxHnAc16p7Z3HD0wL3Y4ADaC0Bqe1RvUwRo4c9f42ae38IHeHekPpYi9ZUSGHQmOdCa1fI-XUD5NHGSIodtj96CXK30LHfH3-4qIZuhpUMifnii45pKrnP74W9KNsZeK4DZQ5G5nnKr6Vfy1E4qFgc-u2-qw/https%3A%2F%2Fsurfer.nmr.mgh.harvard.edu%2Ffswiki%2FFS7_wsl_ubuntu


After you install Freesurfer and setup the X-server on the Windows host -
 stop and verify basic graphics are working by running glxgears. If 
communication from Linux running under WSL is working with the X-server 
on the Windows host, then you will see an X-Window open and display the 
spinning gears via the following Linux commands, 



$ sudo apt-get install mesa-utils

 answer Y to all prompts ... output deleted ...

$ which glxgears

/bin/glxgears

$ glxgears



The instructions on the wiki page end with running the "freeview" 
command with no arguments in order to test freeview can at least open 
and display an empty window.



If that works try displaying one of the volume files included in freesurfer,



$ freeview $FREESURFER_HOME/subjects/bert/mri/brain.mgz



If that works, then try displaying one of your surfaces/volumes with your own 
freeview command.



If however glxgears worked, but the freeview command failed to open a 
window and/or display the volume as listed above, then the next step is to
 check for an upgrade to the OpenGL drivers on your Windows host. 
Freeview needs newer revisions of OpenGL in order to display graphics. 
Once you update the drivers, try running the freeview commands listed 
above again.



BTW - please remember to change SUBJECTS_DIR from 
$FREESURFER_HOME/subjects in your shell environment to a path your 
normal userid can write to w/o sudo/admin privs. That could be in your 
home directory e.g.,



$ cd

$ mkdir subjects

$ export SUBJECTS_DIR=$HOME/subjects



You could put that export command in your shell init, e.g., $HOME/.bashrc file



- R.





On 1/6/24 13:25, Flemister, Abeoseh B. (flemist...@missouri.edu) wrote:






  
I’m using Ubuntu.




Abeoseh Flemister

  

  
  From: Flemister, Abeoseh B. flemist...@missouri.edu

Sent: Saturday, January 6, 2024 12:24:40 PM

To: fsbuild fsbu...@contbay.com; freesurfer@nmr.mgh.harvard.edu 
freesurfer@nmr.mgh.harvard.edu

Subject: Re: [Freesurfer] recon-all -s SiroSTC006_pre exited with ERRORS

  

  


No, I installed using tar.gz





freesurfer-linux-ubuntu22_amd64-7.4.1.tar.gz










Abeoseh Flemister







From: fsbuild fsbu...@contbay.com

Sent: Friday, January 5, 2024 9:35 PM

To: freesurfer@nmr.mgh.harvard.edu freesurfer@nmr.mgh.harvard.edu

Cc: Flemister, Abeoseh B. flemist...@missouri.edu

Subject: Re: [Freesurfer] recon-all -s SiroSTC006_pre exited with ERRORS



Did you install Freesurfer 7.4.1 using the Debian installer package ?

https://secure-web.cisco.com/1IOiqTlEkTSd5OYr_A3naRtVr5L_K5zRpteC0_uUt7M0gRolNr7VK3lsQcU_qofF0IDf9if55xJELV6MPMHK0trMuv6brwoSd7MfQJKQ0u8rG6GpC55LrWIvHRVZ5RLVajCat58QdOxjxETxHox8d-pjPklYqzufhatlnoff9JNXFQBE2YZu1fSh7A_UI7FYF5ow5QHCaq4mgE4HIWjw_RKbxKvWi44qi3wAXyIcVfJoZw9W_iaRleXKYVjeCJHON3xsxb9jOhTdZWl0OJXUj8PIarGpr4vFjOdYhQu0_VBCO9368S1QeeP4BRzeKe2J-ZEzfrbiiNKrP3ru0vjOGZA/https%3A%2F%2Fsurfer.nmr.mgh.harvard.edu%2Fpub%2Fdist%2Ffreesurfer%2F7.4.1%2Ffreesurfer_ubuntu22-7.4.1_amd64.deb
- R.



On Jan 5, 2024, at 22:18, Flemister, Abeoseh B. flemist...@missouri.edu 
wrote:



External Email - Use 
Caution



Thanks, but the issue isn't that graphics aren't displaying, it's that freeview 
won't load because qt can't be initialized.



Abeoseh Flemister



From:fsbuild fsbu...@contbay.com
Sent:Friday, January 5, 2024 8:27 PM
To:freesurfer@nmr.mgh.harvard.edu freesurfer@nmr.mgh.harvard.edu
Cc:Flemister, Abeoseh B. flemist...@missouri.edu
Subject:Re: [Freesurfer] recon-all -s SiroSTC006_pre exited with ERRORS



For issues with Freeview displaying graphics when running
 via Linux on a Windows host thru WSL, you could look at the recent 
thread with the subject "Re: [Freesurfer] Freeview not showing output",



https://secure-web.cisco.com/1KBH0OQxJdEKdxK38EEhCdBUjp55VUN1FBiZ5YthIc5pA61hlHgbL-cEwJvdn2CsRwulZb2ChiY34JUUJgqUkxjXpBjvLgaWKGc6bkkQI-gCV05RaqJb-LVMNDg3I6_MxTZjCeI91uxm1EuPx9n7v5D9B71pSaVfKcT6WwVL-gVzZdfTW4FxedwvqmFmPM3lsBtb3qeCFfgJpROJ5k8qXkYLKlc8A7Ut08BdQA1gBlcNWxRp_mVboSNqlOiAj6uP8LzJt4mix2WyTnxQ0rQVIq4byEe_gcatLHNw6KrimTL6zflLzhfSgk6CZSh22FlMw8wItE0eb

Re: [Freesurfer] recon-all -s SiroSTC006_pre exited with ERRORS

2024-01-06 Thread Flemister, Abeoseh B.
External Email - Use Caution

I’m using Ubuntu.

Abeoseh Flemister

From: Flemister, Abeoseh B. 
Sent: Saturday, January 6, 2024 12:24:40 PM
To: fsbuild ; freesurfer@nmr.mgh.harvard.edu 

Subject: Re: [Freesurfer] recon-all -s SiroSTC006_pre exited with ERRORS

No, I installed using tar.gz

freesurfer-linux-ubuntu22_amd64-7.4.1.tar.gz<https://secure-web.cisco.com/1RPM72LVvQVxwxi2MWWpA9Rcm6cTLUAH8no49eYnQeNFUAbhBKjM9T8_HIKmZbTBn3OkeJCO6tBmlrvLRQAO5CVsIIDctoJffjQGzHJ0XvSKr_x_VnNimq-mwBGcP38jEJS433VTGjSQB6WTdnq375ISCDxFT3f1uT3V3zzB61wa3yR1Vqr4LelJdsP6A1QRIyCZkljxWlDMyv5oTMMRTOceDBmjTxDQoiEuI0RDtqQxcZrbZ60HAi0nSU0kObFAvxtmlBAZeAUIAfWJ2kJzSEjhQPkgjsiU5e8aZxye_FtFY0B9J5mVEqsS1hjcDnOqk/https%3A%2F%2Fsurfer.nmr.mgh.harvard.edu%2Fpub%2Fdist%2Ffreesurfer%2F7.4.1%2Ffreesurfer-linux-ubuntu22_amd64-7.4.1.tar.gz>

Abeoseh Flemister

From: fsbuild 
Sent: Friday, January 5, 2024 9:35 PM
To: freesurfer@nmr.mgh.harvard.edu 
Cc: Flemister, Abeoseh B. 
Subject: Re: [Freesurfer] recon-all -s SiroSTC006_pre exited with ERRORS


Did you install Freesurfer 7.4.1 using the Debian installer package ?
https://secure-web.cisco.com/1HGKytO7fPBf6Lkw_Vs_mrlV6RgpJdmXBeCQxcgiUSj-liR5ThUq1ds21rhQvl1CrJNiGVXtBPvTxCHiq7wBtjlUAf7fqizarn-Wid1PxigtAYN4MIMoZ3kC2h9uNYd2_Q0L0HJfiReCPBHaD2DU7VVcQDv7X8AwijVNN24-WfALYapY7dGHMmLeLAI7sWkC40Cn8c-HkOJYro4olFppZYbqyM1SQKr2feMvi6CCSg3W1WIPZ-qm5PR7DMG3bBSUj2FWi_WedSD92pyK1gRK8fO5CYJFBINsZEiJA30SP__MMvWTvg5Fuayab3evOxTtF/https%3A%2F%2Fsurfer.nmr.mgh.harvard.edu%2Fpub%2Fdist%2Ffreesurfer%2F7.4.1%2Ffreesurfer_ubuntu22-7.4.1_amd64.deb
- R.

On Jan 5, 2024, at 22:18, Flemister, Abeoseh B.  wrote:


External Email - Use Caution

Thanks, but the issue isn't that graphics aren't displaying, it's that freeview 
won't load because qt can't be initialized.

Abeoseh Flemister

From: fsbuild 
Sent: Friday, January 5, 2024 8:27 PM
To: freesurfer@nmr.mgh.harvard.edu 
Cc: Flemister, Abeoseh B. 
Subject: Re: [Freesurfer] recon-all -s SiroSTC006_pre exited with ERRORS


For issues with Freeview displaying graphics when running via Linux on a 
Windows host thru WSL, you could look at the recent thread with the subject 
"Re: [Freesurfer] Freeview not showing output",

https://secure-web.cisco.com/1roW4eWJnbwwHlQRdZPkUpMIzTyiCES4FN2wNp4TeSNsoGVpv1cWD-6DpnAdEDvnXmIeaXS25RsYHNNZyzUMrPjiiJtO5cIwiw3wE7RrIs8phGwolm3Xf5RT7BrkzsnqqQSX4NgnxJA3VGEK9fONq2GHSY_6jNf3i6SAcivF5EqcwTvXFKr5-fbsn6aP9YoPoTsllh2E6wKcATv9GqiWXtK7SRwgXGIQhj-cOehv1UUHX9K4Zte38G-KjIhceNWE-PnqrHC-qXbTxgyMi0mjUr9VV_clWQlEQICmkfp48c5IHnM8KKTisX4KqFvtyt_4_/https%3A%2F%2Fwww.mail-archive.com%2Ffreesurfer%40nmr.mgh.harvard.edu%2Fmsg76229.html

In case the link to the Freesurfer WIKI talking about WSL is garbled in the URL 
above, that link is,

https://secure-web.cisco.com/1liTVKOU80u8ktPNOWMfy7FxOOIFyhD6gPp4AOTyJKZfHXqK9KymyfkU2U6sQzXOQHyv9P9W5O2ZK41t44EGhEnP9qds_xDKyeWLBGt_esy2c5BvHkIRM6t7JzJN8NWJA3fqpvz3RJwJfMIxxItcdO3b1tXVp_ypRgnMX_L0g4VNcuIaNNKDp4K3NErXl4XADCEA0Mibs_Rg8XCAwmt2MqPG-C3K5AKMidrITwicW1skzJhckwdocwF3_XFLhs8Xw8I1MQWhXgRDVZEXzxmb5Vv1BQxH9k5mDYOkVV0cADbn0xLWb7w_6-0jpiFV9aKmk/https%3A%2F%2Ffreesurfer.net%2Ffswiki%2FFS7_wsl_ubuntu

- R.

On Jan 5, 2024, at 21:08, Flemister, Abeoseh B.  wrote:


External Email - Use Caution

Hi Yujing,

Thanks that helped! I was trying to open freeview by typing "freeview" and I’ve 
unfortunately run into another error: This application failed to start because 
no Qt platform plugin could be initialized.

I saw an 
email<https://secure-web.cisco.com/1sex5BbjwVm7Vqn3F18BjMh4cio7IL8BUJJSNfISgMRjE97tPF6susbOp_EibTi_Rib1-3fWMGSEj8zGWHPxLR2GefWAJO6hAMhWk3ljFTJNt8UzJJ7g64luToLn5QhJsNduB0adfJnSocWm3Sr6UXIQTw_VG14v1_iXsFwciWl3tqZKsyg4XY7Bj1YRW5OCyZ_QQM_SNARfbprfL44uGWj3HS0vRM0ajIPDdJjRJEdjU_dtmR8Y7hdnowdnjN8MA7dH5ev7ZR64zoszVrlcknlcTe1L7BwLGzdSTIMvQRymZDCdDaTO7Ed60jgqgQZjr/https%3A%2F%2Fwww.mail-archive.com%2Ffreesurfer%40nmr.mgh.harvard.edu%2Fmsg66231.html>
 on this topic but I don't think it was ever answered.. Apologies if I'm 
reading the thread wrong. Any help would be greatly appreciated!

Abeoseh Flemister

From: freesurfer-boun...@nmr.mgh.harvard.edu 
 on behalf of Huang, Yujing 

Sent: Friday, January 5, 2024 3:05 PM
To: Freesurfer support list 
Subject: Re: [Freesurfer] recon-all -s SiroSTC006_pre exited with ERRORS

WARNING: This message has originated from an External Source. This may be a 
phishing expedition that can result in unauthorized access to our IT System. 
Please use proper judgment and caution when opening attachments, clicking 
links, or responding to this email.
This is from your recon-all.log
“
mri_convert /home/abeoseh/Downloads/OneDrive_1_1-4-2024/Subject 
6/Baseline/3D_T1_MPRAGE_PRE_MPR_AX.nii.gz 
/usr/local/freesurfer/subjects/SiroSTC006_pre/mri/orig/001.mgz



mri_convert: extra argument 
("/usr/local/freesu

Re: [Freesurfer] recon-all -s SiroSTC006_pre exited with ERRORS

2024-01-06 Thread Flemister, Abeoseh B.
External Email - Use Caution

No, I installed using tar.gz

freesurfer-linux-ubuntu22_amd64-7.4.1.tar.gz<https://secure-web.cisco.com/1i4fytfwvcgIlSWSAWWHQDmDh_-KYEw08gAGS3ODIYK6XhFyMeJv1V5W3aX7e5x6ccPhZhJScx-4XU9BPdika1UEbUXmPOkoLlLGCIQYqIVNJYxeGHtwjECdN2Hemm49R0J0zCsYPbPYm3gaHv4IyXscWMVzgTl0U8YjAezqxZiNmxSrEk3aE7fJj4mFYpxYMZJo2J-IsP1Ikk3cXzNAhKSF6knw2Hh4BA1dcP8WEXkwUY8PnCKviy62rtf1PjpdAF6ci0fpRW4Z0tcRcu9Ou4iy8ooFcslDUge8tQKneBb6qHkTPTjbwJcIO8JDNjVSRD-RLrQKq4cTojjhmwPfHuw/https%3A%2F%2Fsurfer.nmr.mgh.harvard.edu%2Fpub%2Fdist%2Ffreesurfer%2F7.4.1%2Ffreesurfer-linux-ubuntu22_amd64-7.4.1.tar.gz>

Abeoseh Flemister

From: fsbuild 
Sent: Friday, January 5, 2024 9:35 PM
To: freesurfer@nmr.mgh.harvard.edu 
Cc: Flemister, Abeoseh B. 
Subject: Re: [Freesurfer] recon-all -s SiroSTC006_pre exited with ERRORS


Did you install Freesurfer 7.4.1 using the Debian installer package ?
https://secure-web.cisco.com/1_pUSvIhWFfXZIWph9dfBK_bwLFppWgSeOhmjXxYr1T97RF5h1JwB402-ALfW4zXYeMS7s8Mk6r8_LTDcSNjUVdEqg3zqHPU3TuJ1h9hGJnTJN-8WHbos7IFeQEVmw_z_1BstBAfNQm1rkt-CgWKJFpgKKAfSUChKinLvZktq3dcALiL1BHsuuACMtVWCHPRHHM1kdlwb6yZYwhXP84bx7JxmrDjnEVkeYu_Jbx7fM7YmQgsVpaYpGwY71yVmWMBiIK9wT715U3z2lyC61sjXH1poR-Vrz5evo8qncdGngHBjRbvIdbcCL0AAt-8yHNEXLjnhiiG8swiJh3c2KuhFJw/https%3A%2F%2Fsurfer.nmr.mgh.harvard.edu%2Fpub%2Fdist%2Ffreesurfer%2F7.4.1%2Ffreesurfer_ubuntu22-7.4.1_amd64.deb
- R.

On Jan 5, 2024, at 22:18, Flemister, Abeoseh B.  wrote:


External Email - Use Caution

Thanks, but the issue isn't that graphics aren't displaying, it's that freeview 
won't load because qt can't be initialized.

Abeoseh Flemister

From: fsbuild 
Sent: Friday, January 5, 2024 8:27 PM
To: freesurfer@nmr.mgh.harvard.edu 
Cc: Flemister, Abeoseh B. 
Subject: Re: [Freesurfer] recon-all -s SiroSTC006_pre exited with ERRORS


For issues with Freeview displaying graphics when running via Linux on a 
Windows host thru WSL, you could look at the recent thread with the subject 
"Re: [Freesurfer] Freeview not showing output",

https://secure-web.cisco.com/1bEDVzB9-yX2cTDOWGzLTkkafNvJNd2ARl1qFCBmhdZ2usAUb9EFYiq8Woy0DZ-B6NquMGfJbqTZqaQa_i7HXP99sjMY4QB1--i9QsbxQXdUFjAFg9MtyNYtjTrmmnQ4ub3V6PHNCRaE5dzR4dLaWswl2eg97UnUxRauVNvMF9K-DO4T2tnGjdNqKtcRYy9kK8vd-aPiZYB9PX7rXs5Mc6WvHWGjHwcKDec9kwUV5rwWFCUnEu3xhZmDzh1wHSwW3SxhLxZ2KW1kJWsYwqzXHHhognXV3t6LRV9MC9XG0_zIabNOcixFlyVJ5hqA2EuNhapNTfn1X6k1QGzuCxCFROg/https%3A%2F%2Fwww.mail-archive.com%2Ffreesurfer%40nmr.mgh.harvard.edu%2Fmsg76229.html

In case the link to the Freesurfer WIKI talking about WSL is garbled in the URL 
above, that link is,

https://secure-web.cisco.com/1X23V-5e4TVqi_z47ibkXrzpwR7MAqgwnbrWhV54F4jrSnt1WkHjTuFUIgbW-e0IroMCh-fQtlVJ9aDf5TXfwy5uZIh8ZrufKF_uMu4O8i0pc-00JQcl32TF9k8QMcPNJjl4BCaW6lpei_bUDHSxCE6ALmgvMaxstpSw7KPVY9mYgYCG25ad0deHAVH8tplXdYw95376PC6E-vx0xPt7sT_1q-1LcSbzuH54FLeiYuPC4pZdAzHLqZzN8TEU9xElqCsElu-oyGaZ8kRFiM8KkCJqSgyg-5nkR0erovr9GbuK_QteCfD2ik9Hmrb1bdNXrwiyYKvqSMtAoDgR7_CG9OA/https%3A%2F%2Ffreesurfer.net%2Ffswiki%2FFS7_wsl_ubuntu

- R.

On Jan 5, 2024, at 21:08, Flemister, Abeoseh B.  wrote:


External Email - Use Caution

Hi Yujing,

Thanks that helped! I was trying to open freeview by typing "freeview" and I’ve 
unfortunately run into another error: This application failed to start because 
no Qt platform plugin could be initialized.

I saw an 
email<https://secure-web.cisco.com/1sex5BbjwVm7Vqn3F18BjMh4cio7IL8BUJJSNfISgMRjE97tPF6susbOp_EibTi_Rib1-3fWMGSEj8zGWHPxLR2GefWAJO6hAMhWk3ljFTJNt8UzJJ7g64luToLn5QhJsNduB0adfJnSocWm3Sr6UXIQTw_VG14v1_iXsFwciWl3tqZKsyg4XY7Bj1YRW5OCyZ_QQM_SNARfbprfL44uGWj3HS0vRM0ajIPDdJjRJEdjU_dtmR8Y7hdnowdnjN8MA7dH5ev7ZR64zoszVrlcknlcTe1L7BwLGzdSTIMvQRymZDCdDaTO7Ed60jgqgQZjr/https%3A%2F%2Fwww.mail-archive.com%2Ffreesurfer%40nmr.mgh.harvard.edu%2Fmsg66231.html>
 on this topic but I don't think it was ever answered.. Apologies if I'm 
reading the thread wrong. Any help would be greatly appreciated!

Abeoseh Flemister

From: freesurfer-boun...@nmr.mgh.harvard.edu 
 on behalf of Huang, Yujing 

Sent: Friday, January 5, 2024 3:05 PM
To: Freesurfer support list 
Subject: Re: [Freesurfer] recon-all -s SiroSTC006_pre exited with ERRORS

WARNING: This message has originated from an External Source. This may be a 
phishing expedition that can result in unauthorized access to our IT System. 
Please use proper judgment and caution when opening attachments, clicking 
links, or responding to this email.
This is from your recon-all.log
“
mri_convert /home/abeoseh/Downloads/OneDrive_1_1-4-2024/Subject 
6/Baseline/3D_T1_MPRAGE_PRE_MPR_AX.nii.gz 
/usr/local/freesurfer/subjects/SiroSTC006_pre/mri/orig/001.mgz



mri_convert: extra argument 
("/usr/local/freesurfer/subjects/SiroSTC006_pre/mri/orig/001.mgz")
“



There is a space in your path to nii.gz.. Can you remove the space by renaming 
the directory?



Also, your SUBJ

Re: [Freesurfer] recon-all -s SiroSTC006_pre exited with ERRORS

2024-01-05 Thread fsbuild
External Email - Use Caution

Did you install Freesurfer 7.4.1 using the Debian installer package 
?https://secure-web.cisco.com/1Q45DaXEMcahL0g3wyejOntK1tGwx5UNQU25fdIi6ImofQsUOBUFGOhQ21vBk8sDRQfWWELU7ghl6F8QsJA6G2LpBun8SBG8VuebFtJaMobqrOERog6kz0hiKLV9ajDE2AKC1cpczWaDYkcSc4gMj3M6RFSGVTMvswdtfRVwJb-Ck23miRyGdEEMqm_Vf-b-J9o0O3vxunBYSB4cBN28DNJm4do5FWUZ4zSzRajltNg7RZ46COiMaso4uOBO2RYGe0GsZu0-WtJ9Aceq0QL43ZSK1SlxBsNnkMA4gJsKlawl_Tl3esT3lDUmN4303CUV1bHuzWMUv-G-vhN66uSWjhA/https%3A%2F%2Fsurfer.nmr.mgh.harvard.edu%2Fpub%2Fdist%2Ffreesurfer%2F7.4.1%2Ffreesurfer_ubuntu22-7.4.1_amd64.deb-
 R.
On Jan 5, 2024, at 22:18, Flemister, Abeoseh B. flemist...@missouri.edu 
wrote:External Email - Use 
CautionThanks, but the issue 
isn't that graphics aren't displaying, it's that freeview won't load because qt 
can't be initialized.Abeoseh FlemisterFrom:fsbuild 
fsbu...@contbay.comSent:Friday, January 5, 2024 8:27 
PMTo:freesurfer@nmr.mgh.harvard.edu 
freesurfer@nmr.mgh.harvard.eduCc:Flemister, Abeoseh B. 
flemist...@missouri.eduSubject:Re: [Freesurfer] recon-all -s 
SiroSTC006_pre exited with ERRORSFor issues with Freeview 
displaying graphics when running via Linux on a Windows host thru WSL, you 
could look at the recent thread with the subject "Re: [Freesurfer] Freeview not 
showing 
output",https://secure-web.cisco.com/1oaJ0JSPhxlRjzZbZiQ7yaftYm3TvYL5vsUqSvRIwn1mxTLB9TJXbethBhfapiwejmtZvkPk-Rzn2z_ad008-CzQlNve-NK6CceUt0VtPPFJdwtHKP55BXcuQhcU1YMz4-FPp9GzSTpiJ3JHu0iWTdbP786ULqlSTxSVgPgP7VkSxFmOR08R6XsMAhtGAScfuIli7yeGgO6_pGTXQjtPhYf_rpwzgCC2fxaK-4G43kajshNd4Ud6bVNH54fIM-6dcft-18wReIbRAerhMZzSx7hql2Jiwn18OCmUKqAcP8rn9FrqtaYOtu1LGeBs5QWaxiqN9ZGDiVySHjpAlv-EeZg/https%3A%2F%2Fwww.mail-archive.com%2Ffreesurfer%40nmr.mgh.harvard.edu%2Fmsg76229.htmlIn
 case the link to the Freesurfer WIKI talking about WSL is garbled in the URL 
above, that link 
is,https://secure-web.cisco.com/1EiWtVy6tBY8avsFO7RwETRF3_M-X-xF2Kpa7qQsUO9MBq9hJVTqFCn_eb9DM39rNtk3pbFG-ug4ZpEKk6X5eQ2KDMDYdDUh5TpmffuF5wXtAdJ4hB-SoNLiV1Eby6E2JQ7J-CCBMpK3-i117c1ChJq3VJ47f5OEtaSJW1rpGX1NRsG3fz4fL7KgiZcAesTpPNIIbOF0oVPc7kQgLZgqih4rx94xTA9NBpzpd1HjHFBdtCE_iQGSw6wkenZH9UDB92x5b8fE-xVb2Lshe0GJ8hZ4FWXijzgb14x-T7Jq75dJgbZtGXjWNynrOPhOFqkTqD0jXb80ORfn3PZQGWxIN5g/https%3A%2F%2Ffreesurfer.net%2Ffswiki%2FFS7_wsl_ubuntu-
 R.On Jan 5, 2024, at 21:08, Flemister, Abeoseh B. 
flemist...@missouri.edu 
wrote:External Email - Use 
CautionHiYujing,Thanks 
that helped! I was trying to open freeview by typing "freeview" and I’ve 
unfortunately run into another error:This application failed to start 
because no Qt platform plugin could be initialized.I sawan emailon 
this topic but I don't think it was ever answered.. Apologies if I'm reading 
the thread wrong. Any help would be greatly appreciated!Abeoseh 
FlemisterFrom:freesurfer-boun...@nmr.mgh.harvard.edu 
freesurfer-boun...@nmr.mgh.harvard.edu on behalf of Huang, Yujing 
yhuan...@mgh.harvard.eduSent:Friday, January 5, 2024 3:05 
PMTo:Freesurfer support list 
freesurfer@nmr.mgh.harvard.eduSubject:Re: [Freesurfer] recon-all 
-s SiroSTC006_pre exited with ERRORSWARNING:This message has 
originated from an External Source. This may be a phishing expedition that can 
result in unauthorized access to our IT System.. Please use proper judgment and 
caution when opening attachments, clicking links, or responding to this 
email.This is from your recon-all.log“mri_convert 
/home/abeoseh/Downloads/OneDrive_1_1-4-2024/Subject 
6/Baseline/3D_T1_MPRAGE_PRE_MPR_AX.nii.gz 
/usr/local/freesurfer/subjects/SiroSTC006_pre/mri/orig/001.mgzmri_convert:
 extra argument 
("/usr/local/freesurfer/subjects/SiroSTC006_pre/mri/orig/001.mgz")“There 
is a space in your path to nii.gz. Can you remove the space by renaming the 
directory?Also, your SUBJECTS_DIR points to your Freesurfer install 
directory - /usr/local/freesurfer/subjects. You might run into permission or 
symbolic link problems later. It is a good idea to set SUBJECTS_DIR to some 
other directory where you have write 
permissions.Best,YujingFrom:freesurfer-boun...@nmr.mgh.harvard.edu
 freesurfer-boun...@nmr.mgh.harvard.eduOn Behalf 
OfFlemister, Abeoseh B.Sent:Friday, January 5, 2024 3:31 
PMTo:freesur...@nmr.mgh.harvard.eduSubject:[Freesurfer] recon-all 
-s SiroSTC006_pre exited with 
ERRORSExternal Email - 
Use CautionHi FreeSurfer 
Team,I am attempting to run recon-all on a 3T MRI image dataset. I used 
recon-all \ -all \ -i 3D_T1_MPRAGE_PRE_MPR_AX.nii.gz \ -s SiroSTC006_pre and 
recon-all failed before completeing even the first step. I tried other files 
from our dataset and using .nii files and got the same result. I sawa 
recent threadwhere someone's issue was improperly labeled WM lesions but 
my dataset is composed of healthy brains.I attached my 
recon-all.logs.. I am using a Linux virtual machine (FreeSurfer version 
freesurfer-linux-ubuntu22_x86_64-7.4.1-20230614-7eb8460). Please let me know if 
you hav

Re: [Freesurfer] recon-all -s SiroSTC006_pre exited with ERRORS

2024-01-05 Thread Flemister, Abeoseh B.
External Email - Use Caution

Thanks, but the issue isn't that graphics aren't displaying, it's that freeview 
won't load because qt can't be initialized.

Abeoseh Flemister

From: fsbuild 
Sent: Friday, January 5, 2024 8:27 PM
To: freesurfer@nmr.mgh.harvard.edu 
Cc: Flemister, Abeoseh B. 
Subject: Re: [Freesurfer] recon-all -s SiroSTC006_pre exited with ERRORS


For issues with Freeview displaying graphics when running via Linux on a 
Windows host thru WSL, you could look at the recent thread with the subject 
"Re: [Freesurfer] Freeview not showing output",

https://secure-web.cisco.com/1MhQHLfqOsV0yN00hyLvm-y1m7NI9NP7S-GpPfeIKcao9Gurg-l-VxR3oFFgNMigTFOH5vpPTla3aaqG9EFYQLtkTcCypFCQi6-F9Aj6K-vJxzIVKdaq2yrn2d9_MVW_e1aZT99H34fjKatbjirW6RDrBVZu5gvhYZV275VPQHaZhSFpQHcotb8oxfG-rKiqe92eJQmxZcekLiIqe1b3I31pPffPJond76W6aRre-FXVp37VaJ21kdOV2QOLFm1PsMuIcXciYO60uk9o6Y9ljn_u7lyvyCXDrammj98BbGs7A_CJHAvk8GKKHee2q9gfPy6EAIhZXFLiJ6VPpRlwIaA/https%3A%2F%2Fwww.mail-archive.com%2Ffreesurfer%40nmr.mgh.harvard.edu%2Fmsg76229.html

In case the link to the Freesurfer WIKI talking about WSL is garbled in the URL 
above, that link is,

https://secure-web.cisco.com/1D77XANVVrjdkYfjYWX5qP542z7Dn3Frt2Qvbz-sr_9p66h5seQ9j96tnvd-97dZlpDJ2yyGFJbPCgi155qq3vN1Wj6bTb0MbHnIBi46tHc87Ykfy9MGdmOj2agrA49Tm5-Vu30ZcCoGJ43YHkzxTnEWOjte76l2mPHIph-RCH-zmBvMFj5Lq-sOEkF4nSO4BqfQuzo5LwopZUt8TYYu4jy33uwECNWBPGf9IgzRRFdJ24UlRspllchx3o0dTy1xV60O0cqS6ZQxL7EHJcVGq3t8ZO2RcqwucTIF-nyjJihYdht_hpeCOHtynTVgm9VLcM2q8ivjAPmTKBAMFeDuvDA/https%3A%2F%2Ffreesurfer.net%2Ffswiki%2FFS7_wsl_ubuntu

- R.

On Jan 5, 2024, at 21:08, Flemister, Abeoseh B.  wrote:


External Email - Use Caution

Hi Yujing,

Thanks that helped! I was trying to open freeview by typing "freeview" and I’ve 
unfortunately run into another error: This application failed to start because 
no Qt platform plugin could be initialized.

I saw an 
email<https://secure-web.cisco.com/1sex5BbjwVm7Vqn3F18BjMh4cio7IL8BUJJSNfISgMRjE97tPF6susbOp_EibTi_Rib1-3fWMGSEj8zGWHPxLR2GefWAJO6hAMhWk3ljFTJNt8UzJJ7g64luToLn5QhJsNduB0adfJnSocWm3Sr6UXIQTw_VG14v1_iXsFwciWl3tqZKsyg4XY7Bj1YRW5OCyZ_QQM_SNARfbprfL44uGWj3HS0vRM0ajIPDdJjRJEdjU_dtmR8Y7hdnowdnjN8MA7dH5ev7ZR64zoszVrlcknlcTe1L7BwLGzdSTIMvQRymZDCdDaTO7Ed60jgqgQZjr/https%3A%2F%2Fwww.mail-archive.com%2Ffreesurfer%40nmr.mgh.harvard.edu%2Fmsg66231.html>
 on this topic but I don't think it was ever answered.. Apologies if I'm 
reading the thread wrong. Any help would be greatly appreciated!

Abeoseh Flemister

From: freesurfer-boun...@nmr.mgh.harvard.edu 
 on behalf of Huang, Yujing 

Sent: Friday, January 5, 2024 3:05 PM
To: Freesurfer support list 
Subject: Re: [Freesurfer] recon-all -s SiroSTC006_pre exited with ERRORS

WARNING: This message has originated from an External Source. This may be a 
phishing expedition that can result in unauthorized access to our IT System. 
Please use proper judgment and caution when opening attachments, clicking 
links, or responding to this email.
This is from your recon-all.log
“
mri_convert /home/abeoseh/Downloads/OneDrive_1_1-4-2024/Subject 
6/Baseline/3D_T1_MPRAGE_PRE_MPR_AX.nii.gz 
/usr/local/freesurfer/subjects/SiroSTC006_pre/mri/orig/001.mgz

mri_convert: extra argument 
("/usr/local/freesurfer/subjects/SiroSTC006_pre/mri/orig/001.mgz")
“

There is a space in your path to nii.gz. Can you remove the space by renaming 
the directory?

Also, your SUBJECTS_DIR points to your Freesurfer install directory - 
/usr/local/freesurfer/subjects. You might run into permission or symbolic link 
problems later. It is a good idea to set SUBJECTS_DIR to some other directory 
where you have write permissions.

Best,

Yujing

From: freesurfer-boun...@nmr.mgh.harvard.edu 
 On Behalf Of Flemister, Abeoseh B.
Sent: Friday, January 5, 2024 3:31 PM
To: freesurfer@nmr.mgh.harvard.edu
Subject: [Freesurfer] recon-all -s SiroSTC006_pre exited with ERRORS


External Email - Use Caution

Hi FreeSurfer Team,

I am attempting to run recon-all on a 3T MRI image dataset. I used recon-all \ 
-all \ -i 3D_T1_MPRAGE_PRE_MPR_AX.nii.gz \ -s SiroSTC006_pre and recon-all 
failed before completeing even the first step. I tried other files from our 
dataset and using .nii files and got the same result. I saw a recent thread 
<https://secure-web.cisco.com/1dNYuQ5feZYQ6hNc76goinSvD-Ypnc3onN5YQA8IZaGD9ZMsgPU8h02eq6smQW_JlVSoe2pmWi9i4IcVcvgPNAErLGWflT-2DHnEGZhHuYuSO7uagH4fed_iEleZMZ8fgVidAMFlNu_V6xq1SiHRk7nBL5_vNP6s-l8W5JP5TtFTlM7qsiZb0cfyjC0beae7q8RstHZ1a7H1bThMO8tUOdBPq6h2mtRu15a6hLnBK4v7YbPIeyWQj1PNy1poAzCsu_PpjvCs0OTiVKjJIHv6obmHjItvr-tP8RedoW0g4wzOQSCgST1rQnUsemz7IcLPP/https%3A%2F%2Fwww.mail-archive.com%2Ffreesurfer%40nmr.mgh.harvard.edu%2Fmsg62253.html>
 where someone's issue was improperly labeled WM lesions but my dataset is 
composed of healthy brains.

I attached my recon-all.logs.. I am using a Linux virtual machine (FreeSurfer 
vers

Re: [Freesurfer] recon-all -s SiroSTC006_pre exited with ERRORS

2024-01-05 Thread fsbuild
External Email - Use Caution

For issues with Freeview displaying graphics when running via Linux on a 
Windows host thru WSL, you could look at the recent thread with the subject 
"Re: [Freesurfer] Freeview not showing output",
https://secure-web.cisco.com/1_xzs3l0H18glGmrIaq7DLLWEnbalu4hRqRVJfIOVshijKYxcPt7YgAHaWtbElTSVhOHSVpXfVbYtsSat-VSB2AcASMfIu3iGWkg1Pr8PAWGiO-QNx_InTSbPx1SlEgEfWwHcu8Kvv6mpvP1DVjjMjrQm_tjS5mLYrxRY4oBZ9ZDYVcOJOgqZ1aNMNRZciur7DWeYIOQvMB3gIzoQ9Ezl_HmMYDUiQFPkcPHCm-jCkc9CwpFyswcD9oucICvpa2CcnjmJ_uKvLTTH3CMRECLNaxrDHkc_YoVNzJt4G1azbIURdLSwwIWcNW_J2fArM_PkVmgAJrH_G5HaO6Udtvukdw/https%3A%2F%2Fwww.mail-archive.com%2Ffreesurfer%40nmr.mgh.harvard.edu%2Fmsg76229.html
In case the link to the Freesurfer WIKI talking about WSL is garbled in the URL 
above, that link is,
https://secure-web.cisco.com/1NIeWPFmWL9ULg_YLAREetdCKnwA4CAjtUSmmia-2fJLaumxUt7nyh4UJA8ETOUN9ZoOiTX5WwcajQ_sDAOOVJakF-Aqee8hi58icmc6NHSfROyRiZ5TQY-ecyB2kKnjaz0f3e5_Qg6RK-x6-rP_zvRBzKHU2gEyZgr8ivRTUzaCtcYqTpgdC7euLsajGvu0lgP3hQGs-pjDgQFqARk41W-gp9vVlFfkqZ7jqrzUHbXKJSgVrIz7OvWhnctAqDmu7vpLk74tAGnyrzsoRpHRX9TuybAZMwjHHOKh7_IVpBAwPkmQXb9UMnyrtgutVQ871ASnKlGXL3HfgSgCUITnwMA/https%3A%2F%2Ffreesurfer.net%2Ffswiki%2FFS7_wsl_ubuntu
- R.
On Jan 5, 2024, at 21:08, Flemister, Abeoseh B. flemist...@missouri.edu 
wrote:External Email - Use 
CautionHiYujing,Thanks 
that helped! I was trying to open freeview by typing "freeview" and I’ve 
unfortunately run into another error:This application failed to start 
because no Qt platform plugin could be initialized.I sawan emailon 
this topic but I don't think it was ever answered. Apologies if I'm reading the 
thread wrong. Any help would be greatly appreciated!Abeoseh 
FlemisterFrom:freesurfer-boun...@nmr.mgh.harvard.edu 
freesurfer-boun...@nmr.mgh.harvard.edu on behalf of Huang, Yujing 
yhuan...@mgh.harvard.eduSent:Friday, January 5, 2024 3:05 
PMTo:Freesurfer support list 
freesurfer@nmr.mgh.harvard.eduSubject:Re: [Freesurfer] recon-all 
-s SiroSTC006_pre exited with ERRORSWARNING:This message has 
originated from an External Source. This may be a phishing expedition that can 
result in unauthorized access to our IT System. Please use proper judgment and 
caution when opening attachments, clicking links, or responding to this 
email.This is from your recon-all.log“mri_convert 
/home/abeoseh/Downloads/OneDrive_1_1-4-2024/Subject 
6/Baseline/3D_T1_MPRAGE_PRE_MPR_AX.nii.gz 
/usr/local/freesurfer/subjects/SiroSTC006_pre/mri/orig/001.mgzmri_convert:
 extra argument 
("/usr/local/freesurfer/subjects/SiroSTC006_pre/mri/orig/001.mgz")“There 
is a space in your path to nii.gz. Can you remove the space by renaming the 
directory?Also, your SUBJECTS_DIR points to your Freesurfer install 
directory - /usr/local/freesurfer/subjects. You might run into permission or 
symbolic link problems later. It is a good idea to set SUBJECTS_DIR to some 
other directory where you have write 
permissions.Best,YujingFrom:freesurfer-boun...@nmr.mgh.harvard.edu
 freesurfer-boun...@nmr.mgh.harvard.eduOn Behalf 
OfFlemister, Abeoseh B.Sent:Friday, January 5, 2024 3:31 
PMTo:freesur...@nmr.mgh.harvard.eduSubject:[Freesurfer] recon-all 
-s SiroSTC006_pre exited with 
ERRORSExternal Email - 
Use CautionHi FreeSurfer 
Team,I am attempting to run recon-all on a 3T MRI image dataset. I used 
recon-all \ -all \ -i 3D_T1_MPRAGE_PRE_MPR_AX.nii.gz \ -s SiroSTC006_pre and 
recon-all failed before completeing even the first step. I tried other files 
from our dataset and using .nii files and got the same result. I sawa 
recent threadwhere someone's issue was improperly labeled WM lesions but 
my dataset is composed of healthy brains.I attached my 
recon-all..logs. I am using a Linux virtual machine (FreeSurfer version 
freesurfer-linux-ubuntu22_x86_64-7.4.1-20230614-7eb8460). Please let me know if 
you have any questions!Thanks,Abeoseh 
Flemister___Freesurfer mailing 
listfreesur...@nmr.mgh.harvard.eduhttps://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
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 


Re: [Freesurfer] recon-all -s SiroSTC006_pre exited with ERRORS

2024-01-05 Thread Flemister, Abeoseh B.
External Email - Use Caution

Hi Yujing,

Thanks that helped! I was trying to open freeview by typing "freeview" and I’ve 
unfortunately run into another error: This application failed to start because 
no Qt platform plugin could be initialized.

I saw an 
email<https://secure-web.cisco.com/1sex5BbjwVm7Vqn3F18BjMh4cio7IL8BUJJSNfISgMRjE97tPF6susbOp_EibTi_Rib1-3fWMGSEj8zGWHPxLR2GefWAJO6hAMhWk3ljFTJNt8UzJJ7g64luToLn5QhJsNduB0adfJnSocWm3Sr6UXIQTw_VG14v1_iXsFwciWl3tqZKsyg4XY7Bj1YRW5OCyZ_QQM_SNARfbprfL44uGWj3HS0vRM0ajIPDdJjRJEdjU_dtmR8Y7hdnowdnjN8MA7dH5ev7ZR64zoszVrlcknlcTe1L7BwLGzdSTIMvQRymZDCdDaTO7Ed60jgqgQZjr/https%3A%2F%2Fwww.mail-archive.com%2Ffreesurfer%40nmr.mgh.harvard.edu%2Fmsg66231.html>
 on this topic but I don't think it was ever answered. Apologies if I'm reading 
the thread wrong. Any help would be greatly appreciated!

Abeoseh Flemister

From: freesurfer-boun...@nmr.mgh.harvard.edu 
 on behalf of Huang, Yujing 

Sent: Friday, January 5, 2024 3:05 PM
To: Freesurfer support list 
Subject: Re: [Freesurfer] recon-all -s SiroSTC006_pre exited with ERRORS

WARNING: This message has originated from an External Source. This may be a 
phishing expedition that can result in unauthorized access to our IT System. 
Please use proper judgment and caution when opening attachments, clicking 
links, or responding to this email.
This is from your recon-all.log
“
mri_convert /home/abeoseh/Downloads/OneDrive_1_1-4-2024/Subject 
6/Baseline/3D_T1_MPRAGE_PRE_MPR_AX.nii.gz 
/usr/local/freesurfer/subjects/SiroSTC006_pre/mri/orig/001.mgz

mri_convert: extra argument 
("/usr/local/freesurfer/subjects/SiroSTC006_pre/mri/orig/001.mgz")
“

There is a space in your path to nii.gz. Can you remove the space by renaming 
the directory?

Also, your SUBJECTS_DIR points to your Freesurfer install directory - 
/usr/local/freesurfer/subjects. You might run into permission or symbolic link 
problems later. It is a good idea to set SUBJECTS_DIR to some other directory 
where you have write permissions.

Best,

Yujing

From: freesurfer-boun...@nmr.mgh.harvard.edu 
 On Behalf Of Flemister, Abeoseh B.
Sent: Friday, January 5, 2024 3:31 PM
To: freesurfer@nmr.mgh.harvard.edu
Subject: [Freesurfer] recon-all -s SiroSTC006_pre exited with ERRORS


External Email - Use Caution
Hi FreeSurfer Team,

I am attempting to run recon-all on a 3T MRI image dataset. I used recon-all \ 
-all \ -i 3D_T1_MPRAGE_PRE_MPR_AX.nii.gz \ -s SiroSTC006_pre and recon-all 
failed before completeing even the first step. I tried other files from our 
dataset and using .nii files and got the same result. I saw a recent thread 
<https://secure-web.cisco.com/1dNYuQ5feZYQ6hNc76goinSvD-Ypnc3onN5YQA8IZaGD9ZMsgPU8h02eq6smQW_JlVSoe2pmWi9i4IcVcvgPNAErLGWflT-2DHnEGZhHuYuSO7uagH4fed_iEleZMZ8fgVidAMFlNu_V6xq1SiHRk7nBL5_vNP6s-l8W5JP5TtFTlM7qsiZb0cfyjC0beae7q8RstHZ1a7H1bThMO8tUOdBPq6h2mtRu15a6hLnBK4v7YbPIeyWQj1PNy1poAzCsu_PpjvCs0OTiVKjJIHv6obmHjItvr-tP8RedoW0g4wzOQSCgST1rQnUsemz7IcLPP/https%3A%2F%2Fwww.mail-archive.com%2Ffreesurfer%40nmr.mgh.harvard.edu%2Fmsg62253.html>
 where someone's issue was improperly labeled WM lesions but my dataset is 
composed of healthy brains.

I attached my recon-all.logs. I am using a Linux virtual machine (FreeSurfer 
version freesurfer-linux-ubuntu22_x86_64-7.4.1-20230614-7eb8460). Please let me 
know if you have any questions!

Thanks,
Abeoseh Flemister
___
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 


Re: [Freesurfer] recon-all -s SiroSTC006_pre exited with ERRORS

2024-01-05 Thread Huang, Yujing
This is from your recon-all.log
"
mri_convert /home/abeoseh/Downloads/OneDrive_1_1-4-2024/Subject 
6/Baseline/3D_T1_MPRAGE_PRE_MPR_AX.nii.gz 
/usr/local/freesurfer/subjects/SiroSTC006_pre/mri/orig/001.mgz

mri_convert: extra argument 
("/usr/local/freesurfer/subjects/SiroSTC006_pre/mri/orig/001.mgz")
"

There is a space in your path to nii.gz. Can you remove the space by renaming 
the directory?

Also, your SUBJECTS_DIR points to your Freesurfer install directory - 
/usr/local/freesurfer/subjects. You might run into permission or symbolic link 
problems later. It is a good idea to set SUBJECTS_DIR to some other directory 
where you have write permissions.

Best,

Yujing

From: freesurfer-boun...@nmr.mgh.harvard.edu 
 On Behalf Of Flemister, Abeoseh B.
Sent: Friday, January 5, 2024 3:31 PM
To: freesurfer@nmr.mgh.harvard.edu
Subject: [Freesurfer] recon-all -s SiroSTC006_pre exited with ERRORS


External Email - Use Caution
Hi FreeSurfer Team,

I am attempting to run recon-all on a 3T MRI image dataset. I used recon-all \ 
-all \ -i 3D_T1_MPRAGE_PRE_MPR_AX.nii.gz \ -s SiroSTC006_pre and recon-all 
failed before completeing even the first step. I tried other files from our 
dataset and using .nii files and got the same result. I saw a recent thread 
<https://secure-web.cisco.com/1dNYuQ5feZYQ6hNc76goinSvD-Ypnc3onN5YQA8IZaGD9ZMsgPU8h02eq6smQW_JlVSoe2pmWi9i4IcVcvgPNAErLGWflT-2DHnEGZhHuYuSO7uagH4fed_iEleZMZ8fgVidAMFlNu_V6xq1SiHRk7nBL5_vNP6s-l8W5JP5TtFTlM7qsiZb0cfyjC0beae7q8RstHZ1a7H1bThMO8tUOdBPq6h2mtRu15a6hLnBK4v7YbPIeyWQj1PNy1poAzCsu_PpjvCs0OTiVKjJIHv6obmHjItvr-tP8RedoW0g4wzOQSCgST1rQnUsemz7IcLPP/https%3A%2F%2Fwww.mail-archive.com%2Ffreesurfer%40nmr.mgh.harvard.edu%2Fmsg62253.html>
 where someone's issue was improperly labeled WM lesions but my dataset is 
composed of healthy brains.

I attached my recon-all.logs. I am using a Linux virtual machine (FreeSurfer 
version freesurfer-linux-ubuntu22_x86_64-7.4.1-20230614-7eb8460). Please let me 
know if you have any questions!

Thanks,
Abeoseh Flemister
___
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 Mass General Brigham 
Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline 
<https://www.massgeneralbrigham.org/complianceline> .
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 


[Freesurfer] recon-all -s SiroSTC006_pre exited with ERRORS

2024-01-05 Thread Flemister, Abeoseh B.
External Email - Use Caution

Hi FreeSurfer Team,

I am attempting to run recon-all on a 3T MRI image dataset. I used recon-all \ 
-all \ -i 3D_T1_MPRAGE_PRE_MPR_AX.nii.gz \ -s SiroSTC006_pre and recon-all 
failed before completeing even the first step. I tried other files from our 
dataset and using .nii files and got the same result. I saw a recent thread 

 where someone's issue was improperly labeled WM lesions but my dataset is 
composed of healthy brains.

I attached my recon-all.logs. I am using a Linux virtual machine (FreeSurfer 
version freesurfer-linux-ubuntu22_x86_64-7.4.1-20230614-7eb8460). Please let me 
know if you have any questions!

Thanks,
Abeoseh Flemister


recon-all.log
Description: recon-all.log
___
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 


[Freesurfer] recon-all vs. recon-all-clinical: missing ROIs

2024-01-05 Thread Biondo, Francesca
External Email - Use Caution

Hi,
recon-all generates these volumes, amongst others: "Left-vessel", 
"Left-choroid-plexus", "Right-vessel", "Right-choroid-plexus"
recon-all-clinical does not generate these volumes. Or at least that I am able 
to detect. Any ideas how to extract or calculate them?

Regarding the choroid plexus, would it be correct to use this formula?
Estimated choroid plexus volume (both left and right) = "VentricleChoroidVol" - 
"left lateral ventricle" - "right lateral ventricle"

Thank you very much for your support -
Francesca

___
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 


Re: [Freesurfer] recon all with optiBET brain mask

2023-12-29 Thread Huang, Yujing
This is from Freesurfer wiki -  MailScanner has detected a possible fraud 
attempt from "secure-web.cisco.com" claiming to be 
https://surfer.nmr.mgh.harvard.edu/fswiki/UserContributions/FAQ<https://secure-web.cisco.com/1CkNjrY48pCUahVqRgpWm_wWr-VT402BvZ0Y61vf5NBHE08gelDHJOnnrnONbPXLIsRUSgn-e1KlQ28-1bqlh2D9mdfR4oz5K2DcAapaDi_kIRYa9oOGpUGPN7HBgvT7nsrqBOhDSS1cOpeZ1vlmzNwZczc-cKlN2aymuKdjRBszVXj6pSIzy284SpTKycNB0Fu9kYvlF9WMrQLPBazYr7itkxhkOU3JWMD4-UoiVa9TbyhR71UonTZDQK57ox2IABmOi_Byg-ahMf7rWMa3NdavabkZhRt_6s9jZZE9ooyzXY-aFh0m-UBLCJJ5H-q_XO5-sie0nuzq8b8Z2HV6a3Q/https%3A%2F%2Fsurfer.nmr.mgh.harvard.edu%2Ffswiki%2FUserContributions%2FFAQ>
Q. I have already skull-stripped data. Can I submit it to recon-all?
A: If your skull-stripped volume does not have the cerebellum, then no. If it 
does, then yes, however you will have to run the data a bit differently.
First you must run only -autorecon1 like this:
recon-all -autorecon1 -noskullstrip -s 
Then you will have to make a symbolic link or copy T1.mgz to brainmask.auto.mgz 
and a link from brainmask.auto.mgz to brainmask.mgz. Finally, open this 
brainmask.mgz file and check that it looks okay (there is no skull, cerebellum 
is intact; use the sample subject bert that comes with your FreeSurfer 
installation to make sure it looks comparable). From there you can run the 
final stages of recon-all:
recon-all -autrecon2 -autorecon3 -s 
Hope it helps.
 Best,
Yujing


From: freesurfer-boun...@nmr.mgh.harvard.edu 
 On Behalf Of BALBONI Irene
Sent: Tuesday, December 19, 2023 3:43 AM
To: freesurfer@nmr.mgh.harvard.edu
Subject: [Freesurfer] recon all with optiBET brain mask


External Email - Use Caution
Hello,

I would like to run recon all on a batch of subjects using 2 inputs (mprage and 
mp2rage). I would also like to run recon all using as brain mask not the 
standard brain mask generated by recon-all itself but a previously created 
optiBET. Would you have any suggestion on how to proceed? I tried simply 
replacing the brainmask file with the optiBET but it did not work.
Just for context all my participants (150) have been already segmented using 
recon-all but we noticed during quality control that we still have skull 
stripping and pial surface errors for the majority of them and that is why we 
would like to implement the optiBET mask.

Thanks for your help,
Irene Balboni
PhD student
She/Her

Institute de 
plurilinguisme<https://secure-web.cisco.com/1pftPU5_0h0FupMF_jZDy_UxBYrJAQ-AW89umP7RzP_duHGk4rhiIzM9LB0z7YfOSEvpcpUW2Vvrg-ISqJbvImgtoneLSk8oyjNXZPhv9YQEwck2mFdw3ySjyETxvAv2nlmsAPBJkQajh7MI4E0Gv1dFV0ot3za9MbRcUcRFMVwLZEkh8uP84QVf3-KcqehV6YFJt0EhNNvpBJqbgsMw1HNHFrtLdAQWC8Ub9CaX_S4oR9el-UFqav5WaW5zc3Q75xC10lNWkbNE1HeF6fpKNV-jirieoG2h9Hynul-tpf9-dRloyKXl31VY1gGmCt4Bi/https%3A%2F%2Finstitut-plurilinguisme.ch%2Ffr>
 | Université de Fribourg
&
Brain and Language 
Lab<http://secure-web.cisco.com/1GVUYNYViIIVEm2bvje-SiFox0WAIrWlf7gC0y8Dy1Yk6xjv7w_XKOZTQwQroW2KcI5WX5cXFMQQJWl9OcTsgzpK7bGjmql6hhHKNFs8qkbuKMt2gjuAJZEU5FkAgZSQMx1fr8YjMRC8HHFdM0XG_37kdDWmcGIz99U_EaKBkam1Nvh4xaosCMELtOn_ciQcmmKP52TS9tR4y3g9eeb-I7l1_C2v_dGzoy_uJJDakwvACjHuIQp05m1s4zhCgGFIroxRCIOp51LMXOpoXO5QEj9hbTN1qVPrel7L9x67zif7l1PFiyel0Ut1uiyHN-2CE/http%3A%2F%2Fbrainandlanguagelab.org%2F>
 | Université de Genève
c/o Campus Biotech
Chemin des Mines 9 – 1202
Université de Genève, CH
+41(0)223790141

Twitter<https://secure-web.cisco.com/17WKW8eFYGf6kC7ikhhz87_g3_OExqqtlPMTRdUfjaGR0uluTiqaXYJbfgje5xkN0AGUHCzqJvTMeOwIAoh_bIDXnFSl787LpKfXLOhqGoxeoeVXVoYnxhRn0IdG-m1365IFFI1HCl6lU6gR1MJUm03GRxwDOn1c58BqO2RNNAsj-n5_nXvmgc-Qk5tXs9dyCT93UY0FeiN8ejIl0NsIhreKkKGvoagzjD_d6k_pe_bAXTknyxKPD2WEeYA5rdplIaDcGLJcpkHfiNG4Vi8g3TQwYtJdUPDfJlWv0-kb0vQMk2l2c5zWftzhtmBEeaXLL/https%3A%2F%2Ftwitter.com%2Firene_balboni>
 | 
ResearchGate<https://secure-web.cisco.com/17QR3OuPCdu6j4aAtW1iy0qnt2WV8MA0yHG3gonUNgbpnoytFe_OT2t_PeZLUNBCumnPO91xKpUoHW2nXZ2GLpe3ACdRR0awLiFb_A2if5t1mgNBmYhmPmQ2jczQZTFIOs0XkQvfnIdJRFWvyyoH2AZ8ptXXCk-e9rv6j77b5YAFYk93jEuAXmpaqX5apol2w74ZvDxE5_sUBQ3FKXYE80cgKupAg62LC7S1PhHk91JDw_whVgbjFHy2H0_UGQKN6HoUGevumgUsd3HFsTPZ1ptbFf3_Ei3S80w4HVA3kRjjlKgssCFRQmy2zMX6wqzfe/https%3A%2F%2Fwww.researchgate.net%2Fprofile%2FIrene-Balboni-3>
 | 
Linkedin<https://secure-web.cisco.com/10d7bSA4mUh4az6x-hBwYc5c1373f-jWI1YMV5SjB-YHxEpSfF44wijFghbzodwriULKShKPeEp7GuGZIehjLR-AsJCmC8_am5bUFDDbn4Emi60hYMnjRxmCknyJw7B8YjyVRAb7v6fgqYkHFbauczQ89026CBfsNDyuE3ZSZU6eniJbceQI2zjkPWje7Su8bLiWLYb-BSWQi0sInsSwyR06qqHeJIE96hEiKBWs4LhqxLsiGCOClB27Ot0RxAk4dnV8KvFvgLvFoGRnu7PRu1gJr95fCha_TVRSxQ1lsbYguORGstmdfXHbGqYTxIkYg/https%3A%2F%2Fwww.linkedin.com%2Fin%2Firene-balboni-72b533196%2F>

___
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-

Re: [Freesurfer] Recon-all failing with pre-skullstripped input data (mri_em_register can't find brainmask.mgz)

2023-12-29 Thread James Hengenius
External Email - Use Caution

Thanks for pointing that out! That seems to be working. Jim

On Thu, Dec 28, 2023 at 6:53 PM Huang, Yujing 
wrote:

> This is from Freesurfer wiki -
> https://secure-web.cisco.com/1CkNjrY48pCUahVqRgpWm_wWr-VT402BvZ0Y61vf5NBHE08gelDHJOnnrnONbPXLIsRUSgn-e1KlQ28-1bqlh2D9mdfR4oz5K2DcAapaDi_kIRYa9oOGpUGPN7HBgvT7nsrqBOhDSS1cOpeZ1vlmzNwZczc-cKlN2aymuKdjRBszVXj6pSIzy284SpTKycNB0Fu9kYvlF9WMrQLPBazYr7itkxhkOU3JWMD4-UoiVa9TbyhR71UonTZDQK57ox2IABmOi_Byg-ahMf7rWMa3NdavabkZhRt_6s9jZZE9ooyzXY-aFh0m-UBLCJJ5H-q_XO5-sie0nuzq8b8Z2HV6a3Q/https%3A%2F%2Fsurfer.nmr.mgh.harvard.edu%2Ffswiki%2FUserContributions%2FFAQ
>
> *Q. I have already skull-stripped data. Can I submit it to recon-all?*
>
> A: If your skull-stripped volume does not have the cerebellum, then no. If
> it does, then yes, however you will have to run the data a bit differently.
>
> First you must run only -autorecon1 like this:
> *recon-all -autorecon1 -noskullstrip -s *
>
> Then you will have to make a symbolic link or copy T1.mgz to
> brainmask.auto.mgz and a link from brainmask.auto.mgz to brainmask.mgz.
> Finally, open this brainmask.mgz file and check that it looks okay (there
> is no skull, cerebellum is intact; use the sample subject *bert* that
> comes with your FreeSurfer installation to make sure it looks comparable).
> From there you can run the final stages of recon-all:
> *recon-all -autrecon2 -autorecon3 -s *
>
> Hope it helps.
>
>
>
> Best,
>
>
>
> Yujing
>
>
>
> *From:* freesurfer-boun...@nmr.mgh.harvard.edu <
> freesurfer-boun...@nmr.mgh.harvard.edu> *On Behalf Of *James Hengenius
> *Sent:* Thursday, December 28, 2023 5:06 PM
> *To:* Freesurfer support list 
> *Subject:* [Freesurfer] Recon-all failing with pre-skullstripped input
> data (mri_em_register can't find brainmask.mgz)
>
>
>
> *External Email - Use Caution*
>
> Hello FS experts,
>
>
>
> I downloaded some anatomical data. I have defaced full images and
> pre-skullstripped images for each participant. I tried the defaced images
> first, but FS skullstripping looks a little off (possibly because the
> defacing hides bits of the cranium in some images and causes problems in
> mri_watershed). So I would like to use the pre-skullstripped files as my
> initial inputs.
>
>
>
> I have placed the pre-skullstripped file for each participant in
> $SUBJECTS_DIR/$subjid/mri/orig/. Each participant's skullstripped input
> volume is named 001.mgz.
>
>
>
> I then submit the following command in a script to my slurm queue (after
> setting appropriate FS env vars), where the script input ${1} is the
> $subjid mentioned above:
>
>
>
> recon-all \
> -subject ${1} \
> -all \
> -openmp 40 \
> -noskullstrip
>
>
>
> The output log from FS ends with the following error. The
> function mri_em_register seems to be looking for brainmask.mgz, and fails
> to open it. If the input image is already extracted from the skull, do I
> need to manually call it brainmask.mgz rather than 001.mgz? Or am I missing
> something else in my function call (like order of flags)? Does
> -noskullstrip need to come before -openmp, for example?
>
>
>
> Thanks!
>
> Jim H.
>
>
>
> End of recon-all output:
>
>
>
> writing output to T1.mgz
> 3D bias adjustment took 1 minutes and 20 seconds.
> @#@FSTIME  2023:12:28:16:07:04 mri_normalize N 7 e 80.39 S 0.66 U 102.70 P
> 128% M 581068 F 0 R 24411 W 0 c 32 w 229 I 0 O 0 L 1.00 1.38 9.22
> @#@FSLOADPOST 2023:12:28:16:08:25 mri_normalize N 7 1.99 1.66 8.64
> #-
> #@# EM Registration Thu Dec 28 16:08:25 EST 2023
> /gpfs/fs0/scratch/t/tpaus/jhengeni/subjects_dir_ukb/1000108_20252_2_0/mri
>
>
>  mri_em_register -uns 3 -mask brainmask.mgz nu.mgz
> /home/t/tpaus/jhengeni/fs_versions/7.4.1/freesurfer/average/RB_all_2020-01-02.gca
> transforms/talairach.lta
>
>
> setting unknown_nbr_spacing = 3
> using MR volume brainmask.mgz to mask input volume...
>
>
> == Number of threads available to mri_em_register for OpenMP = 40 ==
> reading 1 input volumes...
> logging results to talairach.log
> reading
> '/home/t/tpaus/jhengeni/fs_versions/7.4.1/freesurfer/average/RB_all_2020-01-02.gca'...
> GCAread took 0 minutes and 1 seconds.
> average std = 7.2   using min determinant for regularization = 5.2
> 0 singular and 884 ill-conditioned covariance matrices regularized
> reading 'nu.mgz'...
> error:
>
> *mghRead(/gpfs/fs0/scratch/t/tpaus/jhengeni/subjects_dir_ukb/1000108_20252_2_0/mri/brainmask.mgz,
> -1): could not open file^@ error: mri_em_register: could not open mask
> volume brainmask.mgz. ^@*
> @#@FSTIME  2023:12:28

Re: [Freesurfer] Recon-all failing with pre-skullstripped input data (mri_em_register can't find brainmask.mgz)

2023-12-28 Thread Huang, Yujing
This is from Freesurfer wiki -  
https://surfer.nmr.mgh.harvard.edu/fswiki/UserContributions/FAQ
Q. I have already skull-stripped data. Can I submit it to recon-all?
A: If your skull-stripped volume does not have the cerebellum, then no. If it 
does, then yes, however you will have to run the data a bit differently.
First you must run only -autorecon1 like this:
recon-all -autorecon1 -noskullstrip -s 
Then you will have to make a symbolic link or copy T1.mgz to brainmask.auto.mgz 
and a link from brainmask.auto.mgz to brainmask.mgz. Finally, open this 
brainmask.mgz file and check that it looks okay (there is no skull, cerebellum 
is intact; use the sample subject bert that comes with your FreeSurfer 
installation to make sure it looks comparable). From there you can run the 
final stages of recon-all:
recon-all -autrecon2 -autorecon3 -s 
Hope it helps.

Best,

Yujing

From: freesurfer-boun...@nmr.mgh.harvard.edu 
 On Behalf Of James Hengenius
Sent: Thursday, December 28, 2023 5:06 PM
To: Freesurfer support list 
Subject: [Freesurfer] Recon-all failing with pre-skullstripped input data 
(mri_em_register can't find brainmask.mgz)


External Email - Use Caution
Hello FS experts,

I downloaded some anatomical data. I have defaced full images and 
pre-skullstripped images for each participant. I tried the defaced images 
first, but FS skullstripping looks a little off (possibly because the defacing 
hides bits of the cranium in some images and causes problems in mri_watershed). 
So I would like to use the pre-skullstripped files as my initial inputs.

I have placed the pre-skullstripped file for each participant in 
$SUBJECTS_DIR/$subjid/mri/orig/. Each participant's skullstripped input volume 
is named 001.mgz.

I then submit the following command in a script to my slurm queue (after 
setting appropriate FS env vars), where the script input ${1} is the $subjid 
mentioned above:

recon-all \
-subject ${1} \
-all \
-openmp 40 \
-noskullstrip

The output log from FS ends with the following error. The function 
mri_em_register seems to be looking for brainmask.mgz, and fails to open it. If 
the input image is already extracted from the skull, do I need to manually call 
it brainmask.mgz rather than 001.mgz? Or am I missing something else in my 
function call (like order of flags)? Does -noskullstrip need to come before 
-openmp, for example?

Thanks!
Jim H.

End of recon-all output:

writing output to T1.mgz
3D bias adjustment took 1 minutes and 20 seconds.
@#@FSTIME  2023:12:28:16:07:04 mri_normalize N 7 e 80.39 S 0.66 U 102.70 P 128% 
M 581068 F 0 R 24411 W 0 c 32 w 229 I 0 O 0 L 1.00 1.38 9.22
@#@FSLOADPOST 2023:12:28:16:08:25 mri_normalize N 7 1.99 1.66 8.64
#-
#@# EM Registration Thu Dec 28 16:08:25 EST 2023
/gpfs/fs0/scratch/t/tpaus/jhengeni/subjects_dir_ukb/1000108_20252_2_0/mri

 mri_em_register -uns 3 -mask brainmask.mgz nu.mgz 
/home/t/tpaus/jhengeni/fs_versions/7.4.1/freesurfer/average/RB_all_2020-01-02.gca
 transforms/talairach.lta

setting unknown_nbr_spacing = 3
using MR volume brainmask.mgz to mask input volume...

== Number of threads available to mri_em_register for OpenMP = 40 ==
reading 1 input volumes...
logging results to talairach.log
reading 
'/home/t/tpaus/jhengeni/fs_versions/7.4.1/freesurfer/average/RB_all_2020-01-02.gca'...
GCAread took 0 minutes and 1 seconds.
average std = 7.2   using min determinant for regularization = 5.2
0 singular and 884 ill-conditioned covariance matrices regularized
reading 'nu.mgz'...
error: 
mghRead(/gpfs/fs0/scratch/t/tpaus/jhengeni/subjects_dir_ukb/1000108_20252_2_0/mri/brainmask.mgz,
 -1): could not open file^@
error: mri_em_register: could not open mask volume brainmask.mgz.
^@
@#@FSTIME  2023:12:28:16:08:25 mri_em_register N 7 e 1.42 S 0.25 U 1.43 P 118% 
M 446804 F 0 R 108260 W 0 c 2 w 56 I 0 O 0 L 1.99 1.66 8.64
@#@FSLOADPOST 2023:12:28:16:08:26 mri_em_register N 7 1.99 1.66 8.64
Linux nia0918.scinet.local 3.10.0-1160.102.1.el7.x86_64 #1 SMP Tue Oct 17 
15:42:21 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

recon-all -s 1000108_20252_2_0 exited with ERRORS at Thu Dec 28 16:08:26 EST 
2023

For more details, see the log file 
/gpfs/fs0/scratch/t/tpaus/jhengeni/subjects_dir_ukb/1000108_20252_2_0/scripts/recon-all.log
To report a problem, see MailScanner has detected a possible fraud attempt from 
"secure-web.cisco.com" claiming to be 
http://surfer.nmr.mgh.harvard.edu/fswiki/BugReporting<http://secure-web.cisco.com/1ywN1tDbl7MCg8OnWFYEA2Vcf-TaEWXJQlDYsrE7jJo4KqFgIlOWrzhzxDJm5uF11tgXR5fJi2W6vOuAdAAji5cdTjFimLnIGxtWSTB2-y5_HnBRRIRECgA43AhrDctzKRH546l4MaMTjVU30ZQUb5Jk54LqnNfWrh1gB0jsLHkHSgZBFmAXPrV3SIvbWFicYVt_Ebi8mCF-_Gi9xARjm2WPsG0bGNjIIC4gKMbRxQt_nSp83Y3Ik-tj4yEHQqrbfZSKxciUlXvG9xnPomANL8b4bFKfyM3zWmptSyMDvRAsv1F_SGfc8x8zU56LlZL2aPPLp5h3_wxXguFcFo2wxOQ/http%3A%2F%2Fsurfer.nmr.mgh.harvard.edu%2Ffswiki%2FBugReporting>

___
Freesurfer mailing

[Freesurfer] Recon-all failing with pre-skullstripped input data (mri_em_register can't find brainmask.mgz)

2023-12-28 Thread James Hengenius
External Email - Use Caution

Hello FS experts,

I downloaded some anatomical data. I have defaced full images and
pre-skullstripped images for each participant. I tried the defaced images
first, but FS skullstripping looks a little off (possibly because the
defacing hides bits of the cranium in some images and causes problems in
mri_watershed). So I would like to use the pre-skullstripped files as my
initial inputs.

I have placed the pre-skullstripped file for each participant in
$SUBJECTS_DIR/$subjid/mri/orig/. Each participant's skullstripped input
volume is named 001.mgz.

I then submit the following command in a script to my slurm queue (after
setting appropriate FS env vars), where the script input ${1} is the
$subjid mentioned above:

recon-all \
-subject ${1} \
-all \
-openmp 40 \
-noskullstrip

The output log from FS ends with the following error. The
function mri_em_register seems to be looking for brainmask.mgz, and fails
to open it. If the input image is already extracted from the skull, do I
need to manually call it brainmask.mgz rather than 001.mgz? Or am I missing
something else in my function call (like order of flags)? Does
-noskullstrip need to come before -openmp, for example?

Thanks!
Jim H.

End of recon-all output:

writing output to T1.mgz
> 3D bias adjustment took 1 minutes and 20 seconds.
> @#@FSTIME  2023:12:28:16:07:04 mri_normalize N 7 e 80.39 S 0.66 U 102.70 P
> 128% M 581068 F 0 R 24411 W 0 c 32 w 229 I 0 O 0 L 1.00 1.38 9.22
> @#@FSLOADPOST 2023:12:28:16:08:25 mri_normalize N 7 1.99 1.66 8.64
> #-
> #@# EM Registration Thu Dec 28 16:08:25 EST 2023
> /gpfs/fs0/scratch/t/tpaus/jhengeni/subjects_dir_ukb/1000108_20252_2_0/mri


>  mri_em_register -uns 3 -mask brainmask.mgz nu.mgz
> /home/t/tpaus/jhengeni/fs_versions/7.4.1/freesurfer/average/RB_all_2020-01-02.gca
> transforms/talairach.lta


> setting unknown_nbr_spacing = 3
> using MR volume brainmask.mgz to mask input volume...


> == Number of threads available to mri_em_register for OpenMP = 40 ==
> reading 1 input volumes...
> logging results to talairach.log
> reading
> '/home/t/tpaus/jhengeni/fs_versions/7.4.1/freesurfer/average/RB_all_2020-01-02.gca'...
> GCAread took 0 minutes and 1 seconds.
> average std = 7.2   using min determinant for regularization = 5.2
> 0 singular and 884 ill-conditioned covariance matrices regularized
> reading 'nu.mgz'...
> error:
>
> *mghRead(/gpfs/fs0/scratch/t/tpaus/jhengeni/subjects_dir_ukb/1000108_20252_2_0/mri/brainmask.mgz,
> -1): could not open file^@error: mri_em_register: could not open mask
> volume brainmask.mgz.^@*
> @#@FSTIME  2023:12:28:16:08:25 mri_em_register N 7 e 1.42 S 0.25 U 1.43 P
> 118% M 446804 F 0 R 108260 W 0 c 2 w 56 I 0 O 0 L 1.99 1.66 8.64
> @#@FSLOADPOST 2023:12:28:16:08:26 mri_em_register N 7 1.99 1.66 8.64
> Linux nia0918.scinet.local 3.10.0-1160.102.1.el7.x86_64 #1 SMP Tue Oct 17
> 15:42:21 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux


> recon-all -s 1000108_20252_2_0 exited with ERRORS at Thu Dec 28 16:08:26
> EST 2023


> For more details, see the log file
> /gpfs/fs0/scratch/t/tpaus/jhengeni/subjects_dir_ukb/1000108_20252_2_0/scripts/recon-all.log
> To report a problem, see
> http://secure-web.cisco.com/1ywN1tDbl7MCg8OnWFYEA2Vcf-TaEWXJQlDYsrE7jJo4KqFgIlOWrzhzxDJm5uF11tgXR5fJi2W6vOuAdAAji5cdTjFimLnIGxtWSTB2-y5_HnBRRIRECgA43AhrDctzKRH546l4MaMTjVU30ZQUb5Jk54LqnNfWrh1gB0jsLHkHSgZBFmAXPrV3SIvbWFicYVt_Ebi8mCF-_Gi9xARjm2WPsG0bGNjIIC4gKMbRxQt_nSp83Y3Ik-tj4yEHQqrbfZSKxciUlXvG9xnPomANL8b4bFKfyM3zWmptSyMDvRAsv1F_SGfc8x8zU56LlZL2aPPLp5h3_wxXguFcFo2wxOQ/http%3A%2F%2Fsurfer.nmr.mgh.harvard.edu%2Ffswiki%2FBugReporting
___
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

[Freesurfer] recon all with optiBET brain mask

2023-12-19 Thread BALBONI Irene
External Email - Use Caution

Hello,

I would like to run recon all on a batch of subjects using 2 inputs (mprage and 
mp2rage). I would also like to run recon all using as brain mask not the 
standard brain mask generated by recon-all itself but a previously created 
optiBET. Would you have any suggestion on how to proceed? I tried simply 
replacing the brainmask file with the optiBET but it did not work.
Just for context all my participants (150) have been already segmented using 
recon-all but we noticed during quality control that we still have skull 
stripping and pial surface errors for the majority of them and that is why we 
would like to implement the optiBET mask.

Thanks for your help,
Irene Balboni
PhD student
She/Her

Institute de 
plurilinguisme
 | Université de Fribourg
&
Brain and Language 
Lab
 | Université de Genève
c/o Campus Biotech
Chemin des Mines 9 – 1202
Université de Genève, CH
+41(0)223790141

Twitter
 | 
ResearchGate
 | 
Linkedin

___
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

Re: [Freesurfer] recon-all error - MRISlabel2Mask()

2023-11-22 Thread Douglas N. Greve
yes, sending the full log file will be helpful. My guess is that the 
surfaces got out of synch (eg, if you had done edits).


On 11/21/2023 8:15 PM, Mark Wagshul wrote:


External Email - Use Caution

Dear Freesurfer experts,

Hi. Hoping someone can give me some guidance in how to proceed with 
this error in recon-all (at the moment, was running autorecon-wm, but 
not sure that’s relevant). Just pasting the last few commands which 
were successfully run, can send the whole recon-all.log file if 
needed. Nothing obvious in terms of the T1 or T2 images. Thanks!


#===

mri_surf2surf --s sub-XXX --hemi rh --sval-xyz woT2.pial.rawavg 
--surfreg woT2.pial.rawavg --reg transforms/conf2rawavg.dat orig.mgz 
--tval-xyz orig.mgz --tval woT2.pial.rawavg.conf


Reading header for orig.mgz

Source registration surface changed to woT2.pial.rawavg

Target registration surface changed to woT2.pial.rawavg

7.3.2

setenv SUBJECTS_DIR 
/gs/gsfs0/shared-dept/mrrc-all/PROJECTS/P80-ADT/BIDS/hcp_output/sub-XXX/T1w


cd 
/gs/gsfs0/shared-dept/mrrc-all/PROJECTS/P80-ADT/BIDS/hcp_output/sub-XXX/T1w/sub-XXX/mri


mri_surf2surf --s sub-XXX --hemi rh --sval-xyz woT2.pial.rawavg 
--surfreg woT2.pial.rawavg --reg transforms/conf2rawavg.dat orig.mgz 
--tval-xyz orig.mgz --tval woT2.pial.rawavg.conf


sysname  Linux

hostname cpu-771.cluster.local

machine  x86_64

user mwagshul

srcsubject = sub-XXX

srcval = (null)

srctype    =

trgsubject = sub-XXX

trgval = woT2.pial.rawavg.conf

trgtype    =

srcsurfreg = woT2.pial.rawavg

trgsurfreg = woT2.pial.rawavg

srchemi    = rh

trghemi    = rh

frame  = 0

fwhm-in    = 0

fwhm-out   = 0

label-src  = (null)

label-trg  = (null)

OKToRevFaceOrder = 1

UseDualHemi = 0

Reading source surface reg 
/gs/gsfs0/shared-dept/mrrc-all/PROJECTS/P80-ADT/BIDS/hcp_output/sub-XXX/T1w/sub-XXX/surf/rh.woT2.pial.rawavg


Loading source data

Reading surface file 
/gs/gsfs0/shared-dept/mrrc-all/PROJECTS/P80-ADT/BIDS/hcp_output/sub-XXX/T1w/sub-XXX/surf/rh.woT2.pial.rawavg


Applying linear registration transform

1.0 0.0   0.0  -0.4;

0.0 1.0   0.0   0.0;

0.0 0.0   1.0   0.3;

0.0 0.0   0.0   1.0;

INFO: trgsubject = srcsubject

Saving target data

/gs/gsfs0/shared-dept/mrrc-all/PROJECTS/P80-ADT/BIDS/hcp_output/sub-XXX/T1w/sub-XXX/surf 
/gs/gsfs0/shared-dept/mrrc-all/PROJECTS/P80-ADT/BIDS/hcp_output/sub-XXX/T1w/sub-XXX/mri 



/gs/gsfs0/shared-dept/mrrc-all/PROJECTS/P80-ADT/BIDS/hcp_output/sub-XXX/T1w/sub-XXX/mri 



Tue Nov 21 17:49:18 EST 2023

#===

bbregister --s sub-XXX --mov orig/T2raw.mgz --lta 
transforms/T2raw.auto.lta --init-coreg --t2 --surf white.preaparc 
--proj-abs 1.5 --threads 1


tmp transforms/tmp.bbregister.3166191

Log file is transforms/T2raw.auto.log

Tue Nov 21 17:49:18 EST 2023

setenv SUBJECTS_DIR 
/gs/gsfs0/shared-dept/mrrc-all/PROJECTS/P80-ADT/BIDS/hcp_output/sub-XXX/T1w


cd 
/gs/gsfs0/shared-dept/mrrc-all/PROJECTS/P80-ADT/BIDS/hcp_output/sub-XXX/T1w/sub-XXX/mri


/public/apps/freesurfer/7.3.2/bin/bbregister --s sub-XXX --mov 
orig/T2raw.mgz --lta transforms/T2raw.auto.lta --init-coreg --t2 
--surf white.preaparc --proj-abs 1.5 --threads 1


bbregister 7.3.2

Linux cpu-771.cluster.local 4.18.0-477.13.1.el8_8.x86_64 #1 SMP Thu 
May 18 10:27:05 EDT 2023 x86_64 x86_64 x86_64 GNU/Linux


FREESURFER_HOME /public/apps/freesurfer/7.3.2

mri_convert orig/T2raw.mgz transforms/tmp.bbregister.3166191/template.nii

mri_convert orig/T2raw.mgz transforms/tmp.bbregister.3166191/template.nii

reading from orig/T2raw.mgz...

TR=2500.00, TE=0.00, TI=0.00, flip angle=0.00

i_ras = (-1, 0, 0)

j_ras = (0, 1, 0)

k_ras = (0, 0, 1)

writing to transforms/tmp.bbregister.3166191/template.nii...

mri_coreg --s sub-XXX --mov 
transforms/tmp.bbregister.3166191/template.nii --regdat 
transforms/tmp.bbregister.3166191/reg.init.dat --reg 
transforms/tmp.bbregister.3166191/mri_coreg.lta --nthreads 1 --dof 6 
--sep 4 --ftol .0001 --linmintol .01


$Id: mri_coreg.c,v 1.27 2016/04/30 15:11:49 greve Exp $

cwd 
/gs/gsfs0/shared-dept/mrrc-all/PROJECTS/P80-ADT/BIDS/hcp_output/sub-XXX/T1w/sub-XXX/mri


cmdline mri_coreg --s sub-XXX --mov 
transforms/tmp.bbregister.3166191/template.nii --regdat 
transforms/tmp.bbregister.3166191/reg.init.dat --reg 
transforms/tmp.bbregister.3166191/mri_coreg.lta --nthreads 1 --dof 6 
--sep 4 --ftol .0001 --linmintol .01


sysname  Linux

hostname cpu-771.cluster.local

machine  x86_64

user mwagshul

dof    6

nsep    1

cras0    1

ftol    0.000100

linmintol 0.01

bf   1

bflim 30.00

bfnsamp    30

SmoothRef 0

SatPct 99.99

MovOOB 0

optschema 1

Seed 53

Reading in mov transforms/tmp.bbregister.3166191/template.nii

Reading in ref brainmask.mgz

Reading in and applying refmask aparc+aseg.mgz

Setting cras translation parameters to align volume centers

Creating random numbers for coordinate dithering

Performing intensity 

[Freesurfer] recon-all error - MRISlabel2Mask()

2023-11-21 Thread Mark Wagshul
External Email - Use Caution

Dear Freesurfer experts,

Hi. Hoping someone can give me some guidance in how to proceed with this error 
in recon-all (at the moment, was running autorecon-wm, but not sure that's 
relevant). Just pasting the last few commands which were successfully run, can 
send the whole recon-all.log file if needed. Nothing obvious in terms of the T1 
or T2 images. Thanks!

#===
mri_surf2surf --s sub-XXX --hemi rh --sval-xyz woT2.pial.rawavg --surfreg 
woT2.pial.rawavg --reg transforms/conf2rawavg.dat orig.mgz --tval-xyz orig.mgz 
--tval woT2.pial.rawavg.conf
Reading header for orig.mgz
Source registration surface changed to woT2.pial.rawavg
Target registration surface changed to woT2.pial.rawavg

7.3.2

setenv SUBJECTS_DIR 
/gs/gsfs0/shared-dept/mrrc-all/PROJECTS/P80-ADT/BIDS/hcp_output/sub-XXX/T1w
cd 
/gs/gsfs0/shared-dept/mrrc-all/PROJECTS/P80-ADT/BIDS/hcp_output/sub-XXX/T1w/sub-XXX/mri
mri_surf2surf --s sub-XXX --hemi rh --sval-xyz woT2.pial.rawavg --surfreg 
woT2.pial.rawavg --reg transforms/conf2rawavg.dat orig.mgz --tval-xyz orig.mgz 
--tval woT2.pial.rawavg.conf

sysname  Linux
hostname cpu-771.cluster.local
machine  x86_64
user mwagshul
srcsubject = sub-XXX
srcval = (null)
srctype=
trgsubject = sub-XXX
trgval = woT2.pial.rawavg.conf
trgtype=
srcsurfreg = woT2.pial.rawavg
trgsurfreg = woT2.pial.rawavg
srchemi= rh
trghemi= rh
frame  = 0
fwhm-in= 0
fwhm-out   = 0
label-src  = (null)
label-trg  = (null)
OKToRevFaceOrder  = 1
UseDualHemi = 0
Reading source surface reg 
/gs/gsfs0/shared-dept/mrrc-all/PROJECTS/P80-ADT/BIDS/hcp_output/sub-XXX/T1w/sub-XXX/surf/rh.woT2.pial.rawavg
Loading source data
Reading surface file 
/gs/gsfs0/shared-dept/mrrc-all/PROJECTS/P80-ADT/BIDS/hcp_output/sub-XXX/T1w/sub-XXX/surf/rh.woT2.pial.rawavg
Applying linear registration transform
1.0   0.0   0.0  -0.4;
0.0   1.0   0.0   0.0;
0.0   0.0   1.0   0.3;
0.0   0.0   0.0   1.0;
INFO: trgsubject = srcsubject
Saving target data
/gs/gsfs0/shared-dept/mrrc-all/PROJECTS/P80-ADT/BIDS/hcp_output/sub-XXX/T1w/sub-XXX/surf
 
/gs/gsfs0/shared-dept/mrrc-all/PROJECTS/P80-ADT/BIDS/hcp_output/sub-XXX/T1w/sub-XXX/mri
/gs/gsfs0/shared-dept/mrrc-all/PROJECTS/P80-ADT/BIDS/hcp_output/sub-XXX/T1w/sub-XXX/mri
Tue Nov 21 17:49:18 EST 2023

#===
bbregister --s sub-XXX --mov orig/T2raw.mgz --lta transforms/T2raw.auto.lta 
--init-coreg --t2 --surf white.preaparc --proj-abs 1.5 --threads 1
tmp transforms/tmp.bbregister.3166191
Log file is transforms/T2raw.auto.log
Tue Nov 21 17:49:18 EST 2023

setenv SUBJECTS_DIR 
/gs/gsfs0/shared-dept/mrrc-all/PROJECTS/P80-ADT/BIDS/hcp_output/sub-XXX/T1w
cd 
/gs/gsfs0/shared-dept/mrrc-all/PROJECTS/P80-ADT/BIDS/hcp_output/sub-XXX/T1w/sub-XXX/mri
/public/apps/freesurfer/7.3.2/bin/bbregister --s sub-XXX --mov orig/T2raw.mgz 
--lta transforms/T2raw.auto.lta --init-coreg --t2 --surf white.preaparc 
--proj-abs 1.5 --threads 1

bbregister 7.3.2
Linux cpu-771.cluster.local 4.18.0-477.13.1.el8_8.x86_64 #1 SMP Thu May 18 
10:27:05 EDT 2023 x86_64 x86_64 x86_64 GNU/Linux
FREESURFER_HOME /public/apps/freesurfer/7.3.2
mri_convert orig/T2raw.mgz transforms/tmp.bbregister.3166191/template.nii
mri_convert orig/T2raw.mgz transforms/tmp.bbregister.3166191/template.nii
reading from orig/T2raw.mgz...
TR=2500.00, TE=0.00, TI=0.00, flip angle=0.00
i_ras = (-1, 0, 0)
j_ras = (0, 1, 0)
k_ras = (0, 0, 1)
writing to transforms/tmp.bbregister.3166191/template.nii...
mri_coreg --s sub-XXX --mov transforms/tmp.bbregister.3166191/template.nii 
--regdat transforms/tmp.bbregister.3166191/reg.init.dat --reg 
transforms/tmp.bbregister.3166191/mri_coreg.lta --nthreads 1 --dof 6 --sep 4 
--ftol .0001 --linmintol .01

$Id: mri_coreg.c,v 1.27 2016/04/30 15:11:49 greve Exp $
cwd 
/gs/gsfs0/shared-dept/mrrc-all/PROJECTS/P80-ADT/BIDS/hcp_output/sub-XXX/T1w/sub-XXX/mri
cmdline mri_coreg --s sub-XXX --mov 
transforms/tmp.bbregister.3166191/template.nii --regdat 
transforms/tmp.bbregister.3166191/reg.init.dat --reg 
transforms/tmp.bbregister.3166191/mri_coreg.lta --nthreads 1 --dof 6 --sep 4 
--ftol .0001 --linmintol .01
sysname  Linux
hostname cpu-771.cluster.local
machine  x86_64
user mwagshul
dof6
nsep1
cras01
ftol0.000100
linmintol0.01
bf   1
bflim30.00
bfnsamp30
SmoothRef 0
SatPct99.99
MovOOB 0
optschema 1
Seed 53
Reading in mov transforms/tmp.bbregister.3166191/template.nii
Reading in ref brainmask.mgz
Reading in and applying refmask aparc+aseg.mgz
Setting cras translation parameters to align volume centers
Creating random numbers for coordinate dithering
Performing intensity dithering
Performing intensity dithering on mov with computed dither
Init matrix params -0.1000  0.1000 -0.9000  0.  0.  0.  1.  
1.  1.  0.  0.  0.
Initial parameters to be opt -0.1000  0.1000 -0.9000  0.  

Re: [Freesurfer] recon-all error

2023-11-21 Thread Huang, Yujing
NaNs are in your original input image. They are replaced with 0 in the output 
mri/orig/001.mgz.

Doug mentioned “Sometimes SPM will put NaNs in the image to indicate a mask.”. 
Is that your case?

Yujing

From: freesurfer-boun...@nmr.mgh.harvard.edu 
 On Behalf Of Carlos Alcocer
Sent: Tuesday, November 21, 2023 10:59 AM
To: Freesurfer support list 
Subject: [Freesurfer] recon-all error


External Email - Use Caution
Reposting due to issue with email bouncing. I am receiving following error on 
my subjects. Recon-all still continues after error and finishes "without error" 
I have attached the recon-all log as well.

 mri_convert /path/to/inputt1.nii  /path/to/mri/orig/001.mgz

mri_convert /path/to/anat_t1.nii /path/to/mri/orig/001.mgz
reading from /path/to/anat_t1.nii...
NaN found at voxel (0, 0, 244, 0)
error: No such file or directory
error: WARNING: 319676 NaNs found in volume /path/to/anat_t1.nii...

Thank you,

Carlos


___
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 Mass General Brigham 
Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline 
<https://www.massgeneralbrigham.org/complianceline> .
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 


Re: [Freesurfer] recon-all error

2023-11-19 Thread Douglas N. Greve
And how  did you create 001.mgz? Sometimes SPM will put NaNs in the 
image to indicate a mask.


On 11/17/2023 10:12 AM, Huang, Yujing wrote:


Hi Carlos,

Can you attach recon-all.log?

Best,

Yujing

*From:* freesurfer-boun...@nmr.mgh.harvard.edu 
 *On Behalf Of *Carlos Alcocer

*Sent:* Thursday, November 16, 2023 4:57 PM
*To:* Freesurfer support list 
*Subject:* [Freesurfer] recon-all error

*External Email - Use Caution *

Hi,

For some of my subjects I get the following error at the beginning of 
recon-all:


 mri_convert /path/to/inputt1.nii  /path/to/mri/orig/001.mgz


mri_convert /path/to/anat_t1.nii /path/to/mri/orig/001.mgz
reading from /path/to/anat_t1.nii...
NaN found at voxel (0, 0, 244, 0)
error: No such file or directory
error: WARNING: 319676 NaNs found in volume /path/to/anat_t1.nii...

However, recon-all will keep running and then later finish without 
error. What exactly is going on? This is only happens on some subjects.


Thank you,

Carlos


___
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 Mass General Brigham 
Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline 
<https://www.massgeneralbrigham.org/complianceline> .
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 


Re: [Freesurfer] recon-all error

2023-11-17 Thread Huang, Yujing
Hi Carlos,

Can you attach recon-all.log?

Best,

Yujing

From: freesurfer-boun...@nmr.mgh.harvard.edu 
 On Behalf Of Carlos Alcocer
Sent: Thursday, November 16, 2023 4:57 PM
To: Freesurfer support list 
Subject: [Freesurfer] recon-all error


External Email - Use Caution
Hi,

For some of my subjects I get the following error at the beginning of recon-all:

 mri_convert /path/to/inputt1.nii  /path/to/mri/orig/001.mgz

mri_convert /path/to/anat_t1.nii /path/to/mri/orig/001.mgz
reading from /path/to/anat_t1.nii...
NaN found at voxel (0, 0, 244, 0)
error: No such file or directory
error: WARNING: 319676 NaNs found in volume /path/to/anat_t1.nii...

However, recon-all will keep running and then later finish without error. What 
exactly is going on? This is only happens on some subjects.

Thank you,

Carlos
___
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 Mass General Brigham 
Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline 
<https://www.massgeneralbrigham.org/complianceline> .
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 


[Freesurfer] recon-all error

2023-11-16 Thread Carlos Alcocer
External Email - Use Caution

Hi,

For some of my subjects I get the following error at the beginning of
recon-all:

 mri_convert /path/to/inputt1.nii  /path/to/mri/orig/001.mgz

mri_convert /path/to/anat_t1.nii /path/to/mri/orig/001.mgz
reading from /path/to/anat_t1.nii...
NaN found at voxel (0, 0, 244, 0)
error: No such file or directory
error: WARNING: 319676 NaNs found in volume /path/to/anat_t1.nii...

However, recon-all will keep running and then later finish without error.
What exactly is going on? This is only happens on some subjects.

Thank you,

Carlos
___
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 


Re: [Freesurfer] Recon all clinical with multiple input scans

2023-11-13 Thread Iglesias Gonzalez, Juan E.
Dear Pauline,
Thanks for the interest in our new pipeline!
You can only run one scan at the time (but that scan may be of any resolution / 
contrast).
Cheers,
/E

--
Juan Eugenio Iglesias
http://www.jeiglesias.com

From: freesurfer-boun...@nmr.mgh.harvard.edu 
 on behalf of Lieshout, P.B. van 
(Pauline) 
Date: Monday, November 13, 2023 at 03:51
To: freesurfer@nmr.mgh.harvard.edu 
Subject: [Freesurfer] Recon all clinical with multiple input scans

External Email - Use Caution
Dear sir/madam,

I have been trying out the new recon-all-clinical algorithm. In the 
FreeSurferWiki on recon-all-clinical, it is not specified if I can add multiple 
scans (T1, FLAIR and T2, for instance) of the same individual in the 
recon-all-clinical command, similar to the old recon-all command. Is this 
possible in your new algorithm?

Thanks in advance,

Best,

Pauline van Lieshout



De informatie opgenomen in dit bericht kan vertrouwelijk zijn en is uitsluitend 
bestemd voor de geadresseerde. Indien u dit bericht onterecht ontvangt, wordt u 
verzocht de inhoud niet te gebruiken en de afzender direct te informeren door 
het bericht te retourneren. Het Universitair Medisch Centrum Utrecht is een 
publiekrechtelijke rechtspersoon in de zin van de W.H.W. (Wet Hoger Onderwijs 
en Wetenschappelijk Onderzoek) en staat geregistreerd bij de Kamer van 
Koophandel voor Midden-Nederland onder nr. 30244197.

Denk s.v.p aan het milieu voor u deze e-mail afdrukt.



This message may contain confidential information and is intended exclusively 
for the addressee. If you receive this message unintentionally, please do not 
use the contents but notify the sender immediately by return e-mail. University 
Medical Center Utrecht is a legal person by public law and is registered at the 
Chamber of Commerce for Midden-Nederland under no. 30244197.

Please consider the environment before printing this e-mail.
___
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 Mass General Brigham 
Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline 
<https://www.massgeneralbrigham.org/complianceline> .
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 


[Freesurfer] Recon all clinical with multiple input scans

2023-11-13 Thread Lieshout, P.B. van (Pauline)
External Email - Use Caution

Dear sir/madam,

I have been trying out the new recon-all-clinical algorithm. In the 
FreeSurferWiki on recon-all-clinical, it is not specified if I can add multiple 
scans (T1, FLAIR and T2, for instance) of the same individual in the 
recon-all-clinical command, similar to the old recon-all command. Is this 
possible in your new algorithm?

Thanks in advance,

Best,

Pauline van Lieshout


--

De informatie opgenomen in dit bericht kan vertrouwelijk zijn en is
uitsluitend bestemd voor de geadresseerde. Indien u dit bericht onterecht
ontvangt, wordt u verzocht de inhoud niet te gebruiken en de afzender direct
te informeren door het bericht te retourneren. Het Universitair Medisch
Centrum Utrecht is een publiekrechtelijke rechtspersoon in de zin van de W.H.W.
(Wet Hoger Onderwijs en Wetenschappelijk Onderzoek) en staat geregistreerd bij
de Kamer van Koophandel voor Midden-Nederland onder nr. 30244197.

Denk s.v.p aan het milieu voor u deze e-mail afdrukt.

--

This message may contain confidential information and is intended exclusively
for the addressee. If you receive this message unintentionally, please do not
use the contents but notify the sender immediately by return e-mail. University
Medical Center Utrecht is a legal person by public law and is registered at
the Chamber of Commerce for Midden-Nederland under no. 30244197.

Please consider the environment before printing this e-mail.
___
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 


Re: [Freesurfer] Recon-all-clinical error: Illegal instruction Error in SynthSeg

2023-09-28 Thread fsbuild
External Email - Use Caution



Thanks for reporting this. This posting indicates there is a difference 
in defining that for arm64 compared to intel 
architectures,https://secure-web.cisco.com/1FTmSa1QjGMsQB8Xf5Zs5AKj4Xk9F312HcVmOIIHIT5kDUDgCxaV4sUSYmWuRa96GF1JL06qjFzBNdpYJJmJtR_3GjMMsisKAkzdiR-9ZBMQ0UGgMFV1FMSpcTLB_xGSq00DSHrWzdrEfSjrszCjHWsweQfauiFuLs2xdeD1eT0PtzAhCwyK4YRNAxKIymf3B2xgRChAGuCAADy3dvKEuQlT1yW9e-XxoMNoOtWuuVrBeO2Q9y2k2MYY7UKxEf-GwVuJjm1SXJMEk-xcM_MzGdfRErVA1oHtLUe91iMGr3w5n81jieFowP5WqliBQChGiNpC5ROUEPBKC68P_B7aNafTnqMUUxJHq1nNq-QPVwXU/https%3A%2F%2Fwww.reddit.com%2Fr%2FUbuntu%2Fcomments%2Fpfabeq%2Fsolved_problem_float128_in_arm64%2F%3Frdt%3D45747
We will look into it along with producing an updated arm64 build. You 
could try making the change described in the posting in the SynthSeg code if 
you like.
You will not encounter that error in any existing/previous release, 7.4.1 ... 
7.3.2 as you are using a new arm64 development build which is post the 7.4.1 
release.


- R.



On 9/28/23 07:20, Conrad, Julian (julian.con...@medma.uni-heidelberg.de) wrote:








  
Hello again FreeSurfer Developers,

I'm attempting todo a surface reconstruction from a GRE magnitude image 
using recon-all-clinical.sh
As was stated before, there seem to be issues with the current Mac processors.

so I downloaded the dev version 
(https://secure-web.cisco.com/1k8eRfZmZxutbzTfMi5opOvIJvAU3A9yjOgbNxek0vGGGW2QZ0blD-OpKmgogA7x9_rAfwfIcEGnZ7E8kgb9XNIzx2xLxQewJp32hJt31QUUAewAp1K7-Yjwk7lXCYxbaGdw8dtRE5zMFil4OqFhzHgZY7gNWOXHrgQ1zq6WrtnIl3Pllv0QaHc4JShUbdyQSVyQNgVymwLgj-PtjkDzhnise1J5RVUUczUi0PIoIHjn-dH5Ex7dw4_Tj8IUVRY1qDYHEdyBacN3YGVr6RlpLul0aH5727rGjfiCIau2iHg42KAJrBDTHZI1-iNSQ3tkbKJHbmkjy3X3wvfogE4XxSKFEkJaGyNNvit377-Ejbu0/https%3A%2F%2Fsurfer.nmr.mgh.harvard.edu%2Fpub%2Fdist%2Ffreesurfer%2Fdev%2Ffreesurfer-macOS-darwin_arm64-dev.pkg)
 as was suggested by your team. Now it started to run. But I got this error: 


File 
"/Applications/freesurfer/dev/python/miniconda3_apple_dist/py3_8_13/lib/python3.8/site-packages/numpy/__init__.py",
 line 320, in __getattr__
  raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'float128'
Error in SynthSeg

(see also attached recon log)

My numpy version is 1.26, python 3.9.6

I tried to change the float specifications using this but this did not do the 
job

https://secure-web.cisco.com/1Nw2CoSnBRIpwTK-GWDBJpxLeD53b5CAywKvOfsawRYQsCt_nqIiIgvTq2J_n4k1ncOfN0_1YRFNw_yiQfCaYvq7eGL7mh7nrzrvKKlQPHdiBDIJjRSrLSwF2ord-O-WSRM-NviF0EKgGiF2UKK3JW3seF0e8OvmTk9PjKYSyYaHsb-tyVc_4U3HLYcI1gW3Vy3wlhNB1UswTFvC6ZytgyLo5yrnncdt-l8NY3IQCvMy0I1eEd39yhIVSSZG1AyUvSGpe1Vl4NWMJKf_finRkqZwY3bVrUdW2uJLPCUjW9uUH-9_ubVjK7HLys9i6T_IQR7zybKx3_HHH_gNPk-lMtA/https%3A%2F%2Flevelup.gitconnected.com%2Ffix-attributeerror-module-numpy-has-no-attribute-float-d7d68c5a4971

Do you have an idea how to fix this?

Will this also occur if I opted for freesurfer 7.3.2? I am a little hesitant do 
install the older version just yet..

Best regards,

Julian





Mit freundlichen Grüßen





Dr. med. Julian Conrad







Oberarzt| senior physician
Sektion Neurodegeneration| Division of Neurodegeneration
Neurologische Klinik| Department of Neurology
Universitätsmedizin Mannheim| University Medicine Mannheim
Medizinische Fakultät Mannheim| Medical Faculty Mannheim
Universität Heidelberg| Heidelberg University
Theodor-Kutzer-Ufer 1 - 3
D-68167 Mannheim
Tel.+49 621 383-9025
E-Mail:julian.con...@umm.de
https://secure-web.cisco.com/1Ys12d1Q7EjaOXQJ3u43f5YMcfnSzuXxz579PUioZIBnkdjMmJeiYqS72gOEML4tmdshTJVb0Gai-r0nSIwt3zUOq1rPOJ6S1vQ8jnIme23u1sHITNH3Z7pJ5bdgTqzfUu9XxZIwLJjaWguptlNBj2AFXeJ1mTOxf7FvCBoU--iGnNTVgrRGx9NtMLmWjaxXd9Vq0g8OSQ9xWjpl2AU6eHRwZcDCZTYIoAGNNJaHMl0I8K_1Pf6Y60cY6ZisRzXXbAWfYZLhjuApKw3uWiibl5Tjq6L-5Vr5S5WYIq_cZF-5VuamILUkdDSFKB-H3R79vIFA606HhbzTCE-C-jJbFSgXbA5HfsQjr3uzHI8-1mNE/https%3A%2F%2Fwww.umm.de%2Fneurologische-klinik%2Fsektion-neurodegeneration%2F





Universitätsklinikum Mannheim GmbH
Geschäftsführer: Freddy Bergmann, Prof. Dr. med. Hans-Jürgen 
Hennes|Aufsichtsratsvorsitzender:
 Dr. Peter Kurz
Handelsregister-Nr. 7331 Mannheim | Sitz und Gerichtsstand: Mannheim

Medizinische Fakultät Mannheim der Universität Heidelberg
Dekan: Prof. Dr. med. Sergij Goerdt
--
Diese 
E-Mail enthält möglicherweise vertrauliche und/oder rechtlich geschützte
 Informationen. Wenn Sie nicht der richtige Adressat sind oder diese 
E-Mail irrtümlich erhalten haben, informieren
 Sie bitte sofort den Absender und löschen Sie diese Mail. Das 
unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht
 gestattet.
Universitätsmedizin Mannheim

universitär - modern – menschlich





Von: fsbuild fsbu...@contbay.com

Datum: Mittwoch, 27. September 2023 um 00:55

An: "freesurfer@nmr.mgh.harvard.edu" freesurfer@nmr.mgh.harvard.edu

Cc: "Conrad, Julian" julian.con...@medma.uni-heidelberg.de

Betreff: Re: [Freesurfer] Recon

Re: [Freesurfer] Recon-all-clinical error: Illegal instruction Error in SynthSeg

2023-09-26 Thread fsbuild
External Email - Use Caution

Besides patching the python distribution, another option available now is 
the development arm64 build for silicon Macs with an M1, M2 processor. 
But this is not a release build and so has not been tested like a stable 
release. The dev builds are currently ~3 months post the 7.4.1 release 
from back in June of this. year. We’d be happy to hear how it goes if you 
try it. The download links are below.
- 
R.https://secure-web.cisco.com/1aFiKh6YzbcJ_9V-mQth29TZB1SeCRdpmUdrLhAH6aMSmX5br3cwYdWzk2SQFt3E84yhkJiX8UK-RAuZILJgbwlYcKW-x-4lL7J9kQfLfOwFQG5-1tgyI_iripvurrqc6hOck5zgoIIIxfTjCln1LScJweoTJQieoYz1s4N4sXygNQqlfzYbhZ87LIW9VQGRj3pGteAMKpDrA0j70XQIZemwauVs7meaYj1FI3CZslQwLBeuOE_We0NCBttIsDNpUBA9GcXYMgvwYOvTrFJLWmtJC-RFpnOa99GI2QCrpNkkzMnpOxyTP4aWeg48D0LuNDHAP6kU4s-t48OHy1ayF1g/https%3A%2F%2Fsurfer.nmr.mgh.harvard.edu%2Fpub%2Fdist%2Ffreesurfer%2Fdev%2Ffreesurfer-macOS-darwin_arm64-dev.pkg
https://secure-web.cisco.com/1M-Y1AHK0ybK-HgTbS6EGioPOtjnLKD9oxxiz5O9fG-v6vkulEnH6r0CCzH6_gqM7XnDt6h5dVioJARCFIs9drLzcnO1LHyzTb7WUdjqafmNknH1NK83adDrhak3Sn0exMT0arlACB6QxoPP0HHbD3XGSeh1J4lmUFtZL1p-3jhPqgbUtmG6BAvlnt3MD3uJupFP1_-m-dI9r4fGY_ENFKpEor-bOxOjnAEgsUMyTSBmNzqwbq1iJq7SVXWbbGEPMtKUzSaycRQ66l-WnTskj6bJ2pY1NVyvlLLVMcRl5MCn6pFnRIv9hh88VJ_fH706tE7zsAVUDgD3x6G_nVvYcbg/https%3A%2F%2Fsurfer.nmr.mgh.harvard.edu%2Fpub%2Fdist%2Ffreesurfer%2Fdev%2Ffreesurfer-macOS-darwin_arm64-dev.tar.gz


On Sep 26, 2023, at 18:01, Sorby-Adams, Annabel 
asorby-ad...@mgh.harvard.edu 
wrote:External Email - Use 
CautionHi Julian,I have 
managed to run recon-all on my Apple M1 macOS Ventura using the 7.3.2 version 
of Freesurfer. It does not work on 7.4.2 or dev versions, however. These 
instructions were posted in a previous correspondence from fsbuild, but 
reposting here for anyone else having the same issue:You may not be 
able to run these commands without sudo/admin permissions on your machine.1) 
Download thetensorflow-2.4.1-py3-none-any.whl from,MailScanner has 
detected a possible fraud attempt from "secure-web.cisco.com" claiming to 
behttps://drive.google.com/file/d/15Qeve5FIA137KON67ehKIOyXy1N0PbAC/view?usp=share_link2)
 Check the download is OK with the md5 command in the terminal window,$ 
md5tensorflow-2.4.1-py3-none-any.whlMD5 
(tensorflow-2.4.1-py3-none-any.whl) = fab44de8702faf65e17a22d706a525a4DO NOT 
PROCEED UNTIL YOU GET THE ABOVE OUTPUT FROM the md5 command.3) Setup the 
Freesurfer 7.3.2 environment (shown here as installed via .pkg file under 
/Applications) and verify the path to fspython is from the 7.3.2 release,$ 
export FREESURFER_HOME=/Applications/freesurfer/7.3.2$ source 
$FREESURFER_HOME/SetUpFreeSurfer.sh 
freesurfer-darwin-macOS-7.3.2-20220803-878457d ... environment variable 
settings output ...$ which 
fspython/Applications/freesurfer/7.3.2/bin/fspython4) Uninstall the 
existingtensorflowpackage with,$ sudo 
$FREESURFER_HOME/python/bin/python3 -m pip uninstalltensorflow... apart 
from any warnings you should see the output ...Successfully 
uninstalledtensorflow-2.4.15) Install the package downloaded above. 
This command assumes the package is in the current directory where the command 
is run.$ sudo -H $FREESURFER_HOME/python/bin/python3 -m pip install 
./tensorflow-2.4.1-py3-none-any.whl... apart from warnings and output about 
requirements (which should all be satisfied) .. you should 
seetensorflowwas updated Successfully 
installedtensorflow-2.4.1CHECK THE UPDATE:$ which 
fspython/Applications/freesurfer/7.3.2/bin/fspython$ fspython 
import sys, os importtensorflowYou should see the 
prompt return to "" after the import oftensorflowwith 
no errors reported. Hit Ctrl-D to escape the python session. The 
update should now be complete.Once you have done this you should be able 
to run recon-all via 7.3.2. Hope this 
works!AnnabelFrom:freesurfer-boun...@nmr.mgh.harvard.edu 
freesurfer-boun...@nmr.mgh.harvard.edu on behalf of Iglesias Gonzalez, 
Juan E. jiglesiasgonza...@mgh.harvard.eduDate:Tuesday, 26 
September 2023 at 17:35To:Freesurfer support list 
freesurfer@nmr.mgh.harvard.eduSubject:Re: [Freesurfer] 
Recon-all-clinical error: Illegal instruction Error in 
SynthSegExternal Email - Use 
CautionDear Julian,I believe 
this is a problem with SynthSeg not being compatible with the new 
microprocessor in MAC computers. Our software engineers are looking into 
solutions to this.Sorry for the inconvenience,Eugenio--Juan Eugenio 
Iglesiashttp://http://secure-web.cisco.com/1DgebDH1WCLKceFhMcyIutLihRRkTXmu8dVOr_f4V0A6HCTGgJKyfIgRMdsGA0JY6XdTrwJ9fG9ZF0-rGeXJJR5xuIBa9pWzkJy1MlhajNkbUh4zQoyngk61Y8hRRh9IM13qb6kqn_EED7sD_b7NPGyxpBMu96UJ1F9G5j7HJMmMqjXAlpbHLU0UiAYP6rsxQW1ZwkHU2un5V_LBoaWBBc1MFIfXt_bJeLj_mRT0UANYNpBhXYIMiNEvjU8waDvcGl8LvssZu_7hBYMzrZ73aumJwKnWJdCaUAWrBMN6lK6lUpk3mvzSDFQyDqhMlQR7C8OQ4-dV0n3ofYVP6BGgN6Q/http%3A%2F%2Fwww.jeiglesias.com%C2%A0From%3A%C2%A0freesurfer-bounces%40nmr.mgh.harvard.edu
 freesurfer-boun...@nmr.mgh.h

Re: [Freesurfer] Recon-all-clinical error: Illegal instruction Error in SynthSeg

2023-09-26 Thread Sorby-Adams, Annabel
External Email - Use Caution

Hi Julian,

I have managed to run recon-all on my Apple M1 macOS Ventura using the 7.3.2 
version of Freesurfer. It does not work on 7.4.2 or dev versions, however. 
These instructions were posted in a previous correspondence from fsbuild, but 
reposting here for anyone else having the same issue:


You may not be able to run these commands without sudo/admin permissions on 
your machine.

1) Download the tensorflow-2.4.1-py3-none-any.whl from,
https://secure-web.cisco.com/1klszb-du72zzOU81o6pWn28vjYMVSQcTmDSQ_1LxajxX2LGA-Qn7NWWyq4otvAYvgirpJZZwramc6xUHO2C1Sco6xEEPMLV5TsNecbtRMByuTaGB_p6LwlxMOIDDmgxpe_Ayf2p-nIhPny91tqK6kHa2L_AsKho73fNLGCNFsFm7yhjWRhHYS-3CluRtYkZWePoB-tkURZvGmhwzV4ENY_8MDUvUJTfxFZ9t-k5t-49gilwm_IcWpQZIFWuTEOga-GoVOxbvw9w8dXwhPWE-1yEQSY74iCf3nP7OntosrLk/https%3A%2F%2Fdrive.google.com%2Ffile%2Fd%2F15Qeve5FIA137KON67ehKIOyXy1N0PbAC%2Fview%3Fusp%3Dshare_link


2) Check the download is OK with the md5 command in the terminal window,

$ md5 tensorflow-2.4.1-py3-none-any.whl
MD5 (tensorflow-2.4.1-py3-none-any.whl) = fab44de8702faf65e17a22d706a525a4

DO NOT PROCEED UNTIL YOU GET THE ABOVE OUTPUT FROM the md5 command.


3) Setup the Freesurfer 7.3.2 environment (shown here as installed via .pkg 
file under /Applications) and verify the path to fspython is from the 7.3.2 
release,

$ export FREESURFER_HOME=/Applications/freesurfer/7.3.2
$ source $FREESURFER_HOME/SetUpFreeSurfer.sh
 freesurfer-darwin-macOS-7.3.2-20220803-878457d 
... environment variable settings output ...
$ which fspython
/Applications/freesurfer/7.3.2/bin/fspython


4) Uninstall the existing tensorflow package with,

$ sudo $FREESURFER_HOME/python/bin/python3 -m pip uninstall tensorflow
... apart from any warnings you should see the output ...
Successfully uninstalled tensorflow-2.4.1


5) Install the package downloaded above.  This command assumes the package is 
in the current directory where the command is run.

$ sudo -H $FREESURFER_HOME/python/bin/python3 -m pip install 
./tensorflow-2.4.1-py3-none-any.whl
... apart from warnings and output about requirements (which should all be 
satisfied) ...
... you should see tensorflow was updated 
Successfully installed tensorflow-2.4.1


CHECK THE UPDATE:

$ which fspython
/Applications/freesurfer/7.3.2/bin/fspython
$ fspython
>>> import sys, os
>>> import tensorflow
>>>

You should see the prompt return to ">>>" after the import of tensorflow with 
no errors reported.  Hit Ctrl-D to escape the python session.  The update 
should now be complete.


Once you have done this you should be able to run recon-all via 7.3.2. Hope 
this works!
Annabel

From: freesurfer-boun...@nmr.mgh.harvard.edu 
 on behalf of Iglesias Gonzalez, Juan 
E. 
Date: Tuesday, 26 September 2023 at 17:35
To: Freesurfer support list 
Subject: Re: [Freesurfer] Recon-all-clinical error: Illegal instruction Error 
in SynthSeg

External Email - Use Caution
Dear Julian,
I believe this is a problem with SynthSeg not being compatible with the new 
microprocessor in MAC computers. Our software engineers are looking into 
solutions to this.
Sorry for the inconvenience,
Eugenio

--
Juan Eugenio Iglesias
http://secure-web.cisco.com/1Gpz43kiNknL9BKam5I7Djq85LOKVEn0-BDgYtOhgMCQJHuiwj-Za5vRUdJKZdPavOCSBV_POBXbo-JtObaxDBYc2zyZNSCWXV2u1rnluFwsXFJjjFfJgCqK1QsW6LWmh0V6vzP2AO_yPaw2XQxac7f1FAhNb-5PQqDBEViNWskat2B4H596Yc40XZZrkaP3Z2u_uuDHeKYhhHQ02vg-8vvGSBtrTqv3aG9CBqgaLSZVFpOMSPbdrc_BdgFbl9YgcKsxP5OyAUcWIpmjtXCnsjw/http%3A%2F%2Fwww.jeiglesias.com

From: freesurfer-boun...@nmr.mgh.harvard.edu 
 on behalf of Conrad, Julian 

Date: Tuesday, September 26, 2023 at 4:38 PM
To: freesurfer@nmr.mgh.harvard.edu 
Subject: [Freesurfer] Recon-all-clinical error: Illegal instruction Error in 
SynthSeg

External Email - Use Caution
Hello FreeSurfer Developers,

I'm attempting to  do a surface reconstruction from a GRE magnitude image using 
recon-all-clinical.sh
When I am running the pipeline, I get the following error:

Illegal instruction
Error in SynthSeg


neuroadmin@medma0236 ~ % recon-all-clinical.sh 
/Users/neuroadmin/Daten/UMM/ALS/Nifti/RC026_sub-010/ses-mri01/anat/RC026_sub-10_ses-mri01_part-mag.nii
 RC026_sub-010_ses-mri01 8 
/Users/neuroadmin/Daten/UMM/ALS/Nifti/RC026_sub-010/ses-mri01/anat/freesurfer

#--------

#@# recon-all-clinical Di 26 Sep 2023 21:53:31 CEST



mri_convert 
/Users/neuroadmin/Daten/UMM/ALS/Nifti/RC026_sub-010/ses-mri01/anat/RC026_sub-10_ses-mri01_part-mag.nii
 
/Users/neuroadmin/Daten/UMM/ALS/Nifti/RC026_sub-010/ses-mri01/anat/freesurfer/RC026_sub-010_ses-mri01/mri/native.mgz

reading from 
/Users/neuroadmin/Daten/UMM/ALS/Nifti/RC026_sub-010/ses-mri01/anat/RC026_sub-10_ses-mri01_part-mag.nii...

TR=49.00, TE=0.00, TI=0.00, flip angle=0.00

i_ras = (0.997386, 0.00125151, 0.0722456)

j_ras = (2.37011e-10, 0.99985, -0.0173204)

k_ras = (-0.0722564, 0.0172751, 

Re: [Freesurfer] Recon-all-clinical error: Illegal instruction Error in SynthSeg

2023-09-26 Thread Iglesias Gonzalez, Juan E.
External Email - Use Caution

Dear Julian,
I believe this is a problem with SynthSeg not being compatible with the new 
microprocessor in MAC computers. Our software engineers are looking into 
solutions to this.
Sorry for the inconvenience,
Eugenio

--
Juan Eugenio Iglesias
http://secure-web.cisco.com/1RClgEwhBRH1QAsTAklfjXVf79ew6o_9qz3qIHu9I7VP3Ld8woAr9Sy2VIGiR_bbgGdbUN_DWwCF9X12OPeq0zvNV3O_jdzRnEewhHd0K5sIsGpmDybEVmOgMemJOQxtlVBdQaYHA-V0QLJ-4xaW6zcO6-CrzgXOqbAte7s_J535kGFb3Zw6PuLK39xIY8ucPZxjzav0SkUSB1ESXyZcZyJI63KpVMC6hjIWSZDy-Ki8YwhX_EsUP2Y_33P6Un8LPT3Lf_oRxCvl2rAYzvsHICA/http%3A%2F%2Fwww.jeiglesias.com

From: freesurfer-boun...@nmr.mgh.harvard.edu 
 on behalf of Conrad, Julian 

Date: Tuesday, September 26, 2023 at 4:38 PM
To: freesurfer@nmr.mgh.harvard.edu 
Subject: [Freesurfer] Recon-all-clinical error: Illegal instruction Error in 
SynthSeg

External Email - Use Caution
Hello FreeSurfer Developers,

I'm attempting to  do a surface reconstruction from a GRE magnitude image using 
recon-all-clinical.sh
When I am running the pipeline, I get the following error:

Illegal instruction
Error in SynthSeg


neuroadmin@medma0236 ~ % recon-all-clinical.sh 
/Users/neuroadmin/Daten/UMM/ALS/Nifti/RC026_sub-010/ses-mri01/anat/RC026_sub-10_ses-mri01_part-mag.nii
 RC026_sub-010_ses-mri01 8 
/Users/neuroadmin/Daten/UMM/ALS/Nifti/RC026_sub-010/ses-mri01/anat/freesurfer

#

#@# recon-all-clinical Di 26 Sep 2023 21:53:31 CEST



mri_convert 
/Users/neuroadmin/Daten/UMM/ALS/Nifti/RC026_sub-010/ses-mri01/anat/RC026_sub-10_ses-mri01_part-mag.nii
 
/Users/neuroadmin/Daten/UMM/ALS/Nifti/RC026_sub-010/ses-mri01/anat/freesurfer/RC026_sub-010_ses-mri01/mri/native.mgz

reading from 
/Users/neuroadmin/Daten/UMM/ALS/Nifti/RC026_sub-010/ses-mri01/anat/RC026_sub-10_ses-mri01_part-mag.nii...

TR=49.00, TE=0.00, TI=0.00, flip angle=0.00

i_ras = (0.997386, 0.00125151, 0.0722456)

j_ras = (2.37011e-10, 0.99985, -0.0173204)

k_ras = (-0.0722564, 0.0172751, 0.997236)

writing to 
/Users/neuroadmin/Daten/UMM/ALS/Nifti/RC026_sub-010/ses-mri01/anat/freesurfer/RC026_sub-010_ses-mri01/mri/native.mgz...



Illegal instruction

Error in SynthSeg

1) FreeSurfer version: freesurfer-macOS-darwin_x86_64-7.4.1
2) Platform: MacOS X Darwin

Hope this information is sufficient and there is an easy solution.
Best regards,
Julian

___
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 Mass General Brigham 
Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline 
<https://www.massgeneralbrigham.org/complianceline> .
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 


[Freesurfer] Recon-all-clinical error: Illegal instruction Error in SynthSeg

2023-09-26 Thread Conrad, Julian
External Email - Use Caution

Hello FreeSurfer Developers,

I'm attempting to  do a surface reconstruction from a GRE magnitude image using 
recon-all-clinical.sh
When I am running the pipeline, I get the following error:

Illegal instruction
Error in SynthSeg


neuroadmin@medma0236 ~ % recon-all-clinical.sh 
/Users/neuroadmin/Daten/UMM/ALS/Nifti/RC026_sub-010/ses-mri01/anat/RC026_sub-10_ses-mri01_part-mag.nii
 RC026_sub-010_ses-mri01 8 
/Users/neuroadmin/Daten/UMM/ALS/Nifti/RC026_sub-010/ses-mri01/anat/freesurfer

#

#@# recon-all-clinical Di 26 Sep 2023 21:53:31 CEST



mri_convert 
/Users/neuroadmin/Daten/UMM/ALS/Nifti/RC026_sub-010/ses-mri01/anat/RC026_sub-10_ses-mri01_part-mag.nii
 
/Users/neuroadmin/Daten/UMM/ALS/Nifti/RC026_sub-010/ses-mri01/anat/freesurfer/RC026_sub-010_ses-mri01/mri/native.mgz

reading from 
/Users/neuroadmin/Daten/UMM/ALS/Nifti/RC026_sub-010/ses-mri01/anat/RC026_sub-10_ses-mri01_part-mag.nii...

TR=49.00, TE=0.00, TI=0.00, flip angle=0.00

i_ras = (0.997386, 0.00125151, 0.0722456)

j_ras = (2.37011e-10, 0.99985, -0.0173204)

k_ras = (-0.0722564, 0.0172751, 0.997236)

writing to 
/Users/neuroadmin/Daten/UMM/ALS/Nifti/RC026_sub-010/ses-mri01/anat/freesurfer/RC026_sub-010_ses-mri01/mri/native.mgz...



Illegal instruction

Error in SynthSeg

1) FreeSurfer version: freesurfer-macOS-darwin_x86_64-7.4.1
2) Platform: MacOS X Darwin

Hope this information is sufficient and there is an easy solution.
Best regards,
Julian

___
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 


Re: [Freesurfer] Recon-all completed without error in 10 seconds

2023-09-13 Thread Alan Francis
External Email - Use Caution

Hello Lauren:

Open the sR0391178-0002-1-000208-01.nii.gz file using freeview and see
if the whole 3D brain is in place. This should give you a clue as to why
this occurred.

best,

Alan

On Wed, Sep 13, 2023 at 1:02 PM Lauren Stephens 
wrote:

> External Email - Use Caution
>
> Hi Freesurfers,
>
> I am attempting to run recon-all on a set of .nii.gz files.  Each file is
> in our subject directory and has run through recon-all.  Recon-all only
> takes 10 seconds to run and says it was completed without errors.  When I
> go to the folder recon-all creates, the folders are empty.
>
> Here is the code we ran:
>
> recon-all -s 967 -i
> /Users/corpuscallosum/Desktop/subjects/sR0391178-0002-1-000208-01.nii.gz
>
> Here is the output message:
>
> Started at Wed Sep 13 10:52:44 PDT 2023
>
> Ended   at Wed Sep 13 10:52:54 PDT 2023
>
> #@#%# recon-all-run-time-hours 0.003
>
> recon-all -s 967 finished without error at Wed Sep 13 10:52:54 PDT 2023
>
> done
>
> We are using an iMac Pro 2017 running Ventura 13.5.2 and FreeSurfer
> version 7.3.2.
>
> I have attached the recon-all.log file and would appreciate any
> suggestions.  We have previously run many successful recon-all's and have
> not encountered any issues.
>
> Thank you,
>
> Lauren Stephens
>
>
> *Lauren Stephens, MS *
>
> Assistant Clinical Research Coordinator
>
> Department of Psychiatry and Behavioral Science
>
> *Stanford University School of Medicine*
>
> E: laure...@stanford.edu
>
> P: (650)-725-1716
>
> ___
> Freesurfer mailing list
> Freesurfer@nmr.mgh.harvard.edu
> https://secure-web.cisco.com/1FAb5I8xYlPAgBt9HJQcYvRJa1vFCwIguqkaqurJoq_3eDr9qIUVDzMBhzeBJOSXcT46BP83fIHRStZ5hk5A-MqjKtQsz-p-qxOFk_quW-9V0AJjPh21OwJM56-e1ZyXCMW77GBznDaM5uxMY5OatiT9p_5D_XvJsakBrfQBZie7kBfBLrl8blwYJEP11fIr8wl2N_xjJ1hSU2NEpxKaU-KPrjLiZMBNkbHLkUHU5Sbkn20B1xjTkjywsRKEWMsEGeNu_QyEdT-kpDfzOUUcvYL1T_6CsBErE1PheBQFEM6hTocEM5ntMidoi8QY97mwY02u24mFoINOu_yxrPtW_1Q/https%3A%2F%2Fmail.nmr.mgh.harvard.edu%2Fmailman%2Flistinfo%2Ffreesurfer
>


-- 
*|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|*



*Alan N. Francis PhDAssistant Professor of NeuroscienceInstitute of
Neuroscience*
*University of Texas, School of Medicine*

*Rio Grande Valley*

*Texas.*
___
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 


Re: [Freesurfer] Recon-all completed without error in 10 seconds

2023-09-13 Thread Huang, Yujing
External Email - Use Caution

Hi Lauren,

You need to tell recon-all what to run. These are the options:

"
  Fully-Automated Directive:
-all   : performs all stages of cortical reconstruction
-autorecon-all : same as -all

   Manual-Intervention Workflow Directives:
-autorecon1: process stages 1-5 (see below)
-autorecon2: process stages 6-23
 after autorecon2, check white surfaces:
   a. if wm edit was required, then run -autorecon2-wm
   b. if control points added, then run -autorecon2-cp
   c. proceed to run -autorecon3
-autorecon2-cp : process stages 12-23 (uses -f w/ mri_normalize, -keep w/ 
mri_seg)
-autorecon2-wm : process stages 15-23
-autorecon2-inflate1 : 6-18
-autorecon2-perhemi : tess, sm1, inf1, q, fix, sm2, inf2, finalsurf, ribbon
-autorecon3: process stages 24-34
   if edits made to correct pial, then run -autorecon-pial
"

Without passing one of options, I don't think it will run.

Best,

Yujing


From: freesurfer-boun...@nmr.mgh.harvard.edu 
 On Behalf Of Lauren Stephens
Sent: Wednesday, September 13, 2023 2:11 PM
To: Freesurfer support list 
Subject: Re: [Freesurfer] Recon-all completed without error in 10 seconds


External Email - Use Caution
Hi Yujing,

Thank you, that did work!

Follow up question: Why would the code I used above, successfully generate the 
recon-all outputs for our other files?

Thanks,

Lauren Stephens




Lauren Stephens, MS

Assistant Clinical Research Coordinator

Department of Psychiatry and Behavioral Science

Stanford University School of Medicine

E: laure...@stanford.edu<mailto:laure...@stanford.edu>

P: (650)-725-1716


From: 
freesurfer-boun...@nmr.mgh.harvard.edu<mailto:freesurfer-boun...@nmr.mgh.harvard.edu>
 
mailto:freesurfer-boun...@nmr.mgh.harvard.edu>>
 on behalf of Huang, Yujing 
mailto:yhuan...@mgh.harvard.edu>>
Sent: Wednesday, September 13, 2023 11:05 AM
To: Freesurfer support list 
mailto:freesurfer@nmr.mgh.harvard.edu>>
Subject: Re: [Freesurfer] Recon-all completed without error in 10 seconds


External Email - Use Caution

Hi Lauren,



You will also need to specify '-all' to recon-all.



Best,



Yujing



From: 
freesurfer-boun...@nmr.mgh.harvard.edu<mailto:freesurfer-boun...@nmr.mgh.harvard.edu>
 
mailto:freesurfer-boun...@nmr.mgh.harvard.edu>>
 On Behalf Of Lauren Stephens
Sent: Wednesday, September 13, 2023 2:02 PM
To: freesurfer@nmr.mgh.harvard.edu<mailto:freesurfer@nmr.mgh.harvard.edu>
Subject: [Freesurfer] Recon-all completed without error in 10 seconds



External Email - Use Caution

Hi Freesurfers,



I am attempting to run recon-all on a set of .nii.gz files.  Each file is in 
our subject directory and has run through recon-all.  Recon-all only takes 10 
seconds to run and says it was completed without errors.  When I go to the 
folder recon-all creates, the folders are empty.



Here is the code we ran:



recon-all -s 967 -i 
/Users/corpuscallosum/Desktop/subjects/sR0391178-0002-1-000208-01.nii.gz



Here is the output message:



Started at Wed Sep 13 10:52:44 PDT 2023

Ended   at Wed Sep 13 10:52:54 PDT 2023

#@#%# recon-all-run-time-hours 0.003

recon-all -s 967 finished without error at Wed Sep 13 10:52:54 PDT 2023

done



We are using an iMac Pro 2017 running Ventura 13.5.2 and FreeSurfer version 
7.3.2.



I have attached the recon-all.log file and would appreciate any suggestions.  
We have previously run many successful recon-all's and have not encountered any 
issues.



Thank you,



Lauren Stephens



Lauren Stephens, MS

Assistant Clinical Research Coordinator

Department of Psychiatry and Behavioral Science

Stanford University School of Medicine

E: laure...@stanford.edu<mailto:laure...@stanford.edu>

P: (650)-725-1716


___
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 Mass General Brigham 
Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline 
<https://www.massgeneralbrigham.org/complianceline> .
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 


Re: [Freesurfer] Recon-all completed without error in 10 seconds

2023-09-13 Thread Boa Sorte Silva, Narlon
External Email - Use Caution

I think you need to pass the flag ‘-all’ in the command line.

recon-all -s 967 -i 
/Users/corpuscallosum/Desktop/subjects/sR0391178-0002-1-000208-01.nii.gz 
-all

Nárlon Cássio

Nárlon Cássio Boa Sorte Silva PhD (He, Him, His)
CIHR and MSHR BC/CLEAR Postdoctoral Research Fellow
Aging, Mobility, and Cognitive Health Lab
Djavad Mowafaghian Centre for Brain Health
Department of Physical Therapy, Faculty of Medicine
University of British Columbia
Vancouver, Canada
Twitter: @BoaNarlon

On Sep 13, 2023, at 2:01 PM, Lauren Stephens  wrote:

[CAUTION: Non-UBC Email]
External Email - Use Caution

Hi Freesurfers,

I am attempting to run recon-all on a set of .nii.gz files.  Each file is in 
our subject directory and has run through recon-all.  Recon-all only takes 10 
seconds to run and says it was completed without errors.  When I go to the 
folder recon-all creates, the folders are empty.

Here is the code we ran:

recon-all -s 967 -i 
/Users/corpuscallosum/Desktop/subjects/sR0391178-0002-1-000208-01.nii.gz

Here is the output message:

Started at Wed Sep 13 10:52:44 PDT 2023
Ended   at Wed Sep 13 10:52:54 PDT 2023
#@#%# recon-all-run-time-hours 0.003
recon-all -s 967 finished without error at Wed Sep 13 10:52:54 PDT 2023
done

We are using an iMac Pro 2017 running Ventura 13.5.2 and FreeSurfer version 
7.3.2.

I have attached the recon-all.log file and would appreciate any suggestions.  
We have previously run many successful recon-all's and have not encountered any 
issues.

Thank you,

Lauren Stephens

Lauren Stephens, MS
Assistant Clinical Research Coordinator
Department of Psychiatry and Behavioral Science
Stanford University School of Medicine
E: laure...@stanford.edu
P: (650)-725-1716

___
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://secure-web.cisco.com/18cN-c8_vQxcaAMABP4EWOqTAtg-0ja1ftsBN7Glspegdgbh6nHidUPMGPz55Cya5aKmSx9nAqSnALH0O7nExS8UN4Rc3lQ4wnoImPHjP5jo5SYngGu8ljvaOgZjirM3H5aJw3QW3jIVxQ5lZ-IEzB32dlRPX-A8BSOPKqFX3S9gkj_mcdPbT3yl8WCaN5ahbkENpyb4cHjrHNa6rqMLj9THvzRM3_BJBz1pHOnb156vCcJW2yqOOoNICNwEbg0BglcAG_KQcv5znue0aPLnikijWfmn_BysJTr18m-hlFeVPPm-Wnc0br-qQmUJKwweM/https%3A%2F%2Fmail.nmr.mgh.harvard.edu%2Fmailman%2Flistinfo%2Ffreesurfer
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail.

___
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 


Re: [Freesurfer] Recon-all completed without error in 10 seconds

2023-09-13 Thread Lauren Stephens
External Email - Use Caution

Hi Yujing,

Thank you, that did work!

Follow up question: Why would the code I used above, successfully generate the 
recon-all outputs for our other files?

Thanks,

Lauren Stephens



Lauren Stephens, MS

Assistant Clinical Research Coordinator

Department of Psychiatry and Behavioral Science

Stanford University School of Medicine

E: laure...@stanford.edu

P: (650)-725-1716


From: freesurfer-boun...@nmr.mgh.harvard.edu 
 on behalf of Huang, Yujing 

Sent: Wednesday, September 13, 2023 11:05 AM
To: Freesurfer support list 
Subject: Re: [Freesurfer] Recon-all completed without error in 10 seconds


External Email - Use Caution

Hi Lauren,



You will also need to specify ‘-all’ to recon-all.



Best,



Yujing



From: freesurfer-boun...@nmr.mgh.harvard.edu 
 On Behalf Of Lauren Stephens
Sent: Wednesday, September 13, 2023 2:02 PM
To: freesurfer@nmr.mgh.harvard.edu
Subject: [Freesurfer] Recon-all completed without error in 10 seconds



External Email - Use Caution

Hi Freesurfers,



I am attempting to run recon-all on a set of .nii.gz files.  Each file is in 
our subject directory and has run through recon-all.  Recon-all only takes 10 
seconds to run and says it was completed without errors.  When I go to the 
folder recon-all creates, the folders are empty.



Here is the code we ran:



recon-all -s 967 -i 
/Users/corpuscallosum/Desktop/subjects/sR0391178-0002-1-000208-01.nii.gz



Here is the output message:



Started at Wed Sep 13 10:52:44 PDT 2023

Ended   at Wed Sep 13 10:52:54 PDT 2023

#@#%# recon-all-run-time-hours 0.003

recon-all -s 967 finished without error at Wed Sep 13 10:52:54 PDT 2023

done



We are using an iMac Pro 2017 running Ventura 13.5.2 and FreeSurfer version 
7.3.2.



I have attached the recon-all.log file and would appreciate any suggestions.  
We have previously run many successful recon-all's and have not encountered any 
issues.



Thank you,



Lauren Stephens



Lauren Stephens, MS

Assistant Clinical Research Coordinator

Department of Psychiatry and Behavioral Science

Stanford University School of Medicine

E: laure...@stanford.edu<mailto:laure...@stanford.edu>

P: (650)-725-1716


___
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 


Re: [Freesurfer] Recon-all completed without error in 10 seconds

2023-09-13 Thread Huang, Yujing
External Email - Use Caution

Hi Lauren,

You will also need to specify '-all' to recon-all.

Best,

Yujing

From: freesurfer-boun...@nmr.mgh.harvard.edu 
 On Behalf Of Lauren Stephens
Sent: Wednesday, September 13, 2023 2:02 PM
To: freesurfer@nmr.mgh.harvard.edu
Subject: [Freesurfer] Recon-all completed without error in 10 seconds


External Email - Use Caution
Hi Freesurfers,

I am attempting to run recon-all on a set of .nii.gz files.  Each file is in 
our subject directory and has run through recon-all.  Recon-all only takes 10 
seconds to run and says it was completed without errors.  When I go to the 
folder recon-all creates, the folders are empty.

Here is the code we ran:


recon-all -s 967 -i 
/Users/corpuscallosum/Desktop/subjects/sR0391178-0002-1-000208-01.nii.gz

Here is the output message:


Started at Wed Sep 13 10:52:44 PDT 2023

Ended   at Wed Sep 13 10:52:54 PDT 2023

#@#%# recon-all-run-time-hours 0.003

recon-all -s 967 finished without error at Wed Sep 13 10:52:54 PDT 2023

done

We are using an iMac Pro 2017 running Ventura 13.5.2 and FreeSurfer version 
7.3.2.

I have attached the recon-all.log file and would appreciate any suggestions.  
We have previously run many successful recon-all's and have not encountered any 
issues.

Thank you,

Lauren Stephens



Lauren Stephens, MS

Assistant Clinical Research Coordinator

Department of Psychiatry and Behavioral Science

Stanford University School of Medicine

E: laure...@stanford.edu<mailto:laure...@stanford.edu>

P: (650)-725-1716

___
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 Mass General Brigham 
Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline 
<https://www.massgeneralbrigham.org/complianceline> .
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 


[Freesurfer] Recon-all completed without error in 10 seconds

2023-09-13 Thread Lauren Stephens
External Email - Use Caution

Hi Freesurfers,

I am attempting to run recon-all on a set of .nii.gz files.  Each file is in 
our subject directory and has run through recon-all.  Recon-all only takes 10 
seconds to run and says it was completed without errors.  When I go to the 
folder recon-all creates, the folders are empty.

Here is the code we ran:


recon-all -s 967 -i 
/Users/corpuscallosum/Desktop/subjects/sR0391178-0002-1-000208-01.nii.gz

Here is the output message:


Started at Wed Sep 13 10:52:44 PDT 2023

Ended   at Wed Sep 13 10:52:54 PDT 2023

#@#%# recon-all-run-time-hours 0.003

recon-all -s 967 finished without error at Wed Sep 13 10:52:54 PDT 2023

done

We are using an iMac Pro 2017 running Ventura 13.5.2 and FreeSurfer version 
7.3.2.

I have attached the recon-all.log file and would appreciate any suggestions.  
We have previously run many successful recon-all's and have not encountered any 
issues.

Thank you,

Lauren Stephens


Lauren Stephens, MS

Assistant Clinical Research Coordinator

Department of Psychiatry and Behavioral Science

Stanford University School of Medicine

E: laure...@stanford.edu

P: (650)-725-1716



recon-all.log
Description: recon-all.log
___
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 


Re: [Freesurfer] recon-all-clinical out of memory error

2023-08-25 Thread Matthew Lynch
e.
>>
>> On Thu, Aug 10, 2023 at 5:52 PM fsbuild  wrote:
>>
>>>  Hello Matthew,
>>>
>>> Thanks for this info.
>>>
>>> If it is not too much work, just wondering if you could make a rough
>>> estimate or compute an average for the *total*memory* in use = (size of
>>> physical RAM in use by synthseg + size of all swap files resident on disk
>>> used by synthseg).
>>>
>>> - R.
>>>
>>> On Aug 10, 2023, at 16:08, Matthew Lynch  wrote:
>>>
>>> External Email - Use Caution
>>>
>>> Here is some additional follow up.  I was able to get recon-all-clinical
>>> working in Ubuntu in WSL on a 16 Gb machine by increasing the swap and
>>> memory allowed in WSL..  This is done through the .wslconfig file which is
>>> located in the %USERPROFILE% folder (e.g. C:\Users\username\).  I had to
>>> specify a swap size of 32 Gb and also specify that WSL is allowed to use 32
>>> Gb (even though the system only has 16 Gb -- it will use swap space).
>>>
>>> Here is the .wslconfig file I used:
>>> -
>>> [wsl2]
>>>
>>> # Limits VM memory to use no more than x GB, this can be set as whole
>>> numbers using GB or MB
>>> # This must be set to 32 Gb or so to accomodate recon-all-clinical
>>> # If you set a 32 Gb swap but not 32 Gb memory allowance, WSL will stop
>>> at the memory limit and not use swap
>>> memory=32GB
>>>
>>> # Sets amount of swap storage space to 8GB, default is 25% of available
>>> RAM
>>> swap=32GB
>>>
>>> # Sets swapfile path location, default is
>>> %USERPROFILE%\AppData\Local\Temp\swap.vhdx
>>> # I believe the double backslash is necessary
>>> swapfile=P:\\Users\\username\\WSL\\wsl-swap.vhdx
>>> --
>>>
>>> For information on the .wslconfig file, see: *MailScanner has detected
>>> a possible fraud attempt from "secure-web.cisco.com" claiming to be*
>>> https://secure-web.cisco.com/1pCHT2pj4jex1saQgxl7WjYue9bVlKFec2rIwxsTJHj_qWisnpzgiov_NXlPPBq6lzohU81fg3Dw60sOIUgveXBOHFJFGxMCgDgU_NRfQxCYmxfeOTWbE7wtNB_LHM84lJidXIdBCDom4-NJlw21gtYWbPTzIiOwzZeDv2Y8_tVdG3iiGzE7Aw2HQrxLYjJ9_Iu4p5pDYkLAYIivrn77quAVYh-qh8MDyDZ9mjx5rqnQJLefiM9goiXdjSEJERCFsd7jB6fWoL5OY_r1JSU25MR8AtY4oH967myi7gUs5KxMJOCGFuyNKqKQQe1CRNL2Pe8BskYJWt5jfDOgaRbeZUw/https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Fwindows%2Fwsl%2Fwsl-config
>>> <https://secure-web.cisco.com/1LNayjHy-1B5c1F-Uvbc7S2iZdU0Jv7SuKk5LkXsvEotEDyVYpDly5OU0naxoFLKh8oycxM1HnrZB2D3QAe7kjZO4VwUj0CV2ia_Ur93dhLdStO9YGvnPp1T8KYoYZ8A7SU_zjyQB9q9ZEi7XL01sOv12HVA3pEuB6kd3orUtCrIvisUeSzPIvYDMeUvcpq4A_uG1HjIF-fnvmVg9A33nNuNpSvIdykJz91NN-f-4LC9Bt6ltTemfRGXXDxenb-4_MKCs8ol-gZjauJ7RkwcbkGLcSMi3C9yY2H1aGvyG3PPWD7Nmgl0oaVF8XgRWUAjud_IN5AuL3R33m2S9TDJoYQ/https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Fwindows%2Fwsl%2Fwsl-config>
>>>
>>>
>>> On Sat, Jul 29, 2023 at 6:27 AM Matthew Lynch 
>>> wrote:
>>>
>>>>
>>>> I was able to get recon-all-clinical working with 16 Gb computer.
>>>>
>>>> I thought the problem might be Windows hogging memory, so I created a
>>>> live persistent USB install of lubuntu, using lubuntu 22 as a low resource
>>>> distro in order to minimize memory usage, and installed freesurfer 7.4.0.
>>>> Even with initial memory usage on 1Gb on lubuntu, synthseg still failed
>>>> with out of memory error with 8 Gb swap file.  I watched the swap memory
>>>> fill up and then process was killed.
>>>>
>>>> I added 16Gb swap using the following instructions, for a total swap
>>>> space of 24 Gb + 16 Gb memory:
>>>>
>>>> *MailScanner has detected a possible fraud attempt from
>>>> "secure-web..cisco.com" claiming to be*
>>>> https://secure-web.cisco.com/1LTUBGWKpYkeGaqxoG7dPiVBZtStz4SsqKuBjncl5kVz9i7_Ms-aMHRZTqA1sQrEZIc3-Kc_u1Fn8hVVswcJOQbl-52hSuuQL-av0hwOwY_Z95bpdTPPMyUV63eh5V-r39LuOBw6cI3QUthBZM6gUlw209v8gxO-kvtwdS91ZhwakThVxcssArdjan0pI44dQAmZRqGWdVsEjLZHtJ0DUS5BfwbrrwNtaVLv7roOHkNexs4bZOBxXPgf2eEVe9PuHqoYXleq74p438PuJCc_rgyaq2eHyYVi5Cn6dBAZj4zN7usrr6awcyPSdS5Ap1BG_tMXvI4CyNrh8GGZJF6VryQ/https%3A%2F%2Faskubuntu.com%2Fquestions%2F178712%2Fhow-to-increase-swap-space
>>>> <https://secure-web.cisco.com/1ATUFZLp99G3zWsjWUI2HJaukRqMFcIimcs9TpbaIY-04Afcv6AnAqhXtv_tgDukEBDaKwCk0vi98Yo_CGHy_K0ixuTpGpvNyTNrWtDzAn3HiIrwLCM0XRljKu-f0ZBRxrw6K2OD_pOvEiIQtQD3oWtGq6wYRyF-4IBg22YWXBPz8JFai2hLSUOT0905dDFEps0_6H-G9XMI2XWSouiBCiL6-EkfX5ep2GT4dJKuI3x4U4yWDynhWh-LHvyQ4yqlzSO8lpYOVJyF4LdbcOLYGjP2u3NwKvCObnw3m3o5

Re: [Freesurfer] recon-all-clinical out of memory error

2023-08-19 Thread fsbuild
ge, and installed freesurfer 7.4.0. Even with 
initial memory usage on 1Gb on lubuntu, synthseg still failed with out of 
memory error with 8 Gb swap file. I watched the swap memory fill up and 
then process was killed.I added 16Gb swap using the following instructions, for 
a total swap space of 24 Gb+ 16 Gb memory:MailScanner has detected a 
possible fraud attempt from "secure-web.cisco.com" claiming to 
behttps://secure-web.cisco.com/1kRX3xVbTiZ9JT54ixRH2s2lX2HsDjAcrgZSnsH701UOmFPGmtwWiZjlHw9M9ytxFdz3rUEhJNxnmkFiOS6Cu_IO9sjwUfA6lKlFJv5VHg1vp7bk-ZXekn1y95ZoVnDkW-z-hn70AwkPDofobUjk_77JMo6naTqv6xwgfjqHoqf30KW45pX0zbZXX0jU4GuGZDG5fnEtKvsDHDajYq14oph1dTp7L6SnfqxoHuVQYqrrL7rU6i5Y0b8MdQRE01nEG6d_pKBXz9pVY32gHh1ZVMMnwXnrqgmZLrXPp7L1t9HLn5dZCNLXrteZ3NTGn8u9FpUUVPermNlH_P6cdDYFbaA/https%3A%2F%2Faskubuntu.com%2Fquestions%2F178712%2Fhow-to-increase-swap-spaceThis
 worked.On Thu, Jul 13, 2023 at 3:28 PM Matthew Lynch 
matthewl...@gmail.com wrote:I do not have access to a computer with 
more RAM. I can run recon-all with 1mm T1 images without any 
problems. How much RAM would recon-all-clinical be expected to 
need? Does it require less RAM if it uses the GPU instead of 
CPU?On Thu, Jul 13, 2023 at 1:58 PM Fischl, Bruce R.,PHD 
bfis...@mgh.harvard.edu 
wrote:External Email - Use 
CautionCan you try it on a 
computer with more 
ram?From:freesurfer-boun...@nmr..mgh.harvard.edufreesurfer-boun...@nmr.mgh.harvard.eduOn
 Behalf OfMatthew LynchSent:Thursday, July 13, 2023 1:55 
PMTo:freesur...@nmr.mgh.harvard.eduSubject:[Freesurfer] 
recon-all-clinical out of memory 
errorExternal Email - Use 
CautionI am having trouble 
running the new recon-all-clinical module. I input 5mm T1 axial DICOM 
images and it fails in SynthSeg with what appears to be an out of memory 
error. I am running FreeSurfer 7.4.0 in WSL with Ubuntu 22 on a computer 
with 16 Gb RAM. Can anyone provide any thoughts on how to correct 
this? Thanks in advance!Here is the 
command:recon-all-clinical.sh ./T1AX5MM/119 fsclin 1here is 
the error output:SynthSeg-robust 2.0using CPU, hiding all 
CUDA_VISIBLE_DEVICESusing 1 threadpredicting 1/1the following problem occured 
with image /mnt/p/FreeSurfer/5MM/WM20120718/fsclin/mri/native.mgz :Traceback 
(most recent call last): File 
"/usr/local/freesurfer/7.4.0/python/scripts/mri_synthseg", line 315, in 
predict  post_patch_segmentation, post_patch_parcellation, qc_score 
= net.predict([image, shape_input]) File 
"/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/keras/utils/traceback_utils.py",
 line 70, in error_handler  raise e.with_traceback(filtered_tb) 
from None File 
"/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/tensorflow/python/eager/execute.py",
 line 52, in quick_execute  tensors = 
pywrap_tfe.TFE_Py_Execute(ctx._handle, device_name, 
op_name,tensorflow.python.framework.errors_impl.ResourceExhaustedError: Graph 
execution error:Detected at node 'model_5/unet_parc_merge_8/concat' defined at 
(most recent call last):  File 
"/usr/local/freesurfer/7.4.0/python/scripts/mri_synthseg", line 2642, in 
module   main()  File 
"/usr/local/freesurfer/7.4.0/python/scripts/mri_synthseg", line 162, in 
main   predict(  File 
"/usr/local/freesurfer/7.4.0/python/scripts/mri_synthseg", line 315, in 
predict   post_patch_segmentation, post_patch_parcellation, 
qc_score = net.predict([image, shape_input])  File 
"/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/keras/utils/traceback_utils.py",
 line 65, in error_handler   return fn(*args, **kwargs) 
 File 
"/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/keras/engine/training.py",
 line 2382, in predict   tmp_batch_outputs = 
self.predict_function(iterator)  File 
"/usr/local/freesurfer/7.4.0/python/lib/python3..8/site-packages/keras/engine/training.py",
 line 2169, in predict_function   return step_function(self, 
iterator)  File 
"/usr/local/freesurfer/7.4..0/python/lib/python3.8/site-packages/keras/engine/training.py",
 line 2155, in step_function   outputs = 
model.distribute_strategy..run(run_step, args=(data,))  File 
"/usr/local/freesurfer/7.4..0/python/lib/python3.8/site-packages/keras/engine/training.py",
 line 2143, in run_step   outputs = 
model.predict_step(data)  File 
"/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/keras/engine/training.py",
 line 2111, in predict_step   return self(x, 
training=False)  File 
"/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/keras/utils/traceback_utils.py",
 line 65, in error_handler   return fn(*args, **kwargs) 
 File 
"/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/keras/engine/training.py",
 line 558, in __call__   return super().__call__(*args, 
**kwargs)  File 
"/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/keras/utils/traceback_utils.py",
 line 6

Re: [Freesurfer] recon-all-clinical out of memory error

2023-08-19 Thread Matthew Lynch
t;>> *MailScanner has detected a possible fraud attempt from
>>> "secure-web.cisco.com" claiming to be*
>>> https://secure-web.cisco.com/1SSnOp12NNB61UdPbITfysnj34In8V5MGyIYLUu6luPSUGXz5f0aKshfmY8FS07gBaAvNeHIIM7350mSNj2X0F827uOKfq5xawD6BVj5g63JH1GM1yz2G2nE3k4KegWX_9W99JpXV9gFxLTGF2xl12v3wXGdisF589PVoIj2QNjlgcc9TfHFB4vR1VKJJjMhhoarmmUADrjLVZlECWbYwgW4wdDe6OopT8wXy4SnYbVn6qu40p9HnehylTw4E3l5tgQnBW6unqBRE8WhL36ek_KYzHxy3tkieJNdc7oMeZP9HlWBOix7reU9tXl5qPpc2dS5tZW5z_vCwTk8g-pIYCw/https%3A%2F%2Faskubuntu.com%2Fquestions%2F178712%2Fhow-to-increase-swap-space
>>> <https://secure-web.cisco.com/1ATUFZLp99G3zWsjWUI2HJaukRqMFcIimcs9TpbaIY-04Afcv6AnAqhXtv_tgDukEBDaKwCk0vi98Yo_CGHy_K0ixuTpGpvNyTNrWtDzAn3HiIrwLCM0XRljKu-f0ZBRxrw6K2OD_pOvEiIQtQD3oWtGq6wYRyF-4IBg22YWXBPz8JFai2hLSUOT0905dDFEps0_6H-G9XMI2XWSouiBCiL6-EkfX5ep2GT4dJKuI3x4U4yWDynhWh-LHvyQ4yqlzSO8lpYOVJyF4LdbcOLYGjP2u3NwKvCObnw3m3o59ENYo-LjZX3jSA241KQ_KYXiyiwemGYB_YOXHMZ0rBN_e_g/https%3A%2F%2Faskubuntu.com%2Fquestions%2F178712%2Fhow-to-increase-swap-space>
>>>
>>> This worked.
>>>
>>>
>>>
>>>
>>>
>>> On Thu, Jul 13, 2023 at 3:28 PM Matthew Lynch 
>>> wrote:
>>>
>>>> I do not have access to a computer with more RAM.  I can run recon-all
>>>> with 1mm T1 images without any problems.  How much RAM would
>>>> recon-all-clinical be expected to need?  Does it require less RAM if it
>>>> uses the GPU instead of CPU?
>>>>
>>>> On Thu, Jul 13, 2023 at 1:58 PM Fischl, Bruce R.,PHD <
>>>> bfis...@mgh.harvard.edu> wrote:
>>>>
>>>>> External Email - Use Caution
>>>>>
>>>>> Can you try it on a computer with more ram?
>>>>>
>>>>>
>>>>>
>>>>> *From:* freesurfer-boun...@nmr..mgh.harvard.edu
>>>>>  <
>>>>> freesurfer-boun...@nmr.mgh.harvard.edu> *On Behalf Of *Matthew Lynch
>>>>> *Sent:* Thursday, July 13, 2023 1:55 PM
>>>>> *To:* freesurfer@nmr.mgh.harvard.edu
>>>>> *Subject:* [Freesurfer] recon-all-clinical out of memory error
>>>>>
>>>>>
>>>>>
>>>>> *External Email - Use Caution*
>>>>>
>>>>> I am having trouble running the new recon-all-clinical module.  I
>>>>> input 5mm T1 axial DICOM images and it fails in SynthSeg with what appears
>>>>> to be an out of memory error.  I am running FreeSurfer 7.4.0 in WSL with
>>>>> Ubuntu 22 on a computer with 16 Gb RAM.   Can anyone provide any thoughts
>>>>> on how to correct this?  Thanks in advance!
>>>>>
>>>>>
>>>>>
>>>>>  Here is the command:
>>>>>
>>>>>
>>>>>
>>>>> recon-all-clinical.sh ./T1AX5MM/119 fsclin 1
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> here is the error output:
>>>>>
>>>>>
>>>>>
>>>>> SynthSeg-robust 2.0
>>>>> using CPU, hiding all CUDA_VISIBLE_DEVICES
>>>>> using 1 thread
>>>>> predicting 1/1
>>>>>
>>>>> the following problem occured with image
>>>>> /mnt/p/FreeSurfer/5MM/WM20120718/fsclin/mri/native.mgz :
>>>>> Traceback (most recent call last):
>>>>>   File "/usr/local/freesurfer/7.4.0/python/scripts/mri_synthseg", line
>>>>> 315, in predict
>>>>> post_patch_segmentation, post_patch_parcellation, qc_score =
>>>>> net.predict([image, shape_input])
>>>>>   File
>>>>> "/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/keras/utils/traceback_utils.py",
>>>>> line 70, in error_handler
>>>>> raise e.with_traceback(filtered_tb) from None
>>>>>   File
>>>>> "/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/tensorflow/python/eager/execute.py",
>>>>> line 52, in quick_execute
>>>>> tensors = pywrap_tfe.TFE_Py_Execute(ctx._handle, device_name,
>>>>> op_name,
>>>>> tensorflow.python.framework.errors_impl.ResourceExhaustedError: Graph
>>>>> execution error:
>>>>>
>>>>> Detected at node 'model_5/unet_parc_merge_8/concat' defined at (most
>>>>> recent call last):
>>>>> File "/usr/local/freesurfer/7.4.0/python/scripts/mri_synthseg",
>>>>

Re: [Freesurfer] recon-all-clinical out of memory error

2023-08-13 Thread Matthew Lynch
Eps0_6H-G9XMI2XWSouiBCiL6-EkfX5ep2GT4dJKuI3x4U4yWDynhWh-LHvyQ4yqlzSO8lpYOVJyF4LdbcOLYGjP2u3NwKvCObnw3m3o59ENYo-LjZX3jSA241KQ_KYXiyiwemGYB_YOXHMZ0rBN_e_g/https%3A%2F%2Faskubuntu.com%2Fquestions%2F178712%2Fhow-to-increase-swap-space>
>>
>> This worked.
>>
>>
>>
>>
>>
>> On Thu, Jul 13, 2023 at 3:28 PM Matthew Lynch 
>> wrote:
>>
>>> I do not have access to a computer with more RAM.  I can run recon-all
>>> with 1mm T1 images without any problems.  How much RAM would
>>> recon-all-clinical be expected to need?  Does it require less RAM if it
>>> uses the GPU instead of CPU?
>>>
>>> On Thu, Jul 13, 2023 at 1:58 PM Fischl, Bruce R.,PHD <
>>> bfis...@mgh.harvard.edu> wrote:
>>>
>>>> External Email - Use Caution
>>>>
>>>> Can you try it on a computer with more ram?
>>>>
>>>>
>>>>
>>>> *From:* freesurfer-boun...@nmr..mgh.harvard.edu
>>>>  <
>>>> freesurfer-boun...@nmr.mgh.harvard.edu> *On Behalf Of *Matthew Lynch
>>>> *Sent:* Thursday, July 13, 2023 1:55 PM
>>>> *To:* freesurfer@nmr.mgh.harvard.edu
>>>> *Subject:* [Freesurfer] recon-all-clinical out of memory error
>>>>
>>>>
>>>>
>>>> *External Email - Use Caution*
>>>>
>>>> I am having trouble running the new recon-all-clinical module.  I input
>>>> 5mm T1 axial DICOM images and it fails in SynthSeg with what appears to be
>>>> an out of memory error.  I am running FreeSurfer 7.4.0 in WSL with Ubuntu
>>>> 22 on a computer with 16 Gb RAM.   Can anyone provide any thoughts on how
>>>> to correct this?  Thanks in advance!
>>>>
>>>>
>>>>
>>>>  Here is the command:
>>>>
>>>>
>>>>
>>>> recon-all-clinical.sh ./T1AX5MM/119 fsclin 1
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> here is the error output:
>>>>
>>>>
>>>>
>>>> SynthSeg-robust 2.0
>>>> using CPU, hiding all CUDA_VISIBLE_DEVICES
>>>> using 1 thread
>>>> predicting 1/1
>>>>
>>>> the following problem occured with image
>>>> /mnt/p/FreeSurfer/5MM/WM20120718/fsclin/mri/native.mgz :
>>>> Traceback (most recent call last):
>>>>   File "/usr/local/freesurfer/7.4.0/python/scripts/mri_synthseg", line
>>>> 315, in predict
>>>> post_patch_segmentation, post_patch_parcellation, qc_score =
>>>> net.predict([image, shape_input])
>>>>   File
>>>> "/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/keras/utils/traceback_utils.py",
>>>> line 70, in error_handler
>>>> raise e.with_traceback(filtered_tb) from None
>>>>   File
>>>> "/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/tensorflow/python/eager/execute.py",
>>>> line 52, in quick_execute
>>>> tensors = pywrap_tfe.TFE_Py_Execute(ctx._handle, device_name,
>>>> op_name,
>>>> tensorflow.python.framework.errors_impl.ResourceExhaustedError: Graph
>>>> execution error:
>>>>
>>>> Detected at node 'model_5/unet_parc_merge_8/concat' defined at (most
>>>> recent call last):
>>>> File "/usr/local/freesurfer/7.4.0/python/scripts/mri_synthseg",
>>>> line 2642, in 
>>>>   main()
>>>> File "/usr/local/freesurfer/7.4.0/python/scripts/mri_synthseg",
>>>> line 162, in main
>>>>   predict(
>>>> File "/usr/local/freesurfer/7.4.0/python/scripts/mri_synthseg",
>>>> line 315, in predict
>>>>   post_patch_segmentation, post_patch_parcellation, qc_score =
>>>> net.predict([image, shape_input])
>>>> File
>>>> "/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/keras/utils/traceback_utils.py",
>>>> line 65, in error_handler
>>>>   return fn(*args, **kwargs)
>>>> File
>>>> "/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/keras/engine/training.py",
>>>> line 2382, in predict
>>>>   tmp_batch_outputs = self.predict_function(iterator)
>>>> File
>>>> "/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/keras/engine/training.py",
>>>> l

Re: [Freesurfer] recon-all-clinical out of memory error

2023-08-10 Thread fsbuild
External Email - Use Caution

Hello Matthew,
Thanks for this info.
If it is not too much work, just wondering if you could make a rough estimate 
or compute an average for the *total*memory* in use = (size of physical RAM in 
use by synthseg + size of all swap files resident on disk used by synthseg).
- R.
On Aug 10, 2023, at 16:08, Matthew Lynch matthewl...@gmail.com 
wrote:External Email - Use 
CautionHere is some additional 
follow up. I was able to get recon-all-clinical working in Ubuntu in WSL 
on a 16 Gb machine by increasing the swap and memory allowed in WSL. This 
is done through the .wslconfigfile which is located in the %USERPROFILE% 
folder (e.g. C:\Users\username\). I had to specify a swap size of 32 Gb 
and also specify that WSL is allowed to use 32 Gb (even though the system only 
has 16 Gb -- it will use swap space).Here is the .wslconfigfile I 
used:-[wsl2]# Limits VM memory to use no more than x GB, this can be set as 
whole numbers using GB or MB# This must be set to 32 Gb or so to 
accomodaterecon-all-clinical# If you set a 32 Gb swap but not 32 Gb 
memory allowance, WSL will stop at the memory limit and not use 
swapmemory=32GB# Sets amount of swap storage space to 8GB, default is 25% 
of available RAMswap=32GB# Sets swapfile path location, default is 
%USERPROFILE%\AppData\Local\Temp\swap.vhdx# I believe the double backslash is 
necessaryswapfile=P:\\Users\\username\\WSL\\wsl-swap.vhdx--For information 
on the .wslconfigfile, see:MailScanner has detected a possible 
fraud attempt from "secure-web.cisco.com" claiming to 
behttps://secure-web.cisco.com/1qV7qOd8MV8Me_H9OrBCSVXR30wzEoGDkBeHd3EGrM14KqAV3QgSA3NPSYDCQmZEjI3IBScWH0I4l3nd8okmiZxGDigkkrYLyO8vmtch63i9fBH9ADb6hgH46SuT2KDYJspHszp9mhrrl0AMgFv5b1aEUW-VSCZ5X5JL69gRnhCNObH2-vbK7kUXnwAoGnffh0nYmeZQ5Re955E7SWL6oJgkZwZaIyX5xF1dwo2Nud50cb69HJdnhAqFYounJ-eTXA4LdozmcTGz5xfnVs77f1JZNiDIvS7xIoHFrG8ttVhPjrCp84LTSa2LvsDKU4eXHgYCPpzg2pX6gA5WC_PsqWA/https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Fwindows%2Fwsl%2Fwsl-configOn
 Sat, Jul 29, 2023 at 6:27 AM Matthew Lynch matthewl...@gmail.com 
wrote:I was able to get recon-all-clinical working with 16 Gb computer.I 
thought the problem might be Windows hogging memory, so I created a live 
persistent USB install of lubuntu, using lubuntu 22 as a low resource distro in 
order to minimize memory usage, and installed freesurfer 7.4.0. Even with 
initial memory usage on 1Gb on lubuntu, synthseg still failed with out of 
memory error with 8 Gb swap file. I watched the swap memory fill up and 
then process was killed.I added 16Gb swap using the following instructions, for 
a total swap space of 24 Gb+ 16 Gb memory:MailScanner has detected a 
possible fraud attempt from "secure-web.cisco.com" claiming to 
behttps://secure-web.cisco.com/1eJ0r45kveGk81B9YYbQBd38RPcxAhW6yy1xCpY2JgWABNj1jDLYcbEOyK_mTjZs1jNOU9o8FFfx9J2BZHUQVHx5x-vTaCnVyovnc-nEXs5V3qZ30_38Dg0p9cACa5w1_lKVc9YpaDJACf-4L0hBx6QzEc11mvu9_ygulTf4O-h7dGx8IpranJ1pdCgtC0BBGATBsIsn1MLnoFMOtCXnGww8HwOTQOzCc1i2H__pxiCkp2tkzZLl_J3MCxPJYhNGotULIBJAy9k6io9RAiTaF41ibYapFMgPVpdzJgvqfgx7fns_Q3LIcKTEtM8lsc1yGd2_Tfr1j6EXuSsoOYb3PWg/https%3A%2F%2Faskubuntu.com%2Fquestions%2F178712%2Fhow-to-increase-swap-spaceThis
 worked.On Thu, Jul 13, 2023 at 3:28 PM Matthew Lynch 
matthewl...@gmail.com wrote:I do not have access to a computer with 
more RAM. I can run recon-all with 1mm T1 images without any 
problems. How much RAM would recon-all-clinical be expected to 
need? Does it require less RAM if it uses the GPU instead of 
CPU?On Thu, Jul 13, 2023 at 1:58 PM Fischl, Bruce R.,PHD 
bfis...@mgh.harvard.edu 
wrote:External Email - Use 
CautionCan you try it on a 
computer with more 
ram?From:freesurfer-boun...@nmr.mgh.harvard.edufreesurfer-boun...@nmr.mgh.harvard.eduOn
 Behalf OfMatthew LynchSent:Thursday, July 13, 2023 1:55 
PMTo:freesur...@nmr.mgh.harvard.eduSubject:[Freesurfer] 
recon-all-clinical out of memory 
errorExternal Email - Use 
CautionI am having trouble 
running the new recon-all-clinical module. I input 5mm T1 axial DICOM 
images and it fails in SynthSeg with what appears to be an out of memory 
error. I am running FreeSurfer 7.4.0 in WSL with Ubuntu 22 on a computer 
with 16 Gb RAM. Can anyone provide any thoughts on how to correct 
this? Thanks in advance!Here is the 
command:recon-all-clinical.sh ./T1AX5MM/119 fsclin 1here is 
the error output:SynthSeg-robust 2.0using CPU, hiding all 
CUDA_VISIBLE_DEVICESusing 1 threadpredicting 1/1the following problem occured 
with image /mnt/p/FreeSurfer/5MM/WM20120718/fsclin/mri/native.mgz :Traceback 
(most recent call last): File 
"/usr/local/freesurfer/7.4.0/python/scripts/mri_synthseg", line 315, in 
predict  post_patch_segmentation, post_patch_parcellation, qc_score 
= net.predict([image, shape_input]) File 
"/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/keras/utils/traceback_utils.py",
 line 70, in error_handler  raise e.with_trace

Re: [Freesurfer] recon-all-clinical out of memory error

2023-08-10 Thread Matthew Lynch
External Email - Use Caution

Here is some additional follow up.  I was able to get recon-all-clinical
working in Ubuntu in WSL on a 16 Gb machine by increasing the swap and
memory allowed in WSL.  This is done through the .wslconfig file which is
located in the %USERPROFILE% folder (e.g. C:\Users\username\).  I had to
specify a swap size of 32 Gb and also specify that WSL is allowed to use 32
Gb (even though the system only has 16 Gb -- it will use swap space).

Here is the .wslconfig file I used:
-
[wsl2]

# Limits VM memory to use no more than x GB, this can be set as whole
numbers using GB or MB
# This must be set to 32 Gb or so to accomodate recon-all-clinical
# If you set a 32 Gb swap but not 32 Gb memory allowance, WSL will stop at
the memory limit and not use swap
memory=32GB

# Sets amount of swap storage space to 8GB, default is 25% of available RAM
swap=32GB

# Sets swapfile path location, default is
%USERPROFILE%\AppData\Local\Temp\swap.vhdx
# I believe the double backslash is necessary
swapfile=P:\\Users\\username\\WSL\\wsl-swap.vhdx
--

For information on the .wslconfig file, see:
https://secure-web.cisco.com/1LNayjHy-1B5c1F-Uvbc7S2iZdU0Jv7SuKk5LkXsvEotEDyVYpDly5OU0naxoFLKh8oycxM1HnrZB2D3QAe7kjZO4VwUj0CV2ia_Ur93dhLdStO9YGvnPp1T8KYoYZ8A7SU_zjyQB9q9ZEi7XL01sOv12HVA3pEuB6kd3orUtCrIvisUeSzPIvYDMeUvcpq4A_uG1HjIF-fnvmVg9A33nNuNpSvIdykJz91NN-f-4LC9Bt6ltTemfRGXXDxenb-4_MKCs8ol-gZjauJ7RkwcbkGLcSMi3C9yY2H1aGvyG3PPWD7Nmgl0oaVF8XgRWUAjud_IN5AuL3R33m2S9TDJoYQ/https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Fwindows%2Fwsl%2Fwsl-config


On Sat, Jul 29, 2023 at 6:27 AM Matthew Lynch  wrote:

>
> I was able to get recon-all-clinical working with 16 Gb computer.
>
> I thought the problem might be Windows hogging memory, so I created a live
> persistent USB install of lubuntu, using lubuntu 22 as a low resource
> distro in order to minimize memory usage, and installed freesurfer 7.4.0.
> Even with initial memory usage on 1Gb on lubuntu, synthseg still failed
> with out of memory error with 8 Gb swap file.  I watched the swap memory
> fill up and then process was killed.
>
> I added 16Gb swap using the following instructions, for a total swap space
> of 24 Gb + 16 Gb memory:
>
> https://secure-web.cisco.com/1ATUFZLp99G3zWsjWUI2HJaukRqMFcIimcs9TpbaIY-04Afcv6AnAqhXtv_tgDukEBDaKwCk0vi98Yo_CGHy_K0ixuTpGpvNyTNrWtDzAn3HiIrwLCM0XRljKu-f0ZBRxrw6K2OD_pOvEiIQtQD3oWtGq6wYRyF-4IBg22YWXBPz8JFai2hLSUOT0905dDFEps0_6H-G9XMI2XWSouiBCiL6-EkfX5ep2GT4dJKuI3x4U4yWDynhWh-LHvyQ4yqlzSO8lpYOVJyF4LdbcOLYGjP2u3NwKvCObnw3m3o59ENYo-LjZX3jSA241KQ_KYXiyiwemGYB_YOXHMZ0rBN_e_g/https%3A%2F%2Faskubuntu.com%2Fquestions%2F178712%2Fhow-to-increase-swap-space
>
> This worked.
>
>
>
>
>
> On Thu, Jul 13, 2023 at 3:28 PM Matthew Lynch 
> wrote:
>
>> I do not have access to a computer with more RAM.  I can run recon-all
>> with 1mm T1 images without any problems.  How much RAM would
>> recon-all-clinical be expected to need?  Does it require less RAM if it
>> uses the GPU instead of CPU?
>>
>> On Thu, Jul 13, 2023 at 1:58 PM Fischl, Bruce R.,PHD <
>> bfis...@mgh.harvard.edu> wrote:
>>
>>> External Email - Use Caution
>>>
>>> Can you try it on a computer with more ram?
>>>
>>>
>>>
>>> *From:* freesurfer-boun...@nmr.mgh.harvard.edu <
>>> freesurfer-boun...@nmr.mgh.harvard.edu> *On Behalf Of *Matthew Lynch
>>> *Sent:* Thursday, July 13, 2023 1:55 PM
>>> *To:* freesurfer@nmr.mgh.harvard.edu
>>> *Subject:* [Freesurfer] recon-all-clinical out of memory error
>>>
>>>
>>>
>>> *External Email - Use Caution*
>>>
>>> I am having trouble running the new recon-all-clinical module.  I input
>>> 5mm T1 axial DICOM images and it fails in SynthSeg with what appears to be
>>> an out of memory error.  I am running FreeSurfer 7.4.0 in WSL with Ubuntu
>>> 22 on a computer with 16 Gb RAM.   Can anyone provide any thoughts on how
>>> to correct this?  Thanks in advance!
>>>
>>>
>>>
>>>  Here is the command:
>>>
>>>
>>>
>>> recon-all-clinical.sh ./T1AX5MM/119 fsclin 1
>>>
>>>
>>>
>>>
>>>
>>> here is the error output:
>>>
>>>
>>>
>>> SynthSeg-robust 2.0
>>> using CPU, hiding all CUDA_VISIBLE_DEVICES
>>> using 1 thread
>>> predicting 1/1
>>>
>>> the following problem occured with image
>>> /mnt/p/FreeSurfer/5MM/WM20120718/fsclin/mri/native.mgz :
>>> Traceback (most recent call last):
>>>   File "/usr/local/freesurfer/7.4.0/python/scripts/mri_synths

Re: [Freesurfer] recon-all-clinical out of memory error

2023-07-29 Thread Matthew Lynch
External Email - Use Caution

I was able to get recon-all-clinical working with 16 Gb computer.

I thought the problem might be Windows hogging memory, so I created a live
persistent USB install of lubuntu, using lubuntu 22 as a low resource
distro in order to minimize memory usage, and installed freesurfer 7.4.0.
Even with initial memory usage on 1Gb on lubuntu, synthseg still failed
with out of memory error with 8 Gb swap file.  I watched the swap memory
fill up and then process was killed.

I added 16Gb swap using the following instructions, for a total swap space
of 24 Gb + 16 Gb memory:

https://secure-web.cisco.com/1iFbhXQHpEFIJXXJqO_gzEOq97K25g0DNoKMVRh6pXcfEcG45FjIHKXyZ-aP4IALU-nPOQLDiOSqu0cFmHUgQutpHNu0uDVykcyNMml-zVextcU0zdKZS40VUf8z_9D7dIRdwaA3dnuN6rKOop5o_IBd0Xhm4gQmczEdE5SepDZMz9a0BGgeAbf09f3ZzPyuMDZXLwyERiQRVQPyJMHuGClyrhtUC7d4NJuP_9KRBoqeR9BA4fwwkEHxZ3pS9vdU4gongLDl_1Q8VBZYKrm2q6TtMZRzrvRcidoPwmB4YdcPTSMGaOV0N2NodjXNNXXpmYqkMsO42oxmBpIBrh1lWHA/https%3A%2F%2Faskubuntu.com%2Fquestions%2F178712%2Fhow-to-increase-swap-space

This worked.





On Thu, Jul 13, 2023 at 3:28 PM Matthew Lynch  wrote:

> I do not have access to a computer with more RAM.  I can run recon-all
> with 1mm T1 images without any problems.  How much RAM would
> recon-all-clinical be expected to need?  Does it require less RAM if it
> uses the GPU instead of CPU?
>
> On Thu, Jul 13, 2023 at 1:58 PM Fischl, Bruce R.,PHD <
> bfis...@mgh.harvard.edu> wrote:
>
>> External Email - Use Caution
>>
>> Can you try it on a computer with more ram?
>>
>>
>>
>> *From:* freesurfer-boun...@nmr.mgh.harvard.edu <
>> freesurfer-boun...@nmr.mgh.harvard.edu> *On Behalf Of *Matthew Lynch
>> *Sent:* Thursday, July 13, 2023 1:55 PM
>> *To:* freesurfer@nmr.mgh.harvard.edu
>> *Subject:* [Freesurfer] recon-all-clinical out of memory error
>>
>>
>>
>> *External Email - Use Caution*
>>
>> I am having trouble running the new recon-all-clinical module.  I input
>> 5mm T1 axial DICOM images and it fails in SynthSeg with what appears to be
>> an out of memory error.  I am running FreeSurfer 7.4.0 in WSL with Ubuntu
>> 22 on a computer with 16 Gb RAM.   Can anyone provide any thoughts on how
>> to correct this?  Thanks in advance!
>>
>>
>>
>>  Here is the command:
>>
>>
>>
>> recon-all-clinical.sh ./T1AX5MM/119 fsclin 1
>>
>>
>>
>>
>>
>> here is the error output:
>>
>>
>>
>> SynthSeg-robust 2.0
>> using CPU, hiding all CUDA_VISIBLE_DEVICES
>> using 1 thread
>> predicting 1/1
>>
>> the following problem occured with image
>> /mnt/p/FreeSurfer/5MM/WM20120718/fsclin/mri/native.mgz :
>> Traceback (most recent call last):
>>   File "/usr/local/freesurfer/7.4.0/python/scripts/mri_synthseg", line
>> 315, in predict
>> post_patch_segmentation, post_patch_parcellation, qc_score =
>> net.predict([image, shape_input])
>>   File
>> "/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/keras/utils/traceback_utils.py",
>> line 70, in error_handler
>> raise e.with_traceback(filtered_tb) from None
>>   File
>> "/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/tensorflow/python/eager/execute.py",
>> line 52, in quick_execute
>> tensors = pywrap_tfe.TFE_Py_Execute(ctx._handle, device_name, op_name,
>> tensorflow.python.framework.errors_impl.ResourceExhaustedError: Graph
>> execution error:
>>
>> Detected at node 'model_5/unet_parc_merge_8/concat' defined at (most
>> recent call last):
>> File "/usr/local/freesurfer/7.4.0/python/scripts/mri_synthseg", line
>> 2642, in 
>>   main()
>> File "/usr/local/freesurfer/7.4.0/python/scripts/mri_synthseg", line
>> 162, in main
>>   predict(
>> File "/usr/local/freesurfer/7.4.0/python/scripts/mri_synthseg", line
>> 315, in predict
>>   post_patch_segmentation, post_patch_parcellation, qc_score =
>> net.predict([image, shape_input])
>> File
>> "/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/keras/utils/traceback_utils.py",
>> line 65, in error_handler
>>   return fn(*args, **kwargs)
>> File
>> "/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/keras/engine/training.py",
>> line 2382, in predict
>>   tmp_batch_outputs = self.predict_function(iterator)
>> File
>> "/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/keras/engine/training.py",
>> line 2169, in predic

Re: [Freesurfer] recon-all-clinical out of memory error

2023-07-13 Thread Matthew Lynch
External Email - Use Caution

I do not have access to a computer with more RAM.  I can run recon-all with
1mm T1 images without any problems.  How much RAM would recon-all-clinical
be expected to need?  Does it require less RAM if it uses the GPU instead
of CPU?

On Thu, Jul 13, 2023 at 1:58 PM Fischl, Bruce R.,PHD <
bfis...@mgh.harvard.edu> wrote:

> External Email - Use Caution
>
> Can you try it on a computer with more ram?
>
>
>
> *From:* freesurfer-boun...@nmr.mgh.harvard.edu <
> freesurfer-boun...@nmr.mgh.harvard.edu> *On Behalf Of *Matthew Lynch
> *Sent:* Thursday, July 13, 2023 1:55 PM
> *To:* freesurfer@nmr.mgh.harvard.edu
> *Subject:* [Freesurfer] recon-all-clinical out of memory error
>
>
>
> *External Email - Use Caution*
>
> I am having trouble running the new recon-all-clinical module.  I input
> 5mm T1 axial DICOM images and it fails in SynthSeg with what appears to be
> an out of memory error.  I am running FreeSurfer 7.4.0 in WSL with Ubuntu
> 22 on a computer with 16 Gb RAM.   Can anyone provide any thoughts on how
> to correct this?  Thanks in advance!
>
>
>
>  Here is the command:
>
>
>
> recon-all-clinical.sh ./T1AX5MM/119 fsclin 1
>
>
>
>
>
> here is the error output:
>
>
>
> SynthSeg-robust 2.0
> using CPU, hiding all CUDA_VISIBLE_DEVICES
> using 1 thread
> predicting 1/1
>
> the following problem occured with image
> /mnt/p/FreeSurfer/5MM/WM20120718/fsclin/mri/native.mgz :
> Traceback (most recent call last):
>   File "/usr/local/freesurfer/7.4.0/python/scripts/mri_synthseg", line
> 315, in predict
> post_patch_segmentation, post_patch_parcellation, qc_score =
> net.predict([image, shape_input])
>   File
> "/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/keras/utils/traceback_utils.py",
> line 70, in error_handler
> raise e.with_traceback(filtered_tb) from None
>   File
> "/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/tensorflow/python/eager/execute.py",
> line 52, in quick_execute
> tensors = pywrap_tfe.TFE_Py_Execute(ctx._handle, device_name, op_name,
> tensorflow.python.framework.errors_impl.ResourceExhaustedError: Graph
> execution error:
>
> Detected at node 'model_5/unet_parc_merge_8/concat' defined at (most
> recent call last):
> File "/usr/local/freesurfer/7.4.0/python/scripts/mri_synthseg", line
> 2642, in 
>   main()
> File "/usr/local/freesurfer/7.4.0/python/scripts/mri_synthseg", line
> 162, in main
>   predict(
> File "/usr/local/freesurfer/7.4.0/python/scripts/mri_synthseg", line
> 315, in predict
>   post_patch_segmentation, post_patch_parcellation, qc_score =
> net.predict([image, shape_input])
> File
> "/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/keras/utils/traceback_utils.py",
> line 65, in error_handler
>   return fn(*args, **kwargs)
> File
> "/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/keras/engine/training.py",
> line 2382, in predict
>   tmp_batch_outputs = self.predict_function(iterator)
> File
> "/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/keras/engine/training.py",
> line 2169, in predict_function
>   return step_function(self, iterator)
> File
> "/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/keras/engine/training.py",
> line 2155, in step_function
>   outputs = model.distribute_strategy.run(run_step, args=(data,))
> File
> "/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/keras/engine/training.py",
> line 2143, in run_step
>   outputs = model.predict_step(data)
> File
> "/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/keras/engine/training.py",
> line 2111, in predict_step
>   return self(x, training=False)
> File
> "/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/keras/utils/traceback_utils.py",
> line 65, in error_handler
>   return fn(*args, **kwargs)
> File
> "/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/keras/engine/training.py",
> line 558, in __call__
>   return super().__call__(*args, **kwargs)
> File
> "/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/keras/utils/traceback_utils.py",
> line 65, in error_handler
>   return fn(*args, **kwargs)
> File
> "/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/keras/engine/base_layer.py",
> line 1145, in __call__
>   outputs = call_fn(inputs,

Re: [Freesurfer] recon-all-clinical out of memory error

2023-07-13 Thread Fischl, Bruce R.,PHD
External Email - Use Caution

Can you try it on a computer with more ram?

From: freesurfer-boun...@nmr.mgh.harvard.edu 
 On Behalf Of Matthew Lynch
Sent: Thursday, July 13, 2023 1:55 PM
To: freesurfer@nmr.mgh.harvard.edu
Subject: [Freesurfer] recon-all-clinical out of memory error


External Email - Use Caution
I am having trouble running the new recon-all-clinical module.  I input 5mm T1 
axial DICOM images and it fails in SynthSeg with what appears to be an out of 
memory error.  I am running FreeSurfer 7.4.0 in WSL with Ubuntu 22 on a 
computer with 16 Gb RAM.   Can anyone provide any thoughts on how to correct 
this?  Thanks in advance!

 Here is the command:

recon-all-clinical.sh ./T1AX5MM/119 fsclin 1


here is the error output:

SynthSeg-robust 2.0
using CPU, hiding all CUDA_VISIBLE_DEVICES
using 1 thread
predicting 1/1

the following problem occured with image 
/mnt/p/FreeSurfer/5MM/WM20120718/fsclin/mri/native.mgz :
Traceback (most recent call last):
  File "/usr/local/freesurfer/7.4.0/python/scripts/mri_synthseg", line 315, in 
predict
post_patch_segmentation, post_patch_parcellation, qc_score = 
net.predict([image, shape_input])
  File 
"/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/keras/utils/traceback_utils.py",
 line 70, in error_handler
raise e.with_traceback(filtered_tb) from None
  File 
"/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/tensorflow/python/eager/execute.py",
 line 52, in quick_execute
tensors = pywrap_tfe.TFE_Py_Execute(ctx._handle, device_name, op_name,
tensorflow.python.framework.errors_impl.ResourceExhaustedError: Graph execution 
error:

Detected at node 'model_5/unet_parc_merge_8/concat' defined at (most recent 
call last):
File "/usr/local/freesurfer/7.4.0/python/scripts/mri_synthseg", line 2642, 
in 
  main()
File "/usr/local/freesurfer/7.4.0/python/scripts/mri_synthseg", line 162, 
in main
  predict(
File "/usr/local/freesurfer/7.4.0/python/scripts/mri_synthseg", line 315, 
in predict
  post_patch_segmentation, post_patch_parcellation, qc_score = 
net.predict([image, shape_input])
File 
"/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/keras/utils/traceback_utils.py",
 line 65, in error_handler
  return fn(*args, **kwargs)
File 
"/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/keras/engine/training.py",
 line 2382, in predict
  tmp_batch_outputs = self.predict_function(iterator)
File 
"/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/keras/engine/training.py",
 line 2169, in predict_function
  return step_function(self, iterator)
File 
"/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/keras/engine/training.py",
 line 2155, in step_function
  outputs = model.distribute_strategy.run(run_step, args=(data,))
File 
"/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/keras/engine/training.py",
 line 2143, in run_step
  outputs = model.predict_step(data)
File 
"/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/keras/engine/training.py",
 line 2111, in predict_step
  return self(x, training=False)
File 
"/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/keras/utils/traceback_utils.py",
 line 65, in error_handler
  return fn(*args, **kwargs)
File 
"/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/keras/engine/training.py",
 line 558, in __call__
  return super().__call__(*args, **kwargs)
File 
"/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/keras/utils/traceback_utils.py",
 line 65, in error_handler
  return fn(*args, **kwargs)
File 
"/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/keras/engine/base_layer.py",
 line 1145, in __call__
  outputs = call_fn(inputs, *args, **kwargs)
File 
"/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/keras/utils/traceback_utils.py",
 line 96, in error_handler
  return fn(*args, **kwargs)
File 
"/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/keras/engine/functional.py",
 line 512, in call
  return self._run_internal_graph(inputs, training=training, mask=mask)
File 
"/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/keras/engine/functional.py",
 line 669, in _run_internal_graph
  outputs = node.layer(*args, **kwargs)
File 
"/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/keras/utils/traceback_utils.py",
 line 65, in error_handler
  return fn(*args, **kwargs)
File 
"/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/keras/engine/base_layer.py",
 line 1145, in __call__
  outputs = call_fn(inputs, *args, **kwargs)
Fi

[Freesurfer] recon-all-clinical out of memory error

2023-07-13 Thread Matthew Lynch
External Email - Use Caution

I am having trouble running the new recon-all-clinical module.  I input 5mm
T1 axial DICOM images and it fails in SynthSeg with what appears to be an
out of memory error.  I am running FreeSurfer 7.4.0 in WSL with Ubuntu 22
on a computer with 16 Gb RAM.   Can anyone provide any thoughts on how to
correct this?  Thanks in advance!

 Here is the command:

recon-all-clinical.sh ./T1AX5MM/119 fsclin 1


here is the error output:

SynthSeg-robust 2.0
using CPU, hiding all CUDA_VISIBLE_DEVICES
using 1 thread
predicting 1/1

the following problem occured with image
/mnt/p/FreeSurfer/5MM/WM20120718/fsclin/mri/native.mgz :
Traceback (most recent call last):
  File "/usr/local/freesurfer/7.4.0/python/scripts/mri_synthseg", line 315,
in predict
post_patch_segmentation, post_patch_parcellation, qc_score =
net.predict([image, shape_input])
  File
"/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/keras/utils/traceback_utils.py",
line 70, in error_handler
raise e.with_traceback(filtered_tb) from None
  File
"/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/tensorflow/python/eager/execute.py",
line 52, in quick_execute
tensors = pywrap_tfe.TFE_Py_Execute(ctx._handle, device_name, op_name,
tensorflow.python.framework.errors_impl.ResourceExhaustedError: Graph
execution error:

Detected at node 'model_5/unet_parc_merge_8/concat' defined at (most recent
call last):
File "/usr/local/freesurfer/7.4.0/python/scripts/mri_synthseg", line
2642, in 
  main()
File "/usr/local/freesurfer/7.4.0/python/scripts/mri_synthseg", line
162, in main
  predict(
File "/usr/local/freesurfer/7.4.0/python/scripts/mri_synthseg", line
315, in predict
  post_patch_segmentation, post_patch_parcellation, qc_score =
net.predict([image, shape_input])
File
"/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/keras/utils/traceback_utils.py",
line 65, in error_handler
  return fn(*args, **kwargs)
File
"/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/keras/engine/training.py",
line 2382, in predict
  tmp_batch_outputs = self.predict_function(iterator)
File
"/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/keras/engine/training.py",
line 2169, in predict_function
  return step_function(self, iterator)
File
"/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/keras/engine/training.py",
line 2155, in step_function
  outputs = model.distribute_strategy.run(run_step, args=(data,))
File
"/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/keras/engine/training.py",
line 2143, in run_step
  outputs = model.predict_step(data)
File
"/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/keras/engine/training.py",
line 2111, in predict_step
  return self(x, training=False)
File
"/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/keras/utils/traceback_utils.py",
line 65, in error_handler
  return fn(*args, **kwargs)
File
"/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/keras/engine/training.py",
line 558, in __call__
  return super().__call__(*args, **kwargs)
File
"/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/keras/utils/traceback_utils.py",
line 65, in error_handler
  return fn(*args, **kwargs)
File
"/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/keras/engine/base_layer.py",
line 1145, in __call__
  outputs = call_fn(inputs, *args, **kwargs)
File
"/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/keras/utils/traceback_utils.py",
line 96, in error_handler
  return fn(*args, **kwargs)
File
"/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/keras/engine/functional.py",
line 512, in call
  return self._run_internal_graph(inputs, training=training, mask=mask)
File
"/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/keras/engine/functional.py",
line 669, in _run_internal_graph
  outputs = node.layer(*args, **kwargs)
File
"/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/keras/utils/traceback_utils.py",
line 65, in error_handler
  return fn(*args, **kwargs)
File
"/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/keras/engine/base_layer.py",
line 1145, in __call__
  outputs = call_fn(inputs, *args, **kwargs)
File
"/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/keras/utils/traceback_utils.py",
line 96, in error_handler
  return fn(*args, **kwargs)
File
"/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/keras/layers/merging/base_merge.py",
line 196, in call
  return self._merge_function(inputs)
File
"/usr/local/freesurfer/7.4.0/python/lib/python3.8/site-packages/keras/layers/merging/concatenate.py",
line 134, in _merge_function
  return backend.concatenate(inputs, axis=self.axis)
File

Re: [Freesurfer] recon-all ends with error

2023-06-29 Thread Huang, Yujing
External Email - Use Caution

It looks like you started recon-all by copying in mri/orig/001.mgz. I saw 
multiple runs of recon-all that were run on top of each other.

Can you try to restart clean by providing the input on the command line 
‘recon-all -s  -I  -all’?

Best,

Yujing

From: freesurfer-boun...@nmr.mgh.harvard.edu 
 On Behalf Of Justin Kasowski
Sent: Wednesday, June 28, 2023 7:35 PM
To: freesurfer@nmr.mgh.harvard.edu
Subject: [Freesurfer] recon-all ends with error


External Email - Use Caution
Writing masked volume to brain.finalsurfs.mgz...done.
@#@FSTIME  2023:06:28:16:19:10 mri_mask N 5 e 0.51 S 0.01 U 0.44 P 89% M 74240 
F 0 R 2972 W 0 c 3 w 760 I 0 O 0 L 0.13 0.04 0.01
@#@FSLOADPOST 2023:06:28:16:19:11 mri_mask N 5 0.13 0.04 0.01
#
#@# Fill Wed Jun 28 16:19:11 PDT 2023
/mnt/c/Users/BigBrain/documents/Subjects/sub-049/mri

 mri_fill -a ../scripts/ponscc.cut.log -xform transforms/talairach.lta 
-segmentation aseg.presurf.mgz -ctab 
/usr/local/freesurfer/7.2.0/SubCorticalMassLUT.txt -auto-man filled.auto.mgz 
filled.mgz ../tmp/filled.edits.txt wm.mgz filled.mgz

logging cutting plane coordinates to ../scripts/ponscc.cut.log...
INFO: Using transforms/talairach.lta and its offset for Talairach volume ...
using segmentation aseg.presurf.mgz...
error: volume size must be greater than 0 in every dimension
Command exited with non-zero status 1

The error implies aseg.presurf.mgz or talairach.lta have a 0 dimension, but 
neither do. mri_info for aseg.presurf is below, I've attached the log and 
talairach.lta files:

bigbrain@DESKTOP-EDQPTKK:/mnt/c/Users/BigBrain/Documents/Subjects/sub-049/mri$ 
mri_info aseg.presurf.mgz
Volume information for aseg.presurf.mgz
  type: MGH
dimensions: 256 x 256 x 256
___
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 Mass General Brigham 
Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline 
<https://www.massgeneralbrigham.org/complianceline> .
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 


[Freesurfer] Recon-all v.7.1.1 and TRACULA 7.3.2 compatible?

2023-06-28 Thread Blujus, Jenna
External Email - Use Caution

Hi all,

I am using TRACULA for a longitudinal analysis of WM integrity. I used the
longitudinal stream from freesurfer v7.1.1 to process the T1w images via
recon-all. I'd like to use TRACULA v7.3.2 to process the DWI data and
generate 42 WM tracts. Can I feed in the recon-all outputs from v7.1.1 to
v7.3.2 or should they be reprocessed with v7.3.2?

Thank you,
Jenna
___
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 Mass General Brigham 
Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline 
 .
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 


Re: [Freesurfer] recon-all-clinical problems

2023-06-22 Thread Michael Mc Laughlin
External Email - Use Caution

So when I fixed those two _thresh errors in

https://secure-web.cisco.com/1NSg93ccyJ-d1nRYxQp22qqxh0VpV5ftKk_nXjpyVVwbCeR6Hrc55wa7clBot2_7TwVB60Mr2knHiVv8A4Mfl2qmBr5BYBGmlurvKxK7tkVb_5cRm_5FEI_GvOXQuD2koygzRKJ-i9xNxRvWZdKOxuYG-tyuRwO9v-AdgHd7Hh9JHtaZBxs_lSVtIP240zo9HyXSvshgmuVe4pfIrL4_Wvod_9PgcTNm9cAuaW-RaJK_zO9AOe8CixcXkaG_SLZQp9Ou86eoY5TJMOnUVWCBf_opB5Pl4QyOFRI0arqOWt-I6cur7E-SZu4pjFrkCzr3oJjVJhHsxQnclEt4462twOg/https%3A%2F%2Fgithub.com%2Ffreesurfer%2Ffreesurfer%2Fblob%2Fdev%2Frecon_all_clinical%2Frecon-all-clinical.sh

The script runs all the way through without any errors but there is still
one big problem and some smaller niggles:

1) The lateral ventricles are missing e.g. in mri/brain.mgz. I tried two
different T1 input images of the same brain.
2) The stats/aseg.stats file is missing
3) (Minor) It doesn't tell me how long it took to run which I found helpful
in the recon-all script


On Thu, Jun 22, 2023 at 4:30 PM Michael Mc Laughlin 
wrote:

> Actually, that is not the problem at all.
>
> I have found two errors in your script (the one on Github)
>
> There are two lines which refer to colortable_BA_thresh.txt that should
> say /colortable_BA.txt
>
> The script gets further when I fix those but I still have errors. The
> first one is:
>
> 
> Writing annot to
> /home/michael/subjects/jun23mpsynfix/label/rh.BA_exvivo.thresh.annot
> INFO: using TH3 volume calc
> INFO: assuming MGZ format for volumes.
> computing statistics for each annotation in ./rh.BA_exvivo.annot.
> reading volume /home/michael/subjects/jun23mpsynfix/mri/wm.mgz...
> reading input surface /home/michael/subjects/jun23mpsynfix/surf/rh.white...
> Using TH3 vertex volume calc
> Total face volume 254138
> Total vertex volume 253934 (mask=0)
> reading input pial surface
> /home/michael/subjects/jun23mpsynfix/surf/rh.pial...
> reading input white surface
> /home/michael/subjects/jun23mpsynfix/surf/rh.white...
> error: No such file or directory
> error: could not read annot file ./rh.BA_exvivo.annot
> ^^
> I think the first line here is writing to the wrong filename.
>
>
>
> On Thu, Jun 22, 2023 at 1:22 PM Michael Mc Laughlin 
> wrote:
>
>>
>> I found the problem. Your script has the following lines :
>>
>> You need to delete the fsaverage from the $SUBJECTS_DIR definition
>> because the lines following it put it in also.
>>
>> ln -s $FREESURFER_HOME/subjects/fsaverage $SUBJECTS_DIR/
>> cd ../label
>> # labels
>> set cmd="mri_label2label --srcsubject fsaverage --srclabel 
>> $SUBJECTS_DIR/fsaverage/label/lh.BA1_exvivo.label
>> --trgsubject $SNAME --trglabel ./lh.BA1_exvivo.label --hemi lh
>> --regmethod surface"
>>
>>
>>
>> On Thu, Jun 22, 2023 at 11:23 AM Michael Mc Laughlin <
>> mich...@thecurate.com> wrote:
>>
>>> I tried recon-all-clinical and there are two main problems
>>>
>>> 1)  I ran it on a T1-MPRAGE image and it looks fine except that there
>>> are no lateral ventricles in the output. See attached.
>>>
>>> 2) I get lots of errors at the end.
>>>
>>> I read the following note in the release notes:
>>>
>>> *Please replace $FREESURFER_HOME/bin/recon-all-clinical.sh with the
>>> latest version HERE
>>> .
>>> Development versions newer than June 15th 2023 do not have this problem.]*
>>>
>>> I am not a linux expert, so I don't know how to download that file. If I
>>> could download it I am sure I could manage to replace it in the bin
>>> directory.
>>>
>>> I made an attempt by clicking on the link and copying the text from my
>>> browser into a new text file. I used this to replace the supplied file, but
>>> I still get errors. Maybe I screwed up.
>>>
>>> Michael McLaughlin,
>>> Island View, Beulah Court,
>>> Harbour Road, Dalkey
>>> Co. Dublin
>>> Ph:+353 87 688 2514
>>>
>>>
___
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 Mass General Brigham 
Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline 
 .
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please 

Re: [Freesurfer] recon-all-clinical problems

2023-06-22 Thread Michael Mc Laughlin
External Email - Use Caution

Actually, that is not the problem at all.

I have found two errors in your script (the one on Github)

There are two lines which refer to colortable_BA_thresh.txt that should say
/colortable_BA.txt

The script gets further when I fix those but I still have errors. The first
one is:


Writing annot to
/home/michael/subjects/jun23mpsynfix/label/rh.BA_exvivo.thresh.annot
INFO: using TH3 volume calc
INFO: assuming MGZ format for volumes.
computing statistics for each annotation in ./rh.BA_exvivo.annot.
reading volume /home/michael/subjects/jun23mpsynfix/mri/wm.mgz...
reading input surface /home/michael/subjects/jun23mpsynfix/surf/rh.white...
Using TH3 vertex volume calc
Total face volume 254138
Total vertex volume 253934 (mask=0)
reading input pial surface
/home/michael/subjects/jun23mpsynfix/surf/rh.pial...
reading input white surface
/home/michael/subjects/jun23mpsynfix/surf/rh.white...
error: No such file or directory
error: could not read annot file ./rh.BA_exvivo.annot
^^
I think the first line here is writing to the wrong filename.



On Thu, Jun 22, 2023 at 1:22 PM Michael Mc Laughlin 
wrote:

>
> I found the problem. Your script has the following lines :
>
> You need to delete the fsaverage from the $SUBJECTS_DIR definition because
> the lines following it put it in also.
>
> ln -s $FREESURFER_HOME/subjects/fsaverage $SUBJECTS_DIR/
> cd ../label
> # labels
> set cmd="mri_label2label --srcsubject fsaverage --srclabel 
> $SUBJECTS_DIR/fsaverage/label/lh.BA1_exvivo.label
> --trgsubject $SNAME --trglabel ./lh.BA1_exvivo.label --hemi lh
> --regmethod surface"
>
>
>
> On Thu, Jun 22, 2023 at 11:23 AM Michael Mc Laughlin <
> mich...@thecurate.com> wrote:
>
>> I tried recon-all-clinical and there are two main problems
>>
>> 1)  I ran it on a T1-MPRAGE image and it looks fine except that there are
>> no lateral ventricles in the output. See attached.
>>
>> 2) I get lots of errors at the end.
>>
>> I read the following note in the release notes:
>>
>> *Please replace $FREESURFER_HOME/bin/recon-all-clinical.sh with the
>> latest version HERE
>> .
>> Development versions newer than June 15th 2023 do not have this problem.]*
>>
>> I am not a linux expert, so I don't know how to download that file. If I
>> could download it I am sure I could manage to replace it in the bin
>> directory.
>>
>> I made an attempt by clicking on the link and copying the text from my
>> browser into a new text file. I used this to replace the supplied file, but
>> I still get errors. Maybe I screwed up.
>>
>> Michael McLaughlin,
>> Island View, Beulah Court,
>> Harbour Road, Dalkey
>> Co. Dublin
>> Ph:+353 87 688 2514
>>
>>
___
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 Mass General Brigham 
Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline 
 .
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 


Re: [Freesurfer] recon-all-clinical problems

2023-06-22 Thread Michael Mc Laughlin
External Email - Use Caution

I found the problem. Your script has the following lines :

You need to delete the fsaverage from the $SUBJECTS_DIR definition because
the lines following it put it in also.

ln -s $FREESURFER_HOME/subjects/fsaverage $SUBJECTS_DIR/
cd ../label
# labels
set cmd="mri_label2label --srcsubject fsaverage --srclabel
$SUBJECTS_DIR/fsaverage/label/lh.BA1_exvivo.label
--trgsubject $SNAME --trglabel ./lh.BA1_exvivo.label --hemi lh --regmethod
surface"



On Thu, Jun 22, 2023 at 11:23 AM Michael Mc Laughlin 
wrote:

> I tried recon-all-clinical and there are two main problems
>
> 1)  I ran it on a T1-MPRAGE image and it looks fine except that there are
> no lateral ventricles in the output. See attached.
>
> 2) I get lots of errors at the end.
>
> I read the following note in the release notes:
>
> *Please replace $FREESURFER_HOME/bin/recon-all-clinical.sh with the latest
> version HERE
> .
> Development versions newer than June 15th 2023 do not have this problem.]*
>
> I am not a linux expert, so I don't know how to download that file. If I
> could download it I am sure I could manage to replace it in the bin
> directory.
>
> I made an attempt by clicking on the link and copying the text from my
> browser into a new text file. I used this to replace the supplied file, but
> I still get errors. Maybe I screwed up.
>
> Michael McLaughlin,
> Island View, Beulah Court,
> Harbour Road, Dalkey
> Co. Dublin
> Ph:+353 87 688 2514
>
>
___
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 Mass General Brigham 
Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline 
 .
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 


Re: [Freesurfer] recon-all-clinical

2023-06-20 Thread Iglesias Gonzalez, Juan E.
External Email - Use Caution

Uuummm I don’t think this would work, as a lot of our intermediate files (eg 
norm.mgz) are not comparable to their counterparts in the standard recon-all 
stream. Sorry!

--
Juan Eugenio Iglesias
http://secure-web.cisco.com/1R9UOepVdGkzRhS_JbSZ7bkBYP0OujnEdjEaN6GrFG8xXfSYD4kdXxV5RSS22Efrjae1iNxYRieIPx_TYVzRGrhKR7IazpuzMz4Ym84t7daDKT2lROIZG2Ix9Ai0MCDWZBnw16XZaiV9NWdiAJEcywTAurIVkUFYUAh3Khky2RB1R2o14oO0NzRlpuI44mZpcM2bAbkTFbsInupFmBGqsCS3RpDiM9pgiOl8BTnlZa4P9JEsI7qWo6gmVLlhag_YbwWjigMA54QiSxrmN-r_iDg/http%3A%2F%2Fwww.jeiglesias.com

From: freesurfer-boun...@nmr.mgh.harvard.edu 
 on behalf of Douglas N. Greve 

Date: Tuesday, June 20, 2023 at 9:32 AM
To: freesurfer@nmr.mgh.harvard.edu , Iglesias 
Gonzalez, Eugenio , Gopinath, Karthik 

Subject: Re: [Freesurfer] recon-all-clinical

External Email - Use Caution

On 5/26/2023 5:39 PM, Andrew Dedinas Geoly wrote:

External Email - Use Caution
Hello Freesurfer experts!

I am conducting a longitudinal GMV and CT analysis of mTBI participants who 
received an experimental single-dose pharmacological treatment. We collected GE 
Bravo (0.9mm isotropic) T1w data pre, immediately after (~ 4 days after 
intervention) and 1-month following the intervention.

I have been working with the recon-all longitudinal pipeline stream  (7.1.1) 
but have noticed pretty significant errors in terms of skull stripping and 
segmentation (participants are veterans with somewhat random lesion / atrophy 
patterns).

I have tested your new recon-all-clinical program (7.4.0) on some of my worst 
cases and it is performing remarkably well. I am doing some more digging into 
the various synth segmentation packages available in FS newest versions and was 
wondering what the best course of action would be for integrating 
recon-all-clinical or synthseg into a longitudinal workflow.

1.Could I use the recon-all-clinical outputs as the "cross" for later base and 
long template construction?
I don't know. Hopefully Eugenio/Karthik will weigh in

2. SynthSeg and SCLimbic seem to have very good test-retest reliability-- would 
it be feasible to use the independent segmentation extractions from those and 
bypass the longitudinal stream entirely (not saying I would want to but I am 
curious)?
sclimbic generates segs that are not in the long stream, so there is no long 
option. My experience with synthseg is that it is inferior to the long stream 
on long data


Any and all help here would be greatly appreciated, and I thank you very much 
for your time.


Warmest regards,
Andrew



---



Andrew D. Geoly, MS



Research Data Analyst 1



Brain Stimulation Lab



Department of Psychiatry and Behavioral Sciences



Stanford University School of Medicine







___

Freesurfer mailing list

Freesurfer@nmr.mgh.harvard.edu<mailto:Freesurfer@nmr.mgh.harvard.edu>

MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" 
claiming to be 
https://secure-web.cisco.com/1XZ5Z95aOXJ85Fce4l7oGja6HZWq5WgzorMDBXS-cV_e_hPkYHzZribEccRf4kFVcvkuE3Yo3aghyKt3TQDhyKbOKLDpnoahNz3xdL2T_6IOwha0EbvfUXPSTsHDc2epWBC7zcjBIrMhMnNMN6ITFozgZsXNrSppIPU0aOALIZpk7whwNzVHzmUd9h5_xNgz2oYiqqB02JFXqMBF51tW9OspSrPppueOoTPTHPiN8QKXSF5QQBL5CpFz5wZlZPaCOgu-o1SvRNPILCbICrzdjfw/https%3A%2F%2Fmail.nmr.mgh.harvard.edu%2Fmailman%2Flistinfo%2Ffreesurfer<https://secure-web.cisco.com/1MtioKA64TCULuiinjIH4QyWe2hiHaKCHzIns0CxttO-bay2yQP1b-yM33qjobcBSCOJbAn6m5bQDnHZM1XpmFJzov32JerbQUAyXpnhaYNQ7tjIf6vpxHF8VhbD1vMBnk53WlXFwCWKkfaKJuBIUzwMhCcJgBmAaFK6hx_i9R8exatmS1KgagAElywIDmtKqFE5HbZPeV_uw8CCtR4LR9qgH5-SzOCIO-uhB9lGjsEu_1bPju38goO_WMIBTYJh9EMQxYr44BcIV7tylTx3Jlw/https%3A%2F%2Fmail.nmr.mgh.harvard.edu%2Fmailman%2Flistinfo%2Ffreesurfer>

___
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 Mass General Brigham 
Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline 
<https://www.massgeneralbrigham.org/complianceline> .
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 


Re: [Freesurfer] recon-all-clinical

2023-06-20 Thread Douglas N. Greve
   External Email - Use Caution



On 5/26/2023 5:39 PM, Andrew Dedinas Geoly wrote:


External Email - Use Caution

Hello Freesurfer experts!

I am conducting a longitudinal GMV and CT analysis of mTBI 
participants who received an experimental single-dose pharmacological 
treatment. We collected GE Bravo (0.9mm isotropic) T1w data pre, 
immediately after (~ 4 days after intervention) and 1-month following 
the intervention.


I have been working with the recon-all longitudinal pipeline stream  
(7.1.1) but have noticed pretty significant errors in terms of skull 
stripping and segmentation (participants are veterans with somewhat 
random lesion / atrophy patterns).


I have tested your new recon-all-clinical program (7.4.0) on some of 
my worst cases and it is performing remarkably well. I am doing some 
more digging into the various synth segmentation packages available in 
FS newest versions and was wondering what the best course of action 
would be for integrating recon-all-clinical or synthseg into a 
longitudinal workflow.


1.Could I use the recon-all-clinical outputs as the "cross" for later 
base and long template construction?

I don't know. Hopefully Eugenio/Karthik will weigh in
2. SynthSeg and SCLimbic seem to have very good test-retest 
reliability-- would it be feasible to use the independent segmentation 
extractions from those and bypass the longitudinal stream entirely 
(not saying I would want to but I am curious)?
sclimbic generates segs that are not in the long stream, so there is no 
long option. My experience with synthseg is that it is inferior to the 
long stream on long data


Any and all help here would be greatly appreciated, and I thank you 
very much for your time.



Warmest regards,
Andrew


---

Andrew D. Geoly, MS

Research Data Analyst 1

Brain Stimulation Lab

Department of Psychiatry and Behavioral Sciences

Stanford University School of Medicine



___
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://secure-web.cisco.com/1MtioKA64TCULuiinjIH4QyWe2hiHaKCHzIns0CxttO-bay2yQP1b-yM33qjobcBSCOJbAn6m5bQDnHZM1XpmFJzov32JerbQUAyXpnhaYNQ7tjIf6vpxHF8VhbD1vMBnk53WlXFwCWKkfaKJuBIUzwMhCcJgBmAaFK6hx_i9R8exatmS1KgagAElywIDmtKqFE5HbZPeV_uw8CCtR4LR9qgH5-SzOCIO-uhB9lGjsEu_1bPju38goO_WMIBTYJh9EMQxYr44BcIV7tylTx3Jlw/https%3A%2F%2Fmail.nmr.mgh.harvard.edu%2Fmailman%2Flistinfo%2Ffreesurfer
___
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 Mass General Brigham 
Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline 
 .
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 


  1   2   3   4   5   6   7   8   9   10   >