PhreeqcUsers Discussion Forum

Processes => Reactive transport modelling => Topic started by: Olasz Tamas on July 25, 2022, 02:34:10 PM

Title: PHAST Array allocation error
Post by: Olasz Tamas on July 25, 2022, 02:34:10 PM
Hi all,

when I am trying to run my PHAST modell (it completed runs already before, I put it aside for a few months), I get the following message:
array allocation failed: XP_init_thread

Any ideas what happened here?

Thanks,
Tamas
Title: Re: PHAST Array allocation error
Post by: dlparkhurst on July 25, 2022, 04:03:02 PM
It usually means that you ran out of memory. See if it runs with a coarser grid.
Title: Re: PHAST Array allocation error
Post by: Olasz Tamas on July 26, 2022, 03:01:50 PM
Thank you, it was actually a problem with the number of threads set to use. Now I have a convergence problem but thats a different issue.
Title: Re: PHAST Array allocation error
Post by: Olasz Tamas on August 02, 2022, 03:27:34 PM
Its me again. I was trying to work out the convergence error on my own but no luck. Even if I run my model with only distilled water, my model won't converge. I get the following messages:

Beginning transient simulation.

Beginning time step no.      1
     Beginning solute-transport calculation.
          H2O
          H
          O
          Charge
          C
          Ca
          Cl
          K
          N
          Na
          S
  Number of iterations is too few (<2); check convergence tolerance

  Number of iterations is too few (<2); check convergence tolerance

  Number of iterations is too few (<2); check convergence tolerance

  Number of iterations is too few (<2); check convergence tolerance

  Number of iterations is too few (<2); check convergence tolerance

  Number of iterations is too few (<2); check convergence tolerance

  Number of iterations is too few (<2); check convergence tolerance

  Number of iterations is too few (<2); check convergence tolerance

  Number of iterations is too few (<2); check convergence tolerance

  Number of iterations is too few (<2); check convergence tolerance

  Number of iterations is too few (<2); check convergence tolerance

     Beginning chemistry calculation.
          Time rebalancing load             8.8e-006
Finished time step no.      1; Time ..............................    60.0000000      (s)
PHAST is closing due to an unhandled exception.

Do you have any suggestions about what to improve on? Thank you!