WeisongZhao / Sparse-SIM

Official MATLAB implementation of the "Sparse deconvolution" -v1.0.3
https://weisongzhao.github.io/Sparse-SIM/
Open Data Commons Open Database License v1.0
77 stars 13 forks source link

Unable to run Sparse-SIM.app on MacBook Pro with M2 Max processor #14

Open NYCIvan opened 9 months ago

NYCIvan commented 9 months ago

Hi Weisong, thank you for sharing your project. It is really helpful. These days I tried to run Sparse-SIM.app on my MacBook Pro with M2 Max processor, but the installer just never initiate (it crashed every time I clicked it). I also tried to use MATLAB runtime, but it didn't work neither, it kept saying "no such file" (files' names are different in MACI64 folder) . I am not sure if it is the Apple M2 Max processor does not compatible with your project. Could you provide me some suggestions? Thank you!

WeisongZhao commented 8 months ago

I'm not sure what's going on, because the APP on MacOS has not yet been tested thoroughly. I would highly recommend to apply our sparse deconvolution on the MATLAB software by running this script or our Python version.

Here is the suggestion for the execution of APP anyway:

I. First way: Execute the SparseSIM_web_installer.app directly and follow the instructions. Open your terminal, and run the following shell:

cd "the absolute path of Sparse_SIM.app"

./run_Sparse_SIM.sh /MATLAB/MATLAB_runtime/v93

II. Second way:

  1. Verify that version 9.3 (R2017b) of the MATLAB Runtime is installed: https://ssd.mathworks.com/supportfiles/downloads/R2017b/deployment_files/R2017b/installers/maci64/MCR_R2017b_maci64_installer.dmg.zip

  2. If you have version 9.3 of the MATLAB Runtime installed in /mathworks/home/application/v93, open your terminal, and run the following shell:

cd "the absolute path of Sparse_SIM.app"

./run_Sparse_SIM.sh /mathworks/home/application/v93

OR

If you have Matlab 2017b installed in Applications/

./run_Sparse_SIM.sh /Applications/MATLAB_R2017b.app/runtime/maci64

The other versions can copy the /maci64 folder to your /Matlab/runtime folder (It should be careful).