Author Topic: How to input the isentropic_melt_env.txt by run_alphamelts.command  (Read 421 times)

zackary2018

  • Newbie
  • *
  • Posts: 6
    • View Profile
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

  • Administrator
  • Hero Member
  • *****
  • Posts: 411
    • View Profile
    • My GPS Division profile
Re: How to input the isentropic_melt_env.txt by run_alphamelts.command
« Reply #1 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

zackary2018

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: How to input the isentropic_melt_env.txt by run_alphamelts.command
« Reply #2 on: July 08, 2019, 08:27:01 pm »
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

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

  • Administrator
  • Hero Member
  • *****
  • Posts: 411
    • View Profile
    • My GPS Division profile
Re: How to input the isentropic_melt_env.txt by run_alphamelts.command
« Reply #3 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/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
« Last Edit: May 12, 2020, 11:50:19 am by Paula »

zackary2018

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: How to input the isentropic_melt_env.txt by run_alphamelts.command
« Reply #4 on: July 08, 2019, 09:10:05 pm »
Hi,

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

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

  • Administrator
  • Hero Member
  • *****
  • Posts: 411
    • View Profile
    • My GPS Division profile
Re: How to input the isentropic_melt_env.txt by run_alphamelts.command
« Reply #5 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

zackary2018

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: How to input the isentropic_melt_env.txt by run_alphamelts.command
« Reply #6 on: July 09, 2019, 08:50:00 am »
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)?




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

  • Administrator
  • Hero Member
  • *****
  • Posts: 411
    • View Profile
    • My GPS Division profile
Re: How to input the isentropic_melt_env.txt by run_alphamelts.command
« Reply #7 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


zackary2018

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: How to input the isentropic_melt_env.txt by run_alphamelts.command
« Reply #8 on: July 09, 2019, 10:51:48 am »
You really save me! I forgot to add the path! Problem fixed.

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