PhreeqcUsers Discussion Forum

Please email phreeqcusers at gmail.com with your name and affiliation to request an account.
Welcome Guest
 

  • Forum Home
  • Login
  • Register

  • PhreeqcUsers Discussion Forum »
  • Resources »
  • PHREEQC news and updates »
  • Using PHREEQC with Terminal (Mac)
« previous next »
  • Print
Pages: [1]   Go Down

Author Topic: Using PHREEQC with Terminal (Mac)  (Read 20703 times)

Charlie

  • Admin
  • Posts: 158
Using PHREEQC with Terminal (Mac)
« on: 05/07/14 09:42 »
If you prefer to use Terminal to run PHREEQC on your Mac (instead of the AppleScript application called "run phreeqc") the following steps (post installation) will help:

1) find and change the phreeqc.3.18.xxxx folder name to just phreeqc (this makes it easier later) (I refer to this as the main phreeqc folder below..)

2) move this whole main phreeqc folder to your Home Directory: Macintosh HD/Users/yourname

3) drag the phreeqc application from the Bin folder (in the main phreeqc folder) into the main phreeqc folder

4) copy all the database files from the database folder and paste into the main phreeqc folder

5) open terminal and type: cd phreeqc 

press enter

6) type: ./phreeqc  (this runs the phreeqc executable)

7) At the request, type the name of your chosen input script file (this must be located in the main phreeqc folder also).  You will not need to type the file path as well.

8) you can go with the default example.out or type a new output file name (and or file path if you want..)

9) press enter to choose the default database or select another database. i.e. type: llnl.dat

Phreeqc will then complete the calculation and Terminal remains open so that you can now open the output file: vi example.out

Please feel free to make any comments regarding this.
« Last Edit: 06/07/14 09:05 by Charlie »
Logged

dlparkhurst

  • Global Moderator
  • *****
  • Posts: 4315
Re: Using PHREEQC with Terminal (Mac)
« Reply #1 on: 05/07/14 23:30 »
Brian Marshall has compiled PHREEQC version 3.1.2 for Macs (available at http://wwwbrr.cr.usgs.gov/projects/GWC_coupled/phreeqc/). The readme file for Mac describes how to get this batch version working on Mac (http://wwwbrr.cr.usgs.gov/projects/GWC_coupled/phreeqc/README.Mac.TXT).
Logged

  • Print
Pages: [1]   Go Up
« previous next »
  • PhreeqcUsers Discussion Forum »
  • Resources »
  • PHREEQC news and updates »
  • Using PHREEQC with Terminal (Mac)
 

  • SMF 2.0.19 | SMF © 2021, Simple Machines | Terms and Policies
  • XHTML
  • RSS
  • WAP2