nwchemgit / nwchem

NWChem: Open Source High-Performance Computational Chemistry
http://nwchemgit.github.io
Other
513 stars 162 forks source link

fix peigs warnings #1032

Closed jeffhammond closed 1 month ago

jeffhammond commented 1 month ago

I am working on Spack and peigs formatting warnings seem to be promoted to errors by some compilers/options, or at least were showing up as red and therefore making it harder to find real the errors.

All of these warnings are because of Integer being used for Fortran compatibility but all of the printf using %d. I cannot see any reason to promote the format to %ld because we won't have more than INT_MAX processes or rows/columns in a matrix.

edoapra commented 1 month ago

Thanks for the contribution