Skip to content

Commit

Permalink
Update examples
Browse files Browse the repository at this point in the history
  • Loading branch information
brenhinkeller committed Apr 28, 2024
1 parent 4995fef commit e2e9911
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions examples/MeltsExamples.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,16 @@
## --- # # # # # # # # # # # pMelts equil. batch melting # # # # # # # # # # # #

# # Download precompiled executable from caltech
# alphameltsversion = "linux_alphamelts_1-9"
# download("https://magmasource.caltech.edu/alphamelts/zipfiles/$alphameltsversion.zip","./$alphameltsversion.zip")
# run(`unzip -o $alphameltsversion.zip`);
# run(`mv $alphameltsversion/alphamelts_linux64 $alphameltsversion/alphamelts`);
alphameltsversion = "linux_alphamelts_1-9"
download("https://magmasource.caltech.edu/alphamelts/zipfiles/$alphameltsversion.zip","./$alphameltsversion.zip")
run(`unzip -o $alphameltsversion.zip`);
run(`mv $alphameltsversion/alphamelts_linux64 $alphameltsversion/alphamelts`);

# Note: melts_configure requires a working alphamelts installation.
# If you don't have alphamelts, you'll need to download, install, and
# configure it. The absolute path to the alphamelts perl script must be input here:
meltspath = "/usr/local/bin/run_alphamelts.command"
# meltspath = abspath("$alphameltsversion/run_alphamelts.command")

meltspath = abspath("$alphameltsversion/run_alphamelts.command")
# meltspath = "/usr/local/bin/run_alphamelts.command"

# The absolute or relative path to a direcory where you want to run MELTS -
# A number of configuration and output files will be written here.
Expand Down

0 comments on commit e2e9911

Please sign in to comment.