Skip to content

Updating Intergenomics to -std=f2018

jc.rodrigues requested to merge dev into main

This update solves all the compilation warnings from intergenomics, bumping it to FORTRAN 2018 standard, with exception of hash19.f90 which uses a gnu FORTRAN extension that isn't part of the f2018 standard.

Some programs and library files are deprecated, see README.md and the obsolete directory.

An automated test battery is planed on top of these changes, and the outline of it is already committed to this branch, but has been delayed for now due to some initially unforeseen requirements.

No logic changes or optimizations have been made, most changes apply to the variable declaration syntax, making type conversions explicit where they are intended, initializing variables that could be used before assigned any value (they would usually be assigned in a loop, in almost all exceptions be read as 0, but once in every long while they would get some huge number from memory garbage), and operating on float point comparisons in a way that is generally viewed as safer. This last thing is just to stop the compiler from complaining as the comparisons weren't really harming the programs.

Merge request reports