alphaMELTS 1.9 is available at the download and information site.alphaMELTS 2 standalone & for MATLAB/Python are available on request(see the Version 2 tab on the download site for more details).For news of all MELTS software see the MELTS Facebook page.
Started by Paula, November 17, 2017, 04:08:40 PM
Quoteln -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 Downloadscd alphamelts_... if you press the 'tab' key at this point it should complete the folder name... depending how you extracted the files, you may to repeat the previous command to descend into the folder where the .command scripts are./install.command
Quotecd... this just ensures that you are in your ubuntu home directorymkdir bin... which means make a directory called 'bin' (where 'directory' is what is called 'folder' on Windows) wget magmasource.caltech.edu/gitlist/alphaMELTS.git/raw/master/profile... this downloads a settings file because going through a Windows-based browser causes problems with line-endings etc.cat profile
Quote# ~/.profile: executed by the command interpreter for login shells.# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login# exists.# set PATH so it includes user's private bin if it existsif [ -d "$HOME/bin" ] ; then PATH="$HOME/bin:$PATH" export PATHfi# For the Rhyolite-MELTS graphical user interface on the Windows Subsystem for Linux with Xmingif [[ $(uname -r) =~ Microsoft ]] ; then export DISPLAY=:0fi# For the Rhyolite-MELTS graphical user interface on Macs, using the 10.8+ or 10.12+ executable:# If you get "Segmentation fault: 11" (10.8+) or "Illegal instruction: 4" (10.12+)# then include the following and try the 10.8+ executable.if [[ $(uname) =~ Darwin ]] ; then export DYLD_LIBRARY_PATH=/opt/X11/lib/flat_namespace:$DYLD_LIBRARY_PATHfi
Quotemv profile .profile... where there is a space before the '.' but not after; a file beginning with with '.' is a hidden file in Linuxexit... this closes ubuntu 16.04; when you next open it the settings file will be read and acted upon
Quotecd ~/bin... '~' is shorthand for your home space on ubuntuln -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 install libxft2 libxt6 ... enter your Linux password when prompted and choose 'y' to install the necessary packages
Quotesudo apt update... enter your passwordsudo apt upgradesudo apt full-upgrade... choose 'y' as appropriate