QMCPACK / qmcpack

Main repository for QMCPACK, an open-source production level many-body ab initio Quantum Monte Carlo code for computing the electronic structure of atoms, molecules, and solids with full performance portable GPU support
http://www.qmcpack.org
Other
295 stars 138 forks source link

Fix GCC14-flagged uninitialized use warnings #4981

Closed prckent closed 4 months ago

prckent commented 4 months ago

Proposed changes

With our default compilation options GCC14 usefully flags a couple of new routes to uninitialized variable use. Fixed.

There is still a large but not-new warning coming from ppconvert IO handling that I did not fix.

What type(s) of changes does this code introduce?

Does this introduce a breaking change?

What systems has this change been tested on?

nitrogen2, nightly config with trial installation of gcc 14.1

Checklist

ye-luo commented 4 months ago

Test this please