Upgrading the Fortran Compiler
Posted: May 22, 2014 Filed under: Uncategorized Leave a commentIn the upcoming version 2.14 release, Simply Fortran will begin shipping GNU Fortran 4.9.0 for the first time. This compiler release is considered a major change for Simply Fortran regardless of the numbering convention because it will once again break the compiled module format for Fortran 90+ projects. While this change is conceptually simple for most people, it presents some interesting challenges for Approximatrix.
Simply Fortran has been using the GNU Fortran 4.8 series since version 1.42, which was released in March, 2013. During that period, the number of packages available in the Simply Fortran Package Manager has grown considerably. An issue arises, though, when considering how to handle packages containing pre-compiled modules once the latest release of Simply Fortran is available.
We’ve now shipped an updated version of the Package Manager that is aware of the compiler version currently available. Behind the scenes, packages will begin shipping with “required compiler versions” to ensure any pre-compiled modules are compatible with the version of GNU Fortran installed. This change should be invisible to the user. If a package is made available requiring GNU Fortran 4.9 and the user still has 4.8.2 installed, the package will not even be visible in the Package Manager. This configuration allows Approximatrix to begin updating packages as necessary while continuing to allow older installations to operate properly.
The second issue is actually rebuilding all necessary packages. The construction of packages for the Package Manager is not particularly simple, hence why the Package Manager exists in the first place. Although Simply Fortran 2.14 is basically ready for final testing, the actual release will be held back until the requisite packages are also upgraded.
Recent Comments