FMS Hardware Parameter LSTACK
Data Type
Integer
Units
Bytes
Default Value
System dependent. FMS sets the default value during the call to FMSINI. Generally this is the value specified in the shell limit, or the minimum required by FMS.
DESCRIPTION:
Threads allocate private storage dynamically when they are executed from a memory area called the stack. This includes any local variables or arrays dimensioned in the program. It does not include static arrays that appear in common blocks. The maximum stack size is specified at the time of thread creation. If you exceed the stack size, unpredictable results occur.
FMS sets the stack size to be at least large enough to hold it's own data. This is machine dependent, and depends on the amount of work area required for low level matrix algebra subroutines.
If you are using the FMS parallel processing utilities FMSPAR to run your subroutines in parallel, than the amount of stack size required will need to be increased, depending on the amount of local storage required.
Copyright © Multipath Corporation