MELTS Software Users

General Forum => Website issues, and Miscellaneous => Topic started by: oliviahogg on October 04, 2022, 01:17:41 AM

Title: How to specify the output files in MELTS for python?
Post by: oliviahogg on October 04, 2022, 01:17:41 AM
I am running RhyoliteMELTS through my jupyter notebook and the main output files are: Liquid_comp_tbl.txt, Bulk_comp_tbl.txt, Solid_comp_tbl.txt, Pahse_main_tbl.txt, System_main_tbl.txt.

I'd like the code to return the Phase_mass_tbl.txt and Phase_vol_tbl.txt files in addition to the above but I am not sure on the commands needed to do this or whether these outputs are specifically for alphaMELTS and not MELTS for python.

Any guidance would be much appreciated :)
Title: Re: How to specify the output files in MELTS for python?
Post by: Paula on October 04, 2022, 04:40:53 PM
It's actually the Perl script that writes those files. If you have alphaMELTS 2 installed (which in your case, I know you have) then after the run finishes open a terminal. Navigate to where the output files are and type:

run-alphamelts.command -x

That will process the Phase_main_tbl.txt file and generate the last two files without doing any further calculations.

Paula