Recent Posts

Pages: 1 2 3 4 5 6 7 8 9 10
1
easyMelts / Run easyMelts in the Windows Subsystem for Linux
« Last post by Paula on Today at 06:43:28 am »
    For 64-bit Windows 10, it is possible to enable the 'Windows Subsystem for Linux' (WSL) and use the run the Linux version of easyMelts instead of, or as well as, the native Windows version. One reason you might want to do that is for improved interoperability between easyMelts, alphaMELTS 2 and alphaMELTS for MATLAB/Python (see
Fixing line ending issues with file-format.command). Another is if display of the native Windows version of easyMelts is tiny on a high-resolution screen and you are not comfortable with editting the registry to fix it.

As of the Windows 10 May 2020 Update, it is possible to enable the WSL 2 (here). If you want to use the WSL 2, of if you are installing alphaMELTS 2 on the WSL at the same time then see this longer version of this post and stop just before the "Download and set up rhyolite-MELTS" - there's no point installing rhyolite-MELTS when easyMelts does (almost) everything rhyolite-MELTS does and more!

Enable the WSL, and install ubuntu
  • Open Settings (click either the Start button in the bottom LH corner or the Notification icon in the bottom RH corner; then click the cog icon). Type 'Windows features' in the search box and then select 'Turn Windows features on or off'. Scroll down and check the box beside 'Windows Subsystem for Linux'; click OK and reboot.
  • Open the Microsoft Store and search for 'ubuntu'. Choose 'Ubuntu', or 'Ubuntu 20.04', and select 'Get'.
  • Select 'Launch'. You will be prompted to enter a username and password for Linux. The username is case sensitive; it may, or may not, be the same as your Windows username but you should avoid spaces or special characters in it. The password should be different to your Windows password; you will need to enter it when installing or updating software at the Linux command line.
Set up the ubuntu command line
  • Note that you can use ubuntu commands and Linux software to modify your regular files on Windows. In general is better if you do not use Windows programs to modify the ubuntu files (by which we mean the ubuntu system files and the files in your ubuntu home space) and it is easier to make regular backups if you keep all your working files in your usual Windows folders. You can set up links so that you can access them from the command line:
    Quote
    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 .
    You 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.
  • Substitute 'Downloads' and repeat the above for any other folders that you would like to be able to access from the command line while running easyMelts, such as 'Documents' or 'Desktop'.
  • Finally before we continue to the next step, we want to move a settings file that may be overwritten. The original Ubuntu WSL didn't have this file, but the Ubuntu 20.04 LTS version does.
    Quote
    cd
    ... this just ensures that you are in your ubuntu home directory
    mv .profile profile_backup
    ... where there is a space before the '.' but not after; a file beginning with with '.' is a hidden file in Linux
Set up easyMelts
This sets up the DISPLAY variable that easyMelts will need. It also makes a 'bin' folder, which is short for 'binary' and is a folder where we will put a link (shortcut) to easyMelts. It will set the Path to include the 'bin' folder,  so that you can run easyMelts from anywhere on the system.  Open ubuntu, if it is not already open:
Quote
cd
... 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)
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
This last command just prints the file we just downloaded, so we can check that it downloaded OK before using it. The output should include this:
Quote
# For the Rhyolite-MELTS graphical user interface on the Windows Subsystem for Linux with Xming
if [[ $(uname -r) =~ Microsoft ]] ; then
   export DISPLAY=:0
fi
If it does then type you can continue.
Quote
cat profile_backup profile > .profile
... where there is a space before the '.' but not after; a file beginning with with '.' is a hidden file in Linux
exit
... this closes ubuntu; when you next open it the settings file will be read and acted upon

This step sets up a link to easyMelts. Assuming easyMelts is in your Download folder:
Quote
cd ~/bin
... '~' is shorthand for your home space on ubuntu
ln -sf ../Downloads/easyMelts .
... see the 'Set up the ubuntu command line' section for an explanation of the 'ln' command; note that '..' means up one directory level
Since we added the 'bin' folder to the Path you will be able to open easyMelts from any folder by typing 'easyMelts'. (Without these settings you would need to navigate to the folder containing easyMelts and type './easyMelts', where '.' means the current directory.)[/li][/list]

You will need to install an X server. We recommend X410 for simplicity, and because is has build in support forHiDPI screens. It is a paid app with a nominal price of ~$50, but is seemingly always on sale so the price is actually closer to $10. To install X410 you will need a Microsoft account. There is a free trial option or you can buy it if you have a payment option set up. Open the Microsoft Store and search for 'X410'.

Start X410 by double-clicking. Test easyMelts by typing 'easyMelts' at the command line. If the display is still very small, x410 has an option to fix the scaling. Scroll down to the 'Built-in DPI Scaling: section of Running X410 on HiDPI Screens. You will probably be able to use 'High Quality' for easyMelts. See other Howto entries on the Choung Networks site for more details, including how to use X410 with WSL 2.

You will not need to repeat all these steps next time. Just select 'Ubuntu' from the Windows Terminal program, navigate to the folder where your input (.melts) files are, and type 'easyMelts'.

Any problems, please let me know,
Paula
2
easyMelts / Notes for Mac users (including Catalina security settings)
« Last post by Paula on November 20, 2020, 04:19:21 pm »
On macOS Catalina, the first time you try to run alphaMELTS 2 it may fail due to new security settings. Go to System Preferences -> Security & Privacy->General tab and select "Allow anyway", and then try again.

On Mac, if you double-click easyMelts it will open in your home space, and the output files will be written there. This can be confusing as by default the user's "home" directory is not displayed in Finder. You can add it by going to Finder Preferences and clicking the check box next to the house icon, which will have your username next to it. Alternatively, open the Terminal program, navigate to the folder easyMelts is in and type "./easyMelts" (this is the method recommended in the easyMelts README).

Remember to move all the .tbl files out of the folder between rhyolite-MELTS runs. Otherwise, if the phase assemblage differs between run 1 and run 2, melts.out and all the .tbl files for phases in run 2 will be overwritten but any other .tbl files from run 1 will still be hanging around. If you use the Combine tbl function from MELTS for Excel you will get a mixture of results from both runs.
3
alphaMELTS 2 text-menu interface / Notes for macOS Catalina users
« Last post by Paula on November 20, 2020, 04:07:00 pm »
On macOS Catalina, the first time you try to run alphaMELTS 2 it may fail due to new security settings. Go to System Preferences -> Security & Privacy->General tab and select "Allow anyway", and then try again.

In macOS Catalina the default shell is zsh, but if you upgraded from Mojave then you may still have bash. One way to check is to open the Terminal program and type 'echo $0' (that is 'zero', not uppercase 'o') at the command line. If it says '-zsh' then you will need to type 'bash -l' and press enter (that is lowercase 'L', not 'one') each time you open Terminal, before starting the run_alphamelts.command script. See the documentation for more details.
4
easyMelts / easyMelts display is tiny on high-resolution screen on Windows
« Last post by Paula on November 18, 2020, 08:28:41 pm »
easyMelts is developed by Einari Suikkanen and is not part of alphaMELTS 2, but it is recommended for getting started on alphaMELTS 2 / alphaMELTS for MATLAB/Python. On a Windows laptop with a high-resolution screen, such as the Surface, you may find that the easyMELTS display looks tiny.

Most Windows X server software, including easyMelts, incorrectly reports to Windows that it is able to deal with the high resolution. The problem is not restricted to X. Other software, such as Adobe Illustrator, Photoshop, CorelDraw and Dreamweaver have shown similar behavior. A workaround involves adding a text file (the 'manifest') and telling Windows to handle the application scaling for the high resolution screen. The external manifest hack requires admin access. Also, note that you may have to repeat some of the steps after one of the major biannual Windows updates.

The method outlined here borrows from write-ups by scrambler, Luis, and Dan Antonielli. This version uses the command line (cmd.exe) so that you can copy and paste the commands. If you do not have admin access, or are not comfortable with editting the registry, you can use Windows' Ease of Access tools as a workaround; scroll down to the bottom for this alternative.

External Manifest file (requires admin access)

First we need to open cmd.exe as an Administrator. You can find 'Command Prompt' it in the Start Menu, under 'Windows System'. Right-click 'Command Prompt', then 'More', then 'Run as administrator'. Or right-click the Start button, then 'Run', then type 'cmd.exe'; then right-click the Command Prompt icon in the task bar, then right-click 'Command Prompt' and 'Run as administrator'. You may need to select 'Yes' and/or enter your Windows password.

The Command Prompt will open in the C:\Windows\system32 directory. First navigate to a folder in your home space, somewhere to put a backup file that you will be able to find. For example, 'cd C:\Users\your_username\folder_name'. Next right-click where is says 'Administrator: Command Prompt' at the top of the window and choose 'Properties'. Make sure 'Enable Ctrl key shortcuts' is checked. You can now copy (control-C) and paste (control-V) commands from here to the command line.

Quote
reg export HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide sidebyside.reg /y

... this backs up the relevant Registry key
... in the unlikely event that something does not work just double-click the 'sidebyside.reg' file to restore the previous state

reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide /v PreferExternalManifest /t REG_DWORD /d 0x1

... this tells Windows to look in an external file (if available) to see whether a given application can handle the high-resolution screen

Download the manifest.txt file from Dan Antonielli's page. The next instructions assume that your browser saves files in 'Downloads' and that easyMelts is in your Documents folder, but you can adjust accordingly:
Quote
cd C:\Users\your_username\Downloads
copy manifest.txt "C:\Users\your-username\Documents\easeyMelts.exe.manifest"

Using Magnifier (does not require admin access)

Open Settings (click either the Start button in the bottom LH corner or the Notification icon bottom RH corner; then click the cog icon). Type 'Magnifier settings' in the search box. Reduce the Zoom level increments to 25%. You can experiment with the Magnification zoom level but something in the range 150 - 200% is likely to work. You probably want to leave the 'Start Magnifier...' boxes unchecked and put the Magnifier mode in 'Full Screen'. Turn the Magnifier on, scroll down and right-click the Magnifier icon and choose 'Pin to taskbar'. Now if you turn off the Magnifier (by clicking the 'X' in the top RH corner of the Magnifier popup), you can easily turn it on again by selecting it from the taskbar; the cog on the Magnifier popup is a shortcut to the Settings page.

Paula
5
Synopsis
Quote
run-alphamelts.command [-h] [-f input_file] [-m melts_file] [-n file_name] [-t table_file] [-b [batch_file] | -a [batch_file]] [-p output_path] [-l log_file] [-c column_file] [-o output_file] [-d] [-x]

Square brackets surround each optional part in the command line and the pipe (|) denotes 'or'. (Do not actually type [, ] or |.) Each option is described below in Command line switches. The order of the switches should not matter except that '-h' ('help!') should be used alone and will be ignored if it follows any others.

Note that if you double-click the run-alphamelts.command link (it is recommended that you click the link and not the actual script in installation_folder) you will generally need to make an output_path folder and use it to set the '-p' switch, else the output files will end up in the links_folder.

Command line switches

-h
If this switch is first, run-alphamelts.command prints the list of all available switches, with a brief explanation of each entry, and then either aborts or asks the user if they wish to start again (depending whether run-alphamelts.command was invoked from the terminal command line or link to it was double-clicked). It also prints the version number of the script and which versions of the alphamelts execitable it should be compatible with.

...More coming soon

6
THIS IS A PLACEHOLDER AND WILL BE UPDATED SHORTLY

This topic will show you how to work through one page of the MELTS tutorial, using the new version of the alphaMELTS program:

Testing MELTS installation using the sample input file - Try this first

The page is part of the 'Getting Started: Testing and Examples' section of the MELTS manual, written by Mark Ghiorso for the original graphical-user-interface (GUI) version. The idea of this topic is to show the similarities and differences between his GUI and our text-menu versions of MELTS and how to reproduce rhyolite-MELTS GUI MELTS calculations in alphaMELTS 2. It should be useful for newcomers to MELTS / alphaMELTS users, or for alphaMELTS users who want to use the rhyolite-MELTS and mixed H2O-CO2 fluid models, and for those who are familiar with the the rhyolite-MELTS GUI version. This post is for the version of alphaMELTS 2.0.

The alphaMELTS 2 beta is installed, alongside alphaMELTS 1.9 and the rhyolite-MELTS GUI, in the VM alphaMELTS software that can be downloaded from the alphaMELTS download site. The description in this particular example is for running within the virtual machine (i.e. on Linux) but should apply to other operating systems once alphaMELTS 2 is publicly available (the screen output here is actually from a run on Mac).

This example uses an input file that has been modified from the Morb.melts file used in the original tutorial. The modifications simply bring it up to date with the latest GUI versions of MELTS and do not affect software results. Early versions of the MELTS software used a 'Mode: Fractionation' line in the input file to select fractional crystallization, whereas in later versions this is replaced by 'Mode: Fractionate Solids'. Also some phases were suppressed in the original tutorial because the solid solution models were still being developed / tested. None of the phases are stable for the run conditions of the tutorial example, so suppressing these phases has no effect. However, the 'Suppress: ' lines can cause read errors as the names of some phases have changed slightly since (see here).

A version of the modified Morb.melts, with the correct line endings for Linux and Mac, is included in the VM alphaMELTS installation (in a folder called 'tutorial', within the 'MELTS' folder in the melts user's homespace). Note that the version of Morb.melts available on the MAGMA Source server is the same except that it has Windows line endings but the morb.melts version linked on the Mac OS X download site differs slightly in Cr2O3 content and in the P-T conditions.

In VM alphaMELTS there is a double-clickable alphaMELTS icon on the Desktop, but it is for alphaMELTS 1.9. Instead, click the LXTerminal icon that is located next to the start menu. Navigate to the tutorial folder by typing 'cd MELTS/tutorial'. alphaMELTS 2 is started by typing 'run-alphamelts.command' (note the dash, '-'; 'run_alphamelts.command' with an underscore, '_',  is for alphaMELTS 1.X). The script will ask whether you would like to add some command line switches. Unlike alphaMELTS 1.X, the settings_file is optional in alphaMELTS 2. For now we won't use one, so just press return for the default settings.

Quote
Mac:tutorial psmith$ run-alphamelts.command
No command line switches specified! Please enter switches now (or press return for defaults).

The alphamelts program will detect that there are no settings and print the same set of questions as the GUI for choosing the thermodynamic model. There is more explanation of the various MELTS versions in the MELTS decision tree. However, rhyolite-MELTS 1.0.2 should give identical results to the original MELTS model for the bulk composition used here. So, choose 'n' and press enter.

Quote
Checking for updates...

ALPHAMELTS_VERSION not set!

---> 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).

*** alphaMELTS 2.0 (beta Aug 27 2018 19:48:27) -- rhyolite-MELTS P-T path w/ or w/o liquid ***

... etc ...

Choose:
 1. Read MELTS file to set composition of system
 2. Twiddle starting or continuation parameters
 3. Single (batch) calculation
 4. Execute (follow path, mineral isograd or melt contour)
 5. Set fO2 buffer
 6. Set H2O (ppm) or aH2O
 7. Impose initial entropy, enthalpy or volume
-1. Turn off menu display for options 1-18
 0. QUIT

Several menu items are missing in the beta version of alphaMELTS 2. Some of these will be available soon; others will take a little longer. Choose option 1 to read in 'Morb.melts'. Note that you only need type the first letter(s) of Morb.melts, and then press the 'tab' button to complete the name:

Quote
Your choice: 1
MELTS filename: Morb.melts
Input file read. Waiting for command or user input.

In alphaMELTS 1.X, some lines of Morb.melts were ignored so only those lines that were used were echoed back. alphaMELTS 2 uses all lines in Morb.melts, so it does not print them unless there is a problem. Although the front-end program looks very different to the one in the original tutorial, the settings for the underlying MELTS algorithm are now exactly the same as described in the 'Four things have been accomplished:' list there. You can verify that the initial pressure and temperature are set correctly with option 2:

Quote
Your choice: 2
Starting Temp = 1200.000000 C
 Type new temperature (or 0 to keep old one): 0
Starting Pressure = 500.000000 bars
 Type new start pressure (or 0 to keep old one): 0

The phase diagram mode of alphaMELTS is not yet hooked up to the menu in alphaMELTS. However, a simple 'Find Liquidus' option has been built into the next step of the calculation. So go straight to option 3, the 'Single (batch) calculation' and choose the option to use the liquidus temperature:

Quote
Your choice: 3
Starting guess to use:
0. Norm-calculated subsolidus assemblage
1. Superliqidus starting guess at current temperature.
2. Superliqidus starting guess at liquidus temperature.
Choose: 2
<> Found the liquidus at T = 1220.31 (C).
...Checking saturation state of potential solids.
...Projecting equality constraints.
...Minimizing the thermodynamic potential.
...Checking saturation state of potential solids.
<> Stable liquid solid assemblage achieved.
Initial alphaMELTS calculation at: P 500.000000 (bars), T 1220.312500 (C)
liquid:    SiO2 TiO2 Al2O3 Fe2O3 Cr2O3  FeO  MnO  MgO  NiO  CoO   CaO Na2O  K2O P2O5  H2O
100.350 g 48.51 1.01 17.58  0.89  0.03 7.56 0.00 9.07 0.00 0.00 12.41 2.64 0.03 0.08 0.20
Activity of H2O = N/A  Melt fraction = 1

Note, this uses the 'Find Liquidus' algorithm from the GUI. It is only really reliable if used before any other phases are added to the assemblage, which is why is has been incorporated into the initial calculation step. This 'Find Liquidus' routine may give incorrect results if used later in the run, and is also unsuitable for water saturated systems. alphaMELTS has a phase diagram mode that can bracket F=1.0 (or another melt fraction contour) and includes a 'Find wet liquidus' option. This will be added to alphaMELTS 2 soon and will provide alternative ways to do the initial 'Find Liquidus' calculation.

Now choose option 4 to continue the calculation from the current conditions, incrementing the temperature by 3 oC until the temperature hits the Final Temperature (1000 oC). At each stage crystallized solids will be removed:

Quote
Your choice: 4
...Checking saturation state of potential solids.
...Projecting equality constraints.
...Minimizing the thermodynamic potential.
...Checking saturation state of potential solids.
<> Stable liquid solid assemblage achieved.
Initial alphaMELTS calculation at: P 500.000000 (bars), T 1220.312500 (C)
liquid:    SiO2 TiO2 Al2O3 Fe2O3 Cr2O3  FeO  MnO  MgO  NiO  CoO   CaO Na2O  K2O P2O5  H2O
100.350 g 48.51 1.01 17.58  0.89  0.03 7.56 0.00 9.07 0.00 0.00 12.41 2.64 0.03 0.08 0.20
Activity of H2O = N/A  Melt fraction = 1

... etc ...

...Checking saturation state of potential solids.
...Adding the solid phase apatite to the assemblage.
...Projecting equality constraints.
...Minimizing the thermodynamic potential.
...Checking saturation state of potential solids.
<> Stable liquid solid assemblage achieved.
alphaMELTS at: P 500.000000 (bars), T 1001.312500 (C)
liquid:    SiO2 TiO2 Al2O3 Fe2O3 Cr2O3   FeO  MnO  MgO  NiO  CoO  CaO Na2O  K2O P2O5  H2O
12.5185 g 58.75 0.53  8.91  1.50  0.00 14.11 0.00 0.72 0.00 0.00 5.08 7.98 0.20 0.62 1.60
Activity of H2O = N/A  Melt fraction = 0.981517
olivine: 0.059366 g, composition (Ca0.01Mg0.25Fe''0.75Mn0.00Co0.00Ni0.00)2SiO4
clinopyroxene: 0.025007 g, composition cpx Na0.03Ca0.81Fe''0.55Mg0.50Fe'''0.05Ti0.02Al0.16Si1.89O6
feldspar: 0.127634 g, composition K0.00Na0.59Ca0.41Al1.41Si2.59O8
spinel: 0.018452 g, composition Fe''1.57Mg0.10Fe'''0.55Al0.10Cr0.00Ti0.68O4
apatite: 0 g, composition Ca5(PO4)3OH
Minimum Temperature reached
Successful return from alphamelts...

Choose:

Once it has finished executing, choose option 0 to quit (as opposed to shutting the terminal window). You should find 7 new text files have been generated, which are described in the alphaMELTS 1.X documentation. Note that alphaMELTS 2 has another optional line for the melts_file that can take one of four values:

  • 'Output: txt' - alphaMELTS-style output (see the alphaMELTS documentation file)
  • 'Output: tbl' - GUI-style output, including melts.out and .tbl files that can be used with Excel-based tools for tabulation and plotting
  • 'Output: both' - alphaMELTS and GUI output
  • 'Output: none' - no text output

By default the output is alphaMELTS-style only. The output will differ from the original slightly from the as GUI Liquid table gives thermodynamic quantities, such as entropy, for the liquid whereas the main output table in alphaMELTS, 'System_main_tbl.txt', gives system values instead (including a small amount of solids prior to fractionation). For GUI-style output, there will also be slight discrepancies between the newly generated melts.out file and the original output file. The most striking differences are the addition of Mn, Co and Ni to the olivine solid solution model, though none of these components are in the Morb.melts bulk composition, and splitting of the pyroxene phase into separate clinopyroxene and orthopyroxene phases (see here). Either way, the phase compositions are essentially the same though and differences in the phase masses are a few hundredths of a gram, at most.

If there are any problems or feedback about this post then please let me know.

Cheers!
Paula
7
alphaMELTS 2 is currently a little more sensitive to whether the line endings are correct for the operating system (Mac/Linux versus Windows) than alphaMELTS 1.9 was. On Windows it will help avoid line ending problems if the versions of alpahMELTS 2, easyMelts, and alphaMELTS for MATLAB/Python are all the same i.e. all native Windows, or all Windows Subsystem for Linux. That may not be possible and anyway downloaded files or files that you are sent may have the opposite line endings to what you need.

If alphaMELTS fails to read all lines in one of your input files, fixing the line endings might solve the problem. To do this we provide a Perl script, file-format.command, that is installed at the same time as run-alphamelts.command.

Running install2.command on Linux / Mac will automatically update the line endings of all .command scripts, but note that downloaded example files will generally have Windows line endings. If alphaMELTS is installed correctly you should be able to open the terminal, navigate to where your input files are and type something like this:
Quote
file-format.command melts_files
... where melts_files is a list of .melts files.
file-format.command *.melts *.txt
... where * is a wildcard that means all .melts and .txt files in the current directory will be processed
You should see a list of "Processed melts_file" type messages, one for each file.

If you just type "file-format.command" or if you double-click the file-format.command link in the links_folder (usually "~/bin" or "~/Documents/bin", where '~' means your user home space) then you can add a list of files to be processed once the script starts. You can drag and drop the files from Finder, Explorer or another file manager. (The '*' wildcard will not work in this case, though.)

For more information on dragging and dropping files onto the command see the "Interactive Operation" section of the old alphaMELTS online manual (click here to go to that section on a no-frames page).
8
alphaMELTS 2 text-menu interface / Notes for MacOS users with Catalina
« Last post by Paula on November 18, 2020, 10:43:51 am »
On macOS Catalina, the first time you try to run alphaMELTS 2 it may fail due to new security settings. Go to System Preferences -> Security & Privacy and select "Allow anyway".

In macOS Catalina the default shell is zsh, but if you upgraded from Mojave then you may still have bash. One way to check is to open the Terminal program and type 'echo $0' (that is 'zero', not uppercase 'o') at the command line. If it says '-zsh' then you will need to type 'bash -l' and press enter (that is lowercase 'L', not 'one') each time you open Terminal, before starting the run_alphamelts.command script. See the documentation for more details.
9
Thank you for the assistance!
10
Hi Ritabrata,

You are right that viscosity is not in the output from MELTS for Excel. If you use one of the other GUI's (either the original rhyolite-MELTS or easyMelts) and then the "Combine tbl" function on the Tools tab in MELTS for Excel then viscosity will be the last column in the "liquid" tab of the output. You can get more information on these options at: https://magmasource.caltech.edu/alphamelts/links.php

As noted above, the viscosity model used in the GUI is rather old. The code for rhyolite-MELTS on the ENKI Portal has an option to use Giordano D, Russell JK, Dingwell DB (2008), Viscosity of magmatic liquids: A model. EPSL 271, 123-134. So far as I know the only way to access it, without compiling the code yourself, is via alphaMELTS for MATLAB/Python.

Paula
Pages: 1 2 3 4 5 6 7 8 9 10