Git Product home page Git Product logo

Comments (7)

fangq avatar fangq commented on July 27, 2024 1

FYI, the updated mcxstudio_x64 for 64bit-only macos has been included in the latest release v2023.

here is my test on macos-12.6. it does not have 3D visualization feature (plot menu, preview of domain), although other functionalities should be intact.

mcxstudio_macos12

from mcx.

fangq avatar fangq commented on July 27, 2024

can you try downloading the package again? for some reason, the mcx zip file does not contain mcxstudio executable. I just manually reran the nightly build script and the file is updated.

from mcx.

fangq avatar fangq commented on July 27, 2024

also, just a word of warning - because Apple stopped supporting CUDA, we are depreciating the support for running mcx on MacOS. Please consider migrating to other operating platforms, or using cloud based solutions, such as

http://mcx.space/cloud/
and
https://colab.research.google.com/github/fangq/mcx/blob/master/mcxlab/tutorials/mcxlab_getting_started.ipynb

also, in the past, mcxstudio was almost entirely developed and tested on Linux and Windows. From my limited experience, it does not work well on MacOS even you are able to launch it. If you are just starting using mcx, please consider using the google colab link above to learn how to run mcx (you can run it even without an NVIDIA GPU).

from mcx.

fangq avatar fangq commented on July 27, 2024

I looked into this further - and attempted to fix the issue, but I don't have a solution yet.

a more detailed discussion can be found here
https://forum.lazarus.freepascal.org/index.php/topic,64661.0.html

basically, MacOS-10.15 or newer no longer supports 32 bit applications. I tried to migrate the mcxstudio GUI to 64bit, but the OpenGL library I used for 3D rendering in MCXStudio, GLScene, does not currently work on 64bit Cocoa widgetset. It only works on Carbon, which is 32bit only.

Even I force to build mcxstudio with Cocoa and 64bit, it won't run and give an OpenGL error.
cocoa_error

I will keep this ticket open, but whether I can migrate to 64bit app on Mac depends on whether GLScene supports Cocoa on the Mac.

from mcx.

fangq avatar fangq commented on July 27, 2024

please see my update after investigation: https://forum.lazarus.freepascal.org/index.php/topic,64661.msg491970.html#msg491970

the issue is currently not fixable because the OpenGL component I used for 3D rendering (GLScene_LCL) in mcxstudio does not support 64bit widgetset (Cocoa) on the Mac. Unless GLScene_LCL adds this support (which will not be trivial), mcxstudio won't be able to do 3D rendering in 64bit-only Mac.

As a workaround, I committed the above change (1adb6c6) to disable any OpenGL functionalities in mcxstudio. This allows it to build on 64bit Mac - and run only the configuration windows (without any 3D rendering windows). However, the compiled mcxstudio-lite GUI, while it can run, still give a few errors when creating new sessions. I will try to sort it out and provide this 64bit mcxstudio-lite interface in the upcoming new release.

from mcx.

fangq avatar fangq commented on July 27, 2024

@PyMarc2, please download the v2023 mcx package in the nightly build folder and run open mcxstudio_x64.app inside the bin folder and see if it works for you.

As I mentioned above, the OpenGL rendering functions are removed for 64bit Mac, but other configuration and execution functions should still work.

All function should work on MacOS 10.13 or older versions by running the mcxstudio executable.

from mcx.

PyMarc2 avatar PyMarc2 commented on July 27, 2024

@fangq, thank you for the update!

from mcx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.