Shared memory and FORTRAN

Mike McNally m5 at lynx.uucp
Fri Feb 9 03:44:23 AEST 1990


A potential customer of ours is currently using an OS (I don't know
which one) that provides a nifty (in a gross FORTRAN kind of way)
inter-process shared memory facility.  The FORTRAN code declares
"global" COMMON blocks, which (I assume) get tagged by the linker such
that the executable file has magic goomers in it.  The magic goomers
tell the loader that a shared memory segment should be allocated (and
maybe where it should be, since it would be kinda hard for the loader
to relocate the whole mess on the fly).

Anyhow, does anybody know of a mechanism (similar to the one above or
otherwise) that would allow a FOTRAN program easy access to shared
memory?  I don't do FORTRAN on a regular basis, so I'm pretty
ignorant; maybe the global COMMON mechanism is COMMONplace.  

-- 
Mike McNally                                    Lynx Real-Time Systems
uucp: {voder,athsys}!lynx!m5                    phone: 408 370 2233

            Where equal mind and contest equal, go.



More information about the Comp.unix.wizards mailing list