MICA-MNI / micapipe

micapipe from the Multimodal imaging and connectome analysis lab (http://mica-mni.github.io) at the Montreal Neurological Institute. Read The Docs documentation below
http://micapipe.readthedocs.io
GNU General Public License v3.0
80 stars 27 forks source link

Stuck at proc_func #110

Open hoptman opened 5 months ago

hoptman commented 5 months ago

root @ 42abcf444798 Thu Feb 1 20:07:26 UTC 2024: COMMAND --> mri_synthseg --i /tmp/14903_micapipe_proc-func_sub-A00035606_ses-BAS1/sub-A00035606_ses-BAS1_space-nativepro_desc-T1wbold.nii.gz --o /tmp/14903_micapipe_proc-func_sub-A00035606_ses-BAS1/T1bold_synthseg.nii.gz --robust --threads 10 --cpu terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc /opt/micapipe/functions/utilities.sh: line 1084: 3573 Aborted (core dumped) $l_command

Any thoughts? Thanks, Matt

rcruces commented 5 months ago

Hi, can you share the full log file please. It is saved under /logs

hoptman commented 5 months ago

Hi, can you share the full log file please. It is saved under /logs

Please see attached. I had removed the crash, but got the same error in the attached re-run. proc_func_04-02-2024_se_task-rest_acq-AP_bold.txt

Thanks, Matt

rcruces commented 5 months ago

Hello Matt,

It appears that the error is occurring due to a memory shortage on your workstation during the pipeline execution. The pipeline is a resource-intensive tool, typically run on robust desktops or SGE clusters. Could you please specify the location where you ran the pipeline? Additionally, consider increasing the allocated virtual memory to address this issue.

Best regards,

Raul

hoptman commented 5 months ago

Hello Matt,

It appears that the error is occurring due to a memory shortage on your workstation during the pipeline execution. The pipeline is a resource-intensive tool, typically run on robust desktops or SGE clusters. Could you please specify the location where you ran the pipeline? Additionally, consider increasing the allocated virtual memory to address this issue.

Best regards,

Raul

Hi Raul, Thanks for your response! I was running the command from /mnt/home2/Rockland_sample. How can I allocate more memory to the command? Is it something like --mem-gb? Also, how much memory should I allocate?

Thanks, Matt

hoptman commented 4 months ago

Hi again, I just wanted to check in about the issue of insufficient memory allocation: Could you please tell me how I can allocate more memory to the docker micapipe command? Is it something like --mem-gb? Also, how much memory should I allocate?

Thanks, Matt