Click here to donate to keep PhreeqcUsers open
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Forum Home
Login
Register
PhreeqcUsers Discussion Forum
»
Conceptual Models
»
Incorporation PHREEQC in programming languages
»
PhreeqcRM: How to stop printing warning message to the screen
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: PhreeqcRM: How to stop printing warning message to the screen (Read 610 times)
Christinali91
Top Contributor
Posts: 30
PhreeqcRM: How to stop printing warning message to the screen
«
on:
January 19, 2021, 08:01:54 PM »
Hi David,
I hope you are having a wonderful day.
I am using RM_runstring to modify the equilibrium phase and OpenMP to parallel the code. This approach generated a lot of warning messages like "could not find EQUILIBRIUM_PHASES_MODIFY #, ignore modify data". In one of our previous discussion, you mentioned that this type of warning message wouldn't affect the results(
https://phreeqcusers.org/index.php/topic,1540.msg4969.html#msg4969
), so is there any way to stop printing these warning messages to the screen while the code running? I already have Ierr = RM_SetScreenOn(Id_phreeqc, 0) but it doesn't stop the warning messages.
Thanks so much for your help!
Best,
Logged
dlparkhurst
Top Contributor
Posts: 2928
Re: PhreeqcRM: How to stop printing warning message to the screen
«
Reply #1 on:
January 20, 2021, 02:24:07 AM »
I think if you use PRINT; -warnings 0, it will eliminate those warning messages. Make sure you run this statement through all of the workers with RunFile or RunString.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
PhreeqcUsers Discussion Forum
»
Conceptual Models
»
Incorporation PHREEQC in programming languages
»
PhreeqcRM: How to stop printing warning message to the screen