Phreeqc Parallel

9 views
Skip to first unread message

Spencer Whitman

unread,
Apr 4, 2023, 12:53:33 PM4/4/23
to pitlakq-users
Is the phreeqc parallel option implemented?

If so, is there some information for setting it up?

I tried to set the parallel option to "True", and got the following error message:

runtime: 0:00:03.569018
Traceback (most recent call last):
  File "C:\Users\Spencer\anaconda3\envs\pitlakq39\Scripts\pitlakq-script.py", line 33, in <module>
    sys.exit(load_entry_point('PITLAKQ==1.6.1', 'console_scripts', 'pitlakq')())
  File "C:\Users\Spencer\anaconda3\envs\pitlakq39\lib\site-packages\pitlakq\metamodel\running\run_pitlakq.py", line 517, in main
    args.func(args)
  File "C:\Users\Spencer\anaconda3\envs\pitlakq39\lib\site-packages\pitlakq\metamodel\running\run_pitlakq.py", line 450, in run_project
    run(args.project_name)
  File "C:\Users\Spencer\anaconda3\envs\pitlakq39\lib\site-packages\pitlakq\metamodel\running\run_pitlakq.py", line 531, in run
    model = Pitlakq(config,
  File "C:\Users\Spencer\anaconda3\envs\pitlakq39\lib\site-packages\pitlakq\metamodel\running\run_pitlakq.py", line 100, in __init__
    self.init_sub_models()
  File "C:\Users\Spencer\anaconda3\envs\pitlakq39\lib\site-packages\pitlakq\metamodel\running\run_pitlakq.py", line 221, in init_sub_models
    self.lake = lake.Lake(self.config,
  File "C:\Users\Spencer\anaconda3\envs\pitlakq39\lib\site-packages\pitlakq\submodels\lake\lake.py", line 68, in __init__
    self.first_time_step()
  File "C:\Users\Spencer\anaconda3\envs\pitlakq39\lib\site-packages\pitlakq\submodels\lake\lake.py", line 116, in first_time_step
    self.phreeqc = phreeqc.Phreeqc(self.config,
  File "C:\Users\Spencer\anaconda3\envs\pitlakq39\lib\site-packages\pitlakq\numericalmodels\existingmodels\phreeqc\phreeqc.py", line 78, in __init__
    self.runners.append(PhreeqcRunner(self.config,
  File "C:\Users\Spencer\anaconda3\envs\pitlakq39\lib\site-packages\pitlakq\numericalmodels\existingmodels\phreeqc\phreeqc_runner.py", line 45, in __init__
    phreeqc_screen=make_new_path('phreeqc_screen'),
  File "C:\Users\Spencer\anaconda3\envs\pitlakq39\lib\site-packages\pitlakq\numericalmodels\existingmodels\phreeqc\phreeqc_runner.py", line 41, in make_new_path
    return change_base_path(self.ram_path, getattr(config, name))
AttributeError: 'Config' object has no attribute 'phreeqc_screen'

Dr. Mike Mueller

unread,
Apr 5, 2023, 1:39:29 AM4/5/23
to pitlak...@googlegroups.com
Am 04.04.23 um 18:53 schrieb Spencer Whitman:
> Is the phreeqc parallel option implemented?

It is. But it requires a rather complex cluster setup.
The next release will have a parallel option for one computer.
> --
> You received this message because you are subscribed to the Google Groups
> "pitlakq-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email
> to pitlakq-user...@googlegroups.com
> <mailto:pitlakq-user...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/pitlakq-users/4774667f-525a-49ef-9ef2-859d5284ecfen%40googlegroups.com <https://groups.google.com/d/msgid/pitlakq-users/4774667f-525a-49ef-9ef2-859d5284ecfen%40googlegroups.com?utm_medium=email&utm_source=footer>.

Reply all
Reply to author
Forward
0 new messages