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.
Quotewsl --list --verboseThere should be an 'Ubuntu' or 'Ubuntu-20.04' instance under NAME. If the VERSION is '1' then we need to convert to WSL 2. In PowerShell type:
Quotewsl --set-version Ubuntu-20.04 2The process takes some time but you only need do it once.
... substitute 'Ubuntu' for 'Ubuntu-20.04' if appropriate.
Quote... e.g. replace
{ "command": {"action": "copy", "singleLine": false }, "keys": "ctrl+c" }'
{ "command": "paste", keys: "ctrl+v" },
... with
//{ "command": {"action": "copy", "singleLine": false }, "keys": "ctrl+c" }'
//{ "command": "paste", keys: "ctrl+v" },
... or
{ "command": {"action": "copy", "singleLine": false }, "keys": "alt+c" }'
{ "command": "paste", keys: "alt+v" },
QuotecdYou can now switch to the folder by typing 'cd Downloads'. If you don't want the link to be called 'Downloads' then replace '.' with your choice of link name e.g. 'MyFiles'. 'ln' stands for 'link'; '-s' is for 'symbolic', so if you delete the link you do not delete the original file (much like Windows shortcuts); '-f' is for 'force', which makes no difference at this point but should you change your mind about where you want the 'MyFiles' link to point to, then is required to overwrite the original.
... this just ensures that you are in your ubuntu home directory
ln -sf /mnt/c/Users/your_windows_username/Downloads .
... the space between 'Downloads' and '.' is required
... if you copy and paste the command then use the left arrow and delete to replace 'your_windows_username' with the actual name of the folder that your Windows files are stored in
... if the 'your_windows_username' folder has spaces in its name you need to put a '\' before each one e.g:
ln -sf /mnt/c/Users/your\ windows\ username/Downloads .
Quotecd
... this just ensures that you are in your ubuntu home directory
mkdir bin
... which means make a directory called 'bin' (where 'directory' is what is called 'folder' on Windows)
exit
... this closes ubuntu; when you next open it the settings file will be read and acted upon
Quotecd ~/binSince we added the 'bin' folder to the Path you will be able to open rhyolite-MELTS from any folder by typing 'Melts-rhyolite'. (Without these settings you would need to navigate to the folder containing Melts-rhyolite-public and type './Melts-rhyolite-public', where '.' means the current directory.)
... '~' is shorthand for your home space on ubuntu
ln -sf ../Downloads/Melts-rhyolite-public Melts-rhyolite
... see the 'Set up the ubuntu command line' section for an explanation of the 'ln' command; note that '..' means up one directory level
Quotesudo apt update
... enter your password
sudo apt upgrade
sudo apt full-upgrade
... choose 'y' as appropriate