We should add an abirule tester with g95, which automatically reports un-deallocated memory at the end of the run. If the .err file contains something, the abirule test should fail.
Note that this is not trivial sometimes, as in 77_ddb/sortph.F90 where an allocatable is made "save". You never know when the last call will be, and hence when to deallocate. This could be avoided by using a proper object in a module with create_ and clean_ routines.
Matthieu
new proposed tests and abirules to be added to the suite
new proposed tests and abirules to be added to the suite
Matthieu Verstraete
University of Liege, Belgium
University of Liege, Belgium
Re: new proposed tests and abirules to be added to the suite
To test backwards compatibility for real, there should be a bb slave which tests old binary files being read in by recent abinit versions. Go back to 4.6.5 or even before, and see whether 6.0.3 can actually still read those files (need to keep the same compiler of course).
Not needed as a regular test, but once per merge cycle at least
Matthieu
Not needed as a regular test, but once per merge cycle at least
Matthieu
Matthieu Verstraete
University of Liege, Belgium
University of Liege, Belgium