POSIX90
Walter Spector
w6ws@earthlink.net
Sun Feb 24 16:14:00 GMT 2008
Klaus wrote:
> Am Samstag 23 Februar 2008 schrieb Walter Spector:
>> 1.) Using the term "POSIX" for the modules Klaus wrote is misleading,
>> since it does not conform to any published POSIX spec. The Fortran
>> bindings that were approved by POSIX were 1003.9-1992.
> You are of course right. Your reference is to the Fortran77 bindings. There
> do exist Fortran90 bindings, though this is labeled inactive in the source I
> found ( http://tinyurl.com/394w3k ). It is named Posix.19 there
Unfortunately, it seems that the POSIX 1003.19 committee disbanded before
producing anything. So if one wishes to be POSIX-compliant, 1003.9 is
the only choice. :(
>> 2.) How compatible is Klaus' package with the existing intrinsics of
>> the same name? Or other implementations, such as NAGs?
> It is compatible to the last NAG version I personally used (Rel. 4.) and a
> superset of the functions provided there- regexps eg where not provided.
> The history of the code is that I moved from NAG to gfortran an needed a
> module to handle the posix calls in my code.
There is a gfortran enhancement request (ID 25020) that asks for a NAG-
compatible set of modules. Perhaps your existing code could satisfy it?
>> Since there are no published specs for any of these binding libraries,
>> (other than 1003.9-1992 - which none of them conform to), how are
>> incompatibilities between them to be resolved? Does it make sense to
>> introduce yet another somewhat incompatible package?
> Well, I think we (or rather I) should simply get the Posix standard and stick
> to it. If nobody can provide us with access to it, I would be willing to buy
> it. It cant be that expensive?
I have a paper copy, so could answer questions. It is about 150 pages
long - about 1/3rd of that is appendices.
The Intel compiler (as of 10.0) has the best implementation of PXF that I know
of. They have all of the PXF routines in their library manual:
http://www.intel.com/software/products/compilers/techtopics/for_lib.htm
Also all the man pages for the SGI IRIX version are online at:
http://techpubs.sgi.com
(But note that some of the examples are buggy...)
FWIW, I implemented a fairly complete set of the PXF library for personal
use a few years ago. However it is not GPLed. I will offer to run anything
that is developed through my unit tests to help get the gfortran implementation
as close to perfect as possible.
W.
More information about the Fortran
mailing list