News:

alphaMELTS 2.3 standalone & for MATLAB/Python is now open source and available on GitHub (https://github.com/magmasource/alphaMELTS).
alphaMELTS 1.9 is available at the legacy download and information site.
For news of all MELTS software see the MELTS Facebook page.

Main Menu

Don't Open the melts-rhyolite-public operation interface, mine is Mac Os system

Started by Pei fuping, July 31, 2024, 07:46:44 AM

Previous topic - Next topic

Pei fuping

When Melts-rhyolite-public is turned on, the system is always in the "Buiding interface..." There is no interface, no stand-alone version of the interface appears, what is going on?

Best wishes!

Pei

Paula

My guess is that your Mac has an M2 or M3 chip, and that's why you're having trouble. Only XQuartz 2.8.X supports Apple Silicon natively. It certainly works on M1 chips, but even the latest beta release (https://www.xquartz.org/releases/XQuartz-2.8.6_beta2.html) predates M3 chip Macs and many M2 chips.

The Rhyolite-MELTS GUI is not really supported anymore. I recommend you try easyMelts instead. It has all the features of the GUI, plus working plots. There's more information here: https://magmasource.caltech.edu/alphamelts/links.php

At the moment you can download easyMelts from here: https://magmasource.caltech.edu/gitlist/easyMelts.git/

For now, you'd have to run it through Rosetta 2, but I am planning to make a native Apple Silicon version at some point. When that happens, the downloads will move to here: https://github.com/magmasource/MAGMA

If you want to try to get the Rhyolite-MELTS GUI working then try downloading the 10.08+ version. You will probably need to add the following to your .zshrc file:

export DYLD_LIBRARY_PATH=/opt/X11/lib/flat_namespace:$DYLD_LIBRARY_PATH
See here for a more detailed, but slightly out of date, explanation (substitute ".zshrc" for ".profile"):

https://magmasource.caltech.edu/forum/index.php/topic,821.msg1151.html#msg1151

Pei fuping

Quote from: Pei fuping on July 31, 2024, 05:46:39 PMDear Paul,

Thanks for your reply. My apple computer is OS X EI Capitan, and Intel Iris Graphics 6100 1536 MB, as well as 2.9GHz Intel Core i5. I have installed Xquartz 2.7.8 and Melts-rhyolite-Mac-Os-10.8+. Since there is no new version of the computer, I still want to try again.

The operation condition is as follows:
rhyolite-MELTS (1.0.1) pMELTS (5.6.1) - (May 21 2015 - 18:06:14)
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
---> Reading environment variables...
<><> There are three releases of rhyolite-MELTS and a version of pMELTS included in this package:
    (*) rhyolite-MELTS v. 1.0.2 (original version, with corrections) - old H2O model, no mixed fluids.
    (*) rhyolite-MELTS v, 1.1.0 (mixed fluid version that perserves the ternary minimum) - old H2O model.
    (*) rhyolite-MELTS v. 1.2.0 (mixed fluid version optimal for mafic and alkalic melts) - new H2O model.
    (*) pMELTS v. 5.6.1 (original version, with corrections) - - old H2O model, no mixed fluids.
<><> Visit the website melts.ofm-research.org for information on which version to use for your application.
---> Default calculation mode is rhyolite-MELTS (v. 1.0.2).  Change this? (y or n): n
---> ************************************************************
---> Calculation mode is rhyolite-MELTS (public release v 1.0.2).
---> ************************************************************
---> Initializing data structures using selected calculation mode...
---> Building interface...

Otherwise, I followed your instructions for a series of operations, and entered the command "export DYLD_LIBRARY_PATH=/opt/X10/lib/flat_namespace:$DYLD_LIBRARY_PATH", but the interface still does not appear.

Furthermore, the following lines occurred.

Last login: Sat Aug  3 13:59:10 on ttys000
appledeMacBook-Pro:~ apple$ source ~/.profile
-bash: /Users/apple/.profile: No such file or directory
appledeMacBook-Pro:~ apple$ source ~/.bash_profile
appledeMacBook-Pro:~ apple$ /rhyolite-MELTS-Mac-OS-10.8+/Melts-rhyolite-public
dyld: Library not loaded: /opt/X11/lib/libX11.6.dylib
  Referenced from: /opt/X11/lib/flat_namespace/libXt.6.dylib
  Reason: Incompatible library version: libXt.6.dylib requires version 11.0.0 or later, but libX11.6.dylib provides version 10.0.0
Trace/BPT trap: 5
appledeMacBook-Pro:~ apple$


Sincerely,

Pei
2024-8-1

Paula

The early easyMelts versions were tested on El Capitan. This version should work on your machine:
 
https://magmasource.caltech.edu/gitlist/easyMelts.git/blob/92711c57cca31f2d143f3ffe62093d63c0c61ed4/easyMelts_0.2.4_beta-MacOS.zip

If you want to stick to the old GUI then I would experiment with a different version of Xquartz. Version 2.7.8 was the first to support El Capitan so you can't go older than that but 2.8.5 claims to support macOS 10.9+: https://www.xquartz.org/

I think you need at least 2.7.10 or later for the flat_namespace fix to work: https://www.xquartz.org/releases/XQuartz-2.7.10.html

Paula

Pei fuping

Dear Paula,

I have tried by your method, and the following paragraphs still appear.

(---> Initializing data structures using selected calculation mode...
---> Building interface...),

entered the command "export DYLD_LIBRARY_PATH=/opt/X11/lib/flat_namespace:$DYLD_LIBRARY_PATH" in the .bash_profile

and the interface still does not appear.

Best wishes,

Pei

Paula

All I can suggest is that you either email Mark Ghiorso (ghiorso@ofm-research.org) and see if he knows of something else to try, or have a go with easyMelts. There is more info in the README and the easyMelts version of the 'tutorial':

https://magmasource.caltech.edu/gitlist/easyMelts.git/tree/master/
https://magmasource.caltech.edu/forum/index.php/topic,992.0.html

Paula