new proposed tests and abirules to be added to the suite

Documentation, Web site and code modifications

Moderators: baguetl, routerov

Locked
mverstra
Posts: 655
Joined: Wed Aug 19, 2009 12:01 pm

new proposed tests and abirules to be added to the suite

Post by mverstra » Thu Feb 25, 2010 7:22 pm

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
Matthieu Verstraete
University of Liege, Belgium

mverstra
Posts: 655
Joined: Wed Aug 19, 2009 12:01 pm

Re: new proposed tests and abirules to be added to the suite

Post by mverstra » Tue Apr 20, 2010 12:59 am

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
Matthieu Verstraete
University of Liege, Belgium

Locked