GlobalArrays / ga

Partitioned Global Address Space (PGAS) library for distributed arrays
http://hpc.pnl.gov/globalarrays/
Other
96 stars 38 forks source link

scalapack fix for 32-bit integer case: avoid dcopy #315

Closed edoapra closed 8 months ago

edoapra commented 8 months ago

This commit avoid using dcopy() when BLAS uses 32-bit integers to avoid any issue between 64-bit and 32-bit integers.
The previous code resulted in erroneous results on big endian architectures.
https://github.com/nwchemgit/nwchem/issues/864#issuecomment-1770549014

bjpalmer commented 8 months ago

I'm good with the changes.