Comments (7)
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](https://private-user-images.githubusercontent.com/226913/271848995-ad725b5f-9095-4829-bfd2-67442a0f9420.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTU4NjkxMzUsIm5iZiI6MTcxNTg2ODgzNSwicGF0aCI6Ii8yMjY5MTMvMjcxODQ4OTk1LWFkNzI1YjVmLTkwOTUtNDgyOS1iZmQyLTY3NDQyYTBmOTQyMC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNTE2JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDUxNlQxNDEzNTVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1lODBhYWI1Yzc4Y2Q2NzgzMWExNDU2OGI0NWE0ZTZiYzFlMzU2MWQxYTFiMzhmMTI2MWM3ZWI1ZjliZTMwZDMyJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.ua8m13Nb_j75uJqgsf-ogmhJMaBHZlZuwSBFDxLWutM)
from mcx.
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.
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.
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.
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.
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.
@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.
@fangq, thank you for the update!
from mcx.
Related Issues (20)
- Tutorial on how to import arbitrary 3d shapes. HOT 1
- Error in make HOT 1
- pmcx buffer overflow error if bc parameter has 12 characters HOT 1
- "misaligned address" error when using cfg.invcdf and cfg.angleinvcdf
- Failed to apply double-float-buffer approach in #41 to `dref` cause loss of accuracy
- Tissue propoerty for different wavelenght HOT 2
- `pmcx.mcxlab` fails to typecast `traj.id` output from float32 to uint32
- mcx2json unable to export simulations of continuously-varying media
- mcxlab: Where to find "sphdiffusionslab.m" required by "demo_validation_heterogeneous.m"? HOT 1
- Support per voxel mua/mus/g/n continuous medium type
- Different scattering coefficient of water in demo_skinvessel.m compared to mcxyz.c HOT 1
- get absorbed energy by object HOT 8
- svmc is broken after commit 7e1aec0
- pmcx dettpsf overwrites input detp structure HOT 1
- [CRITICAL] double-multiplication of initial weight in single-pattern-source fluence output HOT 3
- Gaussian divergence for slit source HOT 3
- Replay fails when simulating with multiple light sources HOT 6
- Post v2024.2 release actions
- Multi-source simulation fails to return the source ID for detected photons and trajectories
- Using base64 as compression method resulting in double base64 encoding
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mcx.