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

How to solve 'Can not find libalphamelts.dll'

Started by ll863628123, September 29, 2025, 05:14:47 AM

Previous topic - Next topic

ll863628123

Hi, I am a beginner to use Melts, and just downloaded files for python from https://github.com/magmasource/alphaMELTS. However, when I run 'liquidus=MELTSdynamic(1)', the error, 'Could not find module libalphamelts.dll (or one of its dependencies)', occured. Could someone tell me how to solve this problem?

Paula

You might need to set the Path, as well as the PYTHONPATH. See the RUNNING alphaMELTS for Python part of the Windows installation guide:

https://github.com/magmasource/alphaMELTS/wiki/alphaMELTS-installation-and-testing#installing-on-windows-2

Substitute 'MELTS_Matlab\package' with the name of the folder that you extracted the python and .dll files to.

ll863628123

Thank you for your reply, Paula. The system PATH variable should be set correctly, but I couldn't find any .dll files on https://github.com/magmasource/alphaMELTS. Perhaps the libalphamelts.dll file needs to be downloaded from somewhere else. Could you please tell me where to get it?