issp-center-dev / abICS

ab-Initio Configuration Sampling tool kit (abICS)
https://www.pasums.issp.u-tokyo.ac.jp/abics/en
GNU General Public License v3.0
15 stars 8 forks source link

Set buffer size of irecv in the PAMC resampler #59

Closed yomichi closed 1 year ago

yomichi commented 1 year ago

The default buffer size of irecv is 32768 bytes, but it is practically too small to pass configurations (e.g., failed in the case of 128 atoms). This PR, where the size of the configuration is set as the buffer size, makes the code work for larger systems.