Error in running roast in mac

42 views
Skip to first unread message

Irtisha Chakraborty

unread,
Jul 22, 2023, 1:51:46 AM7/22/23
to roast...@googlegroups.com, bhattacharya sagarika7

Hi,


I have been trying to run the ROAST on Mac but getting errors in 5th step. It's showing something related to the Python version, which I supposed was changed after 2019 or 2020 on Mac. I want to know if this is the issue or anything else. I have tried changing the getdp version, but it still has the same issue. 



Thank you


Regards, 



Irtisha 




>> roast



=============================================================

ROAST is an aggregated work by Yu (Andy) Huang licensed under

General Public License version 3 or later. It's supported by

both NIH grants and Soterix Medical Inc.

=============================================================



======================================================

CHECKING INPUTS...

======================================================


Warning: Input MRI example/MNI152_T1_1mm.nii is not in RAS orientation, and has been

re-oriented into RAS and saved as example/MNI152_T1_1mm_ras.nii. ROAST will use that file as

the input. 


======================================================

ROAST example/MNI152_T1_1mm.nii

USING RECIPE:

Fp1 (1 mA), P4 (-1 mA)

...and simulation options saved in:

example/MNI152_T1_1mm_roastLog,

under tag: 20230629T144739

======================================================



======================================================

          MRI ALREADY SEGMENTED, SKIP STEP 1          

======================================================

======================================================

    SEGMENTATION TOUCHUP ALREADY DONE, SKIP STEP 2    

======================================================

======================================================

         ELECTRODE ALREADY PLACED, SKIP STEP 3        

======================================================

======================================================

          MESH ALREADY GENERATED, SKIP STEP 4         

======================================================

======================================================

       STEP 5 (out of 6): SOLVING THE MODEL...        

======================================================

dyld[10076]: Library not loaded: /System/Library/Frameworks/Python.framework/Versions/2.7/Python

  Referenced from: <C2BA6604-E164-3A03-9C1B-9C01D3AF250A> /Users/neuromodulationnimhans/Documents/NIMHANS/Imaging_and_stimulation/roast-master/lib/getdp-3.2.0/bin/getdpMac

  Reason: tried: '/System/Library/Frameworks/Python.framework/Versions/2.7/Python' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/System/Library/Frameworks/Python.framework/Versions/2.7/Python' (no such file), '/System/Library/Frameworks/Python.framework/Versions/2.7/Python' (no such file, not in dyld cache), '/Library/Frameworks/Python.framework/Versions/2.7/Python' (no such file)

lib/getdp-3.2.0/bin/getdpMac "example/MNI152_T1_1mm_20230629T144739.pro" -solve EleSta_v -msh "example/MNI152_T1_1mm_20230629T144739_ready.msh" -pos Map: Aborted

Error using solveByGetDP

getDP solver cannot work properly on your system. Please check any error message you got.


Error in roast (line 845)

        solveByGetDP(subj,injectCurrent,conductivities,indElecSolve,uniqueTag,'');

 


--
Irtisha Sony Chakraborty
Junior Research Fellow
Department of Neurophysiology,
National Institute of Mental Health and Neurosciences (NIMHANS),
Bengaluru-560029



Reply all
Reply to author
Forward
0 new messages