PhreeqcUsers Discussion Forum

Registrations currently disabled due to excessive spam. Please email phreeqcusers at gmail.com to request an account.
Welcome Guest
 

  • Forum Home
  • Login
  • Register

  • PhreeqcUsers Discussion Forum »
  • Processes »
  • Reactive transport modelling »
  • controlling the verbosity of RunCells function in PhreeqcRM
« previous next »
  • Print
Pages: [1]   Go Down

Author Topic: controlling the verbosity of RunCells function in PhreeqcRM  (Read 4073 times)

hjung

  • Contributor
  • Posts: 7
controlling the verbosity of RunCells function in PhreeqcRM
« on: 19/03/18 21:41 »
Hi,

Wondering if there is a way to suppress the following prints on the screen

          Estimated efficiency of chemistry without communication: 95.0146
          Cells shifted between threads     0
          Time rebalancing load             0.000233

          Estimated efficiency of chemistry without communication: 94.6611
          Cells shifted between threads     178
          Time rebalancing load             0.008419

invoked by RunCells function.
I'm not quite sure the meaning of those outputs. Why sometimes are cells shifted while they sometimes doesn't?
Any help would be greatly appreciated.

Many thanks in advance,
hjung
Logged

dlparkhurst

  • Global Moderator
  • *****
  • Posts: 4222
Re: controlling the verbosity of RunCells function in PhreeqcRM
« Reply #1 on: 20/03/18 00:28 »
These prints to the screen are related to the parallelization. The cells that need to be calculated are distributed among multiple processes (MPI) or threads (OpenMP). You are using the threaded version. Ideally, all of the threads spend the same amount of time performing their tasks, so that multiple CPUs are used optimally. If the estimated efficiency is 95 percent or better, then there is no adjustment of the sets of cells that are run by each processor. If the estimated efficiency is less than 95 percent, then cells are shuffled among processors to attempt to optimize the use of the processors.

The prints that you show list the efficiency, the number of cells shifted, and the time spent calculating the optimal distribution and transfer of cells.

In C++, the prints are controlled by the method SetScreenOn (t/f); similar for C or Fortran (https://wwwbrr.cr.usgs.gov/projects/GWC_coupled/phreeqcrm/index.html).
Logged

  • Print
Pages: [1]   Go Up
« previous next »
  • PhreeqcUsers Discussion Forum »
  • Processes »
  • Reactive transport modelling »
  • controlling the verbosity of RunCells function in PhreeqcRM
 

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