[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question




> in ms-dos, I write this program

> c:
> cd program files
> cd phreeqc
> phreeqc name.inp name.out phreeqc.dat sortie1.res

> but the program don't start

> How to start automatically and at the end of the simulation, how quit
phreeqc



You need to install the batch version of phreeqc 2.7 (available at the web
address given below). If you have done that, you can write a batch file
that contains the following command that will run phreeqc as a batch
program.

phreeqc input output "c:\Program Files\Usgs\phreeqc2.7\phreeqc.dat" screen

If you want to call phreeqc more than once in the .bat file, then you must
use the "call" statement:

call phreeqc input output "c:\Program Files\Usgs\phreeqc2.7\phreeqc.dat"
screen
call phreeqc input1 output1 "c:\Program Files\Usgs\phreeqc2.7\phreeqc.dat"
screen

David

David Parkhurst (dlpark@xxxxxxxx)
U.S. Geological Survey
Box 25046, MS 413
Denver Federal Center
Denver, CO 80225

Project web page: https://wwwbrr.cr.usgs.gov/projects/GWC_coupled




Project Home Page
Complete Water Resources Division Software
USGS Home Page
Water Resources Division Home Page
NRP Home Page
Help Page
USGS Privacy Statement       

Please note that some U.S. Geological Survey (USGS) information accessed through this page may be preliminary in nature and presented prior to final review and approval by the Director of the USGS. This information is provided with the understanding that it is not guaranteed to be correct or complete and conclusions drawn from such information are the sole responsibility of the user.

Any use of trade, product, or firm names in this publication is for descriptive purposes only and does not imply endorsement by the U.S. Government. 


The URL of this page is: https://wwwbrr.cr.usgs.gov/projects/GWC_coupled/phreeqc/mail/msg00597.html
Email:dlpark@usgs.gov
Last modified: $Date: 2005-09-13 21:04:21 -0600 (Tue, 13 Sep 2005) $
Visitor number 1773 since Jan 22, 1998.