CellProfiler / CellProfiler-Analyst

Open-source software for exploring and analyzing large, high-dimensional image-derived data.
http://cellprofileranalyst.org
Other
145 stars 72 forks source link

Running on an M1 Mac #297

Open marcstein opened 3 years ago

marcstein commented 3 years ago

Having spent an inordinate amount of time trying to get PCA to run on an M1 Mac Mini running Big Sur, I thrilled to say that it actually can be done, although it's not for the easily frustrated.

You need to do the following:

Install the latest release of Parallels for Apple Silicon Download Windows Insider Preview ARM64 from Microsoft Then install the ARM version of Windows 10 within Parallels Launch the virtual instance and install a Java environment. I recommend Azul JDK, 8 as it always works. Set the Java_Home environmental variable Install Cell Profiler and make sure it will launch. If it doesn't then install Visual C++ Redistributable. After you are able to launch CP, install CPA If you know the true lyrics of "Louie, Louie," then it should work.

It actually runs quite nicely!

DavidStirling commented 3 years ago

Thanks for the instructions, we're currently working on getting Big Sur compatibility sorted out. Just to check - were you unable to launch the MacOS binary?

imagesc-bot commented 3 years ago

This issue has been mentioned on Image.sc Forum. There might be relevant details there:

https://forum.image.sc/t/cell-profiler-analyst-3-0-1-cant-open/52417/2

DavidStirling commented 3 years ago

Release 3.0.2 should have brought in Big Sur compatibility. Feel free to re-open this if you still have problems.

marcstein commented 3 years ago

Hi David,

I'm currently using the Windows binary on an M1 Mac, but it's running on Windows 10 ARM. I am able to launch the Mac binary but it crashes upon opening any properties file.

This may be a Big Sur issue, but we did have it happen on a Catalina machine as well.

In any event, it is working well even though some hoop-jumping is necessary on the latest Macs.

Thanks!

Marc

Marc Stein CEO underwrite.ai P. (617) 545-7171 M. (857) 222-3291 E. @.*** W. https://www.underwrite.ai https://www.linkedin.com/in/marc-stein-b83b765

On Wed, May 5, 2021 at 4:58 PM David Stirling @.***> wrote:

Thanks for the instructions, we're currently working on getting Big Sur compatibility sorted out. Just to check - were you unable to launch the MacOS binary?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/CellProfiler/CellProfiler-Analyst/issues/297#issuecomment-833002794, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGEJZLKTR6U4SI3C2BEGRLTMGWQDANCNFSM44FXXPOQ .

DavidStirling commented 3 years ago

Hi Marc,

Thanks for letting us know. Would be able to upload a copy of the .properties file which causes the crash? Or perhaps a copy of the error message you see (if any).

It's entirely possible that there may be further issues on the M1 chipset, so I'll re-open this. 3.0.2 should hopefully have fixed general Big Sur compatability nonetheless.

marcstein commented 3 years ago

Hi David,

Let me pull a properties file and send it your way.

Best,

Marc

Marc Stein CEO underwrite.ai P. (617) 545-7171 M. (857) 222-3291 E. @.*** W. https://www.underwrite.ai https://www.linkedin.com/in/marc-stein-b83b765

On Fri, May 7, 2021 at 7:12 PM David Stirling @.***> wrote:

Hi Marc,

Thanks for letting us know. Would be able to upload a copy of the .properties file which causes the crash? Or perhaps a copy of the error message you see (if any).

It's entirely possible that there may be further issues on the M1 chipset, so I'll re-open this. 3.0.2 should hopefully have fixed general Big Sur compatability nonetheless.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/CellProfiler/CellProfiler-Analyst/issues/297#issuecomment-834850774, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGEJZJXO2VHPKP2B7GJMCTTMRXUXANCNFSM44FXXPOQ .

marcstein commented 3 years ago

Running the process natively on the Mac terminates upon attempting to load the properties file.

[image: Screen Shot 2021-05-07 at 10.13.31 PM.png]

Best,

Marc

Marc Stein CEO underwrite.ai P. (617) 545-7171 M. (857) 222-3291 E. @.*** W. https://www.underwrite.ai https://www.linkedin.com/in/marc-stein-b83b765

On Fri, May 7, 2021 at 8:45 PM Marc Stein @.***> wrote:

Hi David,

Let me pull a properties file and send it your way.

Best,

Marc

Marc Stein CEO underwrite.ai P. (617) 545-7171 M. (857) 222-3291 E. @.*** W. https://www.underwrite.ai https://www.linkedin.com/in/marc-stein-b83b765

On Fri, May 7, 2021 at 7:12 PM David Stirling @.***> wrote:

Hi Marc,

Thanks for letting us know. Would be able to upload a copy of the .properties file which causes the crash? Or perhaps a copy of the error message you see (if any).

It's entirely possible that there may be further issues on the M1 chipset, so I'll re-open this. 3.0.2 should hopefully have fixed general Big Sur compatability nonetheless.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/CellProfiler/CellProfiler-Analyst/issues/297#issuecomment-834850774, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGEJZJXO2VHPKP2B7GJMCTTMRXUXANCNFSM44FXXPOQ .

DavidStirling commented 3 years ago

@marcstein thanks, but it looks like any email attachments you're sending aren't being included in these GitHub posts?

marcstein commented 3 years ago

I thought that I'd try using email instead.

Best,

Marc

Marc Stein CEO underwrite.ai P. (617) 545-7171 M. (857) 222-3291 E. @.*** W. https://www.underwrite.ai https://www.linkedin.com/in/marc-stein-b83b765

On Sun, May 9, 2021 at 12:30 PM David Stirling @.***> wrote:

@marcstein https://github.com/marcstein thanks, but it looks like any email attachments you're sending aren't being included in these GitHub posts?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/CellProfiler/CellProfiler-Analyst/issues/297#issuecomment-835839385, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGEJZL6XUZB6CVN23HJTO3TM22D3ANCNFSM44FXXPOQ .

DavidStirling commented 3 years ago

Still doesn't look like it worked, perhaps try the website?