qcscine / qcmaquis

Release-only repository for SCINE QCMaquis, the DMRG software from the Reiher group.
BSD 3-Clause "New" or "Revised" License
32 stars 15 forks source link

Remove parallel mps initialization #13

Closed AlbertoBaiardi closed 1 year ago

AlbertoBaiardi commented 1 year ago

The Mersienne-Twister random generator is not thread-safe, and this can raise race conditions when the code is used in combination with a large number of threads. This part of the code is now made serial, since it will never be a calculation bottleneck.