removed units from accel memory output
Description
For some reason, the passing of units=unit_kilobytes, etc into write_messages() in accel.F90:device_info() lead to the printout of non-ASCII characters, which in some cases broke the test suite. This MR fixes the order of initializations, which was wrong, and changes the printing format to float, if a unit conversion took place.
News snippet
Fix broken output in accel device_info.
Checklist
-
I have checked that my code follows the Octopus coding standards -
I have added tests for all the new features added in this request.
Edited by Martin Lueders