David, here's a little suggestion: I had some problems with calling PHREEQC from Zope, as one can give error_file as argv[4], but NOT the log_file from below, which is hard-coded to CURRENT_DIR/phreeqc.log giving access problems. My quick'n'dirty solution was to change that to "/tmp/phreeqc.log" and make. Not really cool, but OK. Basically, why have 2 logs ? And if so, why not make the second one an argv[5]? Greets, Tobias L227, main.c /* * Open file for errors */ if ((log_file = fopen("phreeqc.log","w")) == NULL) { error_msg ("Can't open log file, phreeqc.log.", STOP); }
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/msg00299.html
Email:dlpark@usgs.gov
Last modified: $Date: 2005-09-13 21:04:21 -0600 (Tue, 13 Sep 2005) $
Visitor number [an error occurred while processing this directive] since Jan 22, 1998.