We are looking to port some vms fortran to linux using ifort. We use global commons on vms side in the standard way (use a BLOCK DATA fortran program, then link it using an .OPT file with
PSECT=COMMON_NAME,SHR,RD,MOD
SYMBOL_VECTOR=(COMMON_NAME=PSECT)
We then install the common
$INSTALL
INSTALL> replace TEST_COMMON/SHARED/OPEN/WRITE
I cannot find an example of the equivalent to this idea using linux and ifort. Any help would be appreciated (like a link to a simple example would be swell). Thank you