External Email - Use Caution        

 If I understand the recon-all script correctly, the default is to run 
with -openmp 1 and even if you were to instead specify the available 
-DoParallel option, that would set openmp to 4 threads (and itkthreads to 4) to 
do work in parallel.   I don't run recon-all with options that 
increase the number of threads beyond the defaults because it is not cluster 
friendly.  But even for the default settings, you need ~16G of system RAM 
to run the Ubuntu 22 OS, freesurfer 7.4.1 running recon-all and whatever other 
processes run on the machine.
Given that you specified -openmpi 8, i.e., you added 7 more threads with ~16G 
of physical RAM to spare, then even with memory management it could be a memory 
underrun occurred causing the process to exit with Signal 6, e.g., memory 
allocation fails.   You could try and profile machine resource usage 
by keeping a program like "glances" running on the console and see if reports 
critical errors in memory usage, CPU load, etc., while recon-all runs.  
Maybe try the DoParallel option instead to see if the machine has enough 
resources to run that..
- R.



On 2/21/25 06:10, Brunno M. de Campos (bru...@unicamp.br) wrote:



          External Email - Use 
Caution        
  Hi,I would also like to include here 
the entire set of lines I am using. Since there are three different 
parallel-associated flags for recon-all, I am also concerned about my 
choice (OpenMP).
>> recon-all -i Sub_1_Time_1.nii -subjid Sub_1_Time_1 -qcache -sd 
./OUTPUT_DIR -all -openmp 8>> recon-all -i Sub_1_Time_2.nii -subjid 
Sub_1_Time_2 -qcache -sd ./OUTPUT_DIR -all -openmp 8
>>
 recon-all -base ./OUTPUT_DIR/Sub_1_base -tp ./OUTPUT_DIR/Sub_1_Time_1 
-tp ./OUTPUT_DIR/Sub_1_Time_2 -sd "./OUTPUT_DIR -all -openmp 8
>> recon-all -long ./OUTPUT_DIR/Sub_1_Time_1 ./OUTPUT_DIR/Sub_1_base  -sd 
./OUTPUT_DIR -all -openmp 8>> recon-all -long ./OUTPUT_DIR/Sub_1_Time_2 
./OUTPUT_DIR/Sub_1_base  -sd ./OUTPUT_DIR -all -openmp 8
Thank you very much!
Brunno M Campos
University of Campinas


  

  Em qui., 20 de fev. de 2025 às 08:50, Brunno M. de Campos 
<bru...@unicamp.br> escreveu:
Hi, thanks.
> version of freersurfer you are running: 7.4.1> OS name and version you 
are running: Ubuntu 22> amount of RAM on your machine: 32 gb
Best,
Brunno M Campos
University of Campinas


Em qui., 20 de fev. de 2025 às 08:47, fsbuild <fsbu...@contbay.com> 
escreveu:
        External Email - Use 
Caution         Please list:
> version of freersurfer you are running> OS name and version you are 
running> amount of RAM on your machine
- R.
On Feb 20, 2025, at 05:58, Brunno M. de Campos <bru...@unicamp.br> wrote:
        External Email - Use 
Caution        
Dear all,I run my script for longitudinal processing based on: individual 
processing (recon-all -i) + base image creation (recon-all -base) and 
longitudinal processing (recon-all -long).In
 some cases (not always), the process terminates with errors, apparently
 at the same stage. The log states, among other things, "Reading 
texture...*** buffer overflow detected ***: terminated Command terminated by 
signal 6".1 - I assume that I have exceeded my memory capacity. Am I correct?
I
 have, in fact, written a script that parallelizes these processes, but I
 might be distributing the workload poorly if that is the case.2 - If this is 
indeed the issue, do you know the peak memory required for such a process?Thank 
you!Brunno M Campos
University of Campinas

_______________________________________________
Freesurfer mailing list
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/14rLXS-JbgR7AFKonSvLXJI8hjOcdl-HCGj-LG6ZffWz0_T8GoQA-goxa9672KTrV8zzH6NzTcj4TYLJe7r3VxGAdyztO1nM_eXhXt3qzY9eAnxDRbfJRBqk0UIn8wsw4nynfEjzXX0joKIGqlomSlJ_LMItXcNh74sMRQWBykHSmfT-dfV3TywQnmxJEdbZVADTcRpEgHNCGYEs7I-RV3CSWuexA0O0MAuOmuVi56tHS6yEagRFfMHoq24xfrTQtBXZ8C28aSTfmP7chfx6AnlPttwtAPenRtcYC2sjlxwKu0zgIEu7Zf5f9w8xntNEhqi2CkYyltBDqtU7JQCg7xQ/https%3A%2F%2Fmail.nmr.mgh.harvard.edu%2Fmailman%2Flistinfo%2Ffreesurfer

_______________________________________________

Freesurfer mailing list

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/14rLXS-JbgR7AFKonSvLXJI8hjOcdl-HCGj-LG6ZffWz0_T8GoQA-goxa9672KTrV8zzH6NzTcj4TYLJe7r3VxGAdyztO1nM_eXhXt3qzY9eAnxDRbfJRBqk0UIn8wsw4nynfEjzXX0joKIGqlomSlJ_LMItXcNh74sMRQWBykHSmfT-dfV3TywQnmxJEdbZVADTcRpEgHNCGYEs7I-RV3CSWuexA0O0MAuOmuVi56tHS6yEagRFfMHoq24xfrTQtBXZ8C28aSTfmP7chfx6AnlPttwtAPenRtcYC2sjlxwKu0zgIEu7Zf5f9w8xntNEhqi2CkYyltBDqtU7JQCg7xQ/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 MailScanner has detected a possible 
fraud attempt from "secure-web.cisco.com" claiming to be 
https://secure-web.cisco.com/1fxc1lsFwviJlioOzsd96KzOOWLpfCxubigEzaM9nvWS8TAIfFWHP4lFbn-QxJekMG6fU8wQN1p0eMBUOno_n1GWY7Jb445vNAfFq29Udyu9FG9CE6I4_53n_RSzLBDlCSzacjvA3BfaFCQKe7bfgaS_M-KgUBHzUSMAl3MI5Ml7HsvpF3QfZFlCcCCQQPeWXlKVqCo5UFOBhjTfr-YyQZ2Sn9nlSyFqQ2TRoePCdFIRmm2bRLZrHwypGNudBJIYYV60YVNNuLoOxUTqowSqUysXNPBG_gC0T5FxaiJLHJQUNkcZia2Rt4k1DMqzvTenaReWHwbTnknBxjdFNIKql7Q/https%3A%2F%2Fwww.massgeneralbrigham.org%2Fcomplianceline
 <MailScanner has detected a possible fraud attempt from 
"secure-web.cisco.com" claiming to be 
https://secure-web.cisco.com/1Z5pHueRBOlx1_n8rqBTNJNUCHbxhy0PUyW4Zmn7WSvXAEijRczwJqomMxAOtMt3ZWBN2SHmIZDIUHtqrUoc9OpvSmJnhclVHFGP8WWFrq2y_Vd4bBB5hc84Zl90WC8fWcSICs8ltsAS5_QqSAGD2njZ0mJ1VUG2l6EBDrHxaE9yq4UWCa4ImvjjqaMd0zQ1GQ9ohVSskhssGwkWWcIM6YeHNtEZW7mgD26QJ6H_fjI6za-KyHgd4s0xpTNCw3SBPz3haqI2oWZux8eF90jtsR2YD38MIRfAtBWhovI-LtXM_yZTQApf_qQP45FVftX9gYH_NcK2263VQiacT1cM8Qg/https%3A%2F%2Fwww.massgeneralbrigham.org%2Fcomplianceline%26gt;
 .

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/14rLXS-JbgR7AFKonSvLXJI8hjOcdl-HCGj-LG6ZffWz0_T8GoQA-goxa9672KTrV8zzH6NzTcj4TYLJe7r3VxGAdyztO1nM_eXhXt3qzY9eAnxDRbfJRBqk0UIn8wsw4nynfEjzXX0joKIGqlomSlJ_LMItXcNh74sMRQWBykHSmfT-dfV3TywQnmxJEdbZVADTcRpEgHNCGYEs7I-RV3CSWuexA0O0MAuOmuVi56tHS6yEagRFfMHoq24xfrTQtBXZ8C28aSTfmP7chfx6AnlPttwtAPenRtcYC2sjlxwKu0zgIEu7Zf5f9w8xntNEhqi2CkYyltBDqtU7JQCg7xQ/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/1fxc1lsFwviJlioOzsd96KzOOWLpfCxubigEzaM9nvWS8TAIfFWHP4lFbn-QxJekMG6fU8wQN1p0eMBUOno_n1GWY7Jb445vNAfFq29Udyu9FG9CE6I4_53n_RSzLBDlCSzacjvA3BfaFCQKe7bfgaS_M-KgUBHzUSMAl3MI5Ml7HsvpF3QfZFlCcCCQQPeWXlKVqCo5UFOBhjTfr-YyQZ2Sn9nlSyFqQ2TRoePCdFIRmm2bRLZrHwypGNudBJIYYV60YVNNuLoOxUTqowSqUysXNPBG_gC0T5FxaiJLHJQUNkcZia2Rt4k1DMqzvTenaReWHwbTnknBxjdFNIKql7Q/https%3A%2F%2Fwww.massgeneralbrigham.org%2Fcomplianceline
 
<https://secure-web.cisco.com/1Z5pHueRBOlx1_n8rqBTNJNUCHbxhy0PUyW4Zmn7WSvXAEijRczwJqomMxAOtMt3ZWBN2SHmIZDIUHtqrUoc9OpvSmJnhclVHFGP8WWFrq2y_Vd4bBB5hc84Zl90WC8fWcSICs8ltsAS5_QqSAGD2njZ0mJ1VUG2l6EBDrHxaE9yq4UWCa4ImvjjqaMd0zQ1GQ9ohVSskhssGwkWWcIM6YeHNtEZW7mgD26QJ6H_fjI6za-KyHgd4s0xpTNCw3SBPz3haqI2oWZux8eF90jtsR2YD38MIRfAtBWhovI-LtXM_yZTQApf_qQP45FVftX9gYH_NcK2263VQiacT1cM8Qg/https%3A%2F%2Fwww.massgeneralbrigham.org%2Fcomplianceline%26gt;
 .
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. 

Reply via email to