FoX compatibility

Compatibility with Fortran compilers.

I have gone to some effort to ensure that FoX will work on as wide a variety of Fortran 95 compilers as possible.

Nevertheless, the complexity of FoX is such that it has managed to trigger bugs on all compilers. While it has been possible to work around bugs in most cases, it is not possible to make FoX work with older versions of some compilers.

As of version 3.1, FoX also includes a “dummy library” mode. Compiling in this mode provides all of the interfaces but no functionality. In this mode, FoX can be compiled on all known Fortran 90 compilers. (See documentation for further details)

By compiler:

Below is a list, ordered by compiler vendor, of versions that have been tested with FoX 3.1.

VendorFailing versionsWorking versions
Absoft10.0.7
Compaq Visual FortranAll versions
FAll versions
g950.9Current release
gfortran4.0-4.14.2
Lahey7.11
Intel7.1, 9.08.1, 9.02, 9.1, 10.1
NAG5.05.1
Pathscale2.5, 3.0
PGI5.16.13, 6.23, 7.03, 7.13
Sun6.08.34
XLF10.01, 10.1.0

1 WXML, WCML, and SAX compile and work correctly, DOM fails. Lahey have been informed of this bug in their compiler. Furthermore, many of the tests are reported as failing due to another compiler bug - this can be ignored.

2 Intel 9.0 will not compile SAX & DOM correctly.

3 Note that although PGI 6.x and 7.0 are listed as working, there are significant bugs in the PGI compiler suite such that only the WXML, SAX, and DOM modules work correctly; WCML is not fully functional. I have mixed reports from version 7.1.

4 ALthough the Sun Studio compiler 8.3 is listed as working, in fact only the SAX module works. The Sun compiler fails to compile all other modules correctly. Sun have been informed of this bug in their compiler.

Other compilers

Previous versions of FoX have been tested successfully with Lahey 6.20 and Pathscale 2.4, but I no longer have access to copies of these compilers. Further reports of success or failure are welcome.

Indexing in progress, cross-references will be refreshed soon.