GlobalArrays / ga

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

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

Closed edoapra closed 1 year ago

edoapra commented 1 year 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 1 year ago

I'm good with the changes.