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 input the isentropic_melt_env.txt by run_alphamelts.command

Started by zackary2018, July 08, 2019, 06:06:52 PM

Previous topic - Next topic

zackary2018

Hi,

I am sorry to bother but I have a small question. I am trying to run a polybaric continuous mantle melting using pMELTS. And I have trouble in reading the isentropic_melt_env.txt by run_alphamelts.command. I type [-f isentropic_melt_env.txt] after opening the run_alphamelts.command, and the program says "alphamelts is not recognized as an internal or external command, operable program or batch file"

What should I do next?

Zack

Paula

Hi,

It sounds like you might need to set the Path. Did you run install.command? Which Windows and Perl versions do you have?

Paula

zackary2018

Hi,

Thank you for the reply! I run it on Windows10. And I remember I have installed the Perl from the Strawberry Perl. What else can I do to set the Path?

Zack

Quote from: Paula on July 08, 2019, 06:13:56 PM
Hi,

It sounds like you might need to set the Path. Did you run install.command? Which Windows and Perl versions do you have?

Paula

Paula

Try rerunning install.command. It will probably redirect you to this forum post that explains how to set the path: http://goo.gl/Wg3n06

Then try running the appropriate tutorial, command line or double-click version (although the double-click version was first posted in 2014, both versions were updated to alphaMELTS 1.9 last year):

https://magmasource.caltech.edu/forum/index.php/board,12.0.html

zackary2018

Hi,

This link http://goo.gl/Wg3n0 is unavailable, can you send me a new one?

Quote from: Paula on July 08, 2019, 08:56:59 PM
Try rerunning install.command. It will probably redirect you to this forum post that explains how to set the path: http://goo.gl/Wg3n0

Then try running the appropriate tutorial, command line or double-click version (although the double-click version was first posted in 2014, both versions were updated to alphaMELTS 1.9 last year):

https://magmasource.caltech.edu/forum/index.php/board,12.0.html

Paula


zackary2018

Thank you Paula,

Thank you for your patience. I still can't fix this trouble. This is my first time using it and I am using a windows 10 system. I write down my steps below. Could you please have a check and tell me what's wrong when you are free?

1. Download windows_alphamelts_1-9.zip and strawberry-perl-5.30.0.1-64bit.msi
2. Install strawberry Perl
3. set the strawberry Perl as the recommended program to open the .command file
4. Install alphamelts by typing install.command in Command Prompt
5. I type 'return' for every step during the installing
6. I try the example in https://magmasource.caltech.edu/forum/index.php?topic=131.0 and follow their steps
7. the problem is when I type 'run_alphamelts.command -f FracXtalTutorial.txt' in the Command Prompt, it shows below:

'alphamelts' is not recognized as an internal or external command, operable program or batch file.
RUN_ALPHAMELTS.COMMAND WARNING: alphamelts may have crashed!

RUN_ALPHAMELTS.COMMAND WARNING: Cannot find output file "Phase_main_tbl.txt" (No such file or directory)
Please check that alphamelts ran properly.
Run again (y or n)?




Quote from: Paula on July 08, 2019, 09:32:03 PM
https://magmasource.caltech.edu/forum/index.php/topic,136.0.html

but install.command also gives brief instructions (which may be more updated to Windows 10).

Paula

Paula

Hi Zack,

It's been a really long time since I used the Strawberry Perl .msi installation, so I don't know if it makes a difference but it might work better if you follow these instructions (and allow install.command to register the .command file extension etc):
Quote
To install the alphaMELTS package: right-click 'install.command' to choose 'Open with...' and browse to the 'perl.exe' executable (e.g. strawberry_perl_folder\perl\bin\perl.exe).
Also, look carefully at what it prints before the questions, and whether there is a message about the Path setting. You may need to scroll up to see as there can be quite a bit of output.

Paula


zackary2018

You really save me! I forgot to add the path! Problem fixed.

Quote from: Paula on July 09, 2019, 09:20:51 AM
Hi Zack,

It's been a really long time since I used the Strawberry Perl .msi installation, so I don't know if it makes a difference but it might work better if you follow these instructions (and allow install.command to register the .command file extension etc):
Quote
To install the alphaMELTS package: right-click 'install.command' to choose 'Open with...' and browse to the 'perl.exe' executable (e.g. strawberry_perl_folder\perl\bin\perl.exe).
Also, look carefully at what it prints before the questions, and whether there is a message about the Path setting. You may need to scroll up to see as there can be quite a bit of output.

Paula