PURPOSE
To return allocated local memory to FMSSYNOPSIS
CALL FMSILR (IMD, LOC, LEN)
CALL FMSRLR (RMD, LOC, LEN)
CALL FMSCLR (CMD, LOC, LEN)
INPUT PARAMETERS
- IMD(*) = Integer array(FMSILR)
RMD(*) = Real array (FMSRLR)
CMD(*) = Complex array (FMSCLR).
This is the reference array you use in your program to allocate the memory by calling FMSILG, FMSRLG or FMSCLG. - LOC = Integer.
Starting address in IMD, RMD or CMD of memory to return. This is the value returned by FMSILG, FMSRLG or FMSCLG. - LEN = Integer.
The number of words per processor of the appropriate data type to return. This is the value returned by FMSILG, FMSRLG or FMSCLG which has been rounded up to page length.
OUTPUT PARAMETERS:
None.FMS PARAMETERS:
The following FMS Parameters are especially important to this routine:Parameter | Description |
---|---|
MAXMD | Amount of memory to use |
MAXCPU | Number of processors |
MDUSED | Amount of memory already used |
SHOW | Display reports |
DESCRIPTION:
Subroutine FMSILR returns LEN integer words per processor, starting at IMD(LOC) on processor 0 (parent). Subroutine FMSRLR returns LEN REAL*8 words starting at RMD(LOC). Subroutine FMSCLR returns LEN COMPLEX*16 words starting at CMD(LOC). All memory returned to FMS must first have been allocated by calling FMSILG, FMSRLG or FMSCLG.The total memory returned is MAXCPU * LEN words.