Lahey/Fujitsu Fortran

Limits of Operation

LF95 Limits of Operation

Item

Maximum

Program size

The compiler limits code and data to 4 Gigabytes or available memory (including virtual memory), whichever is smaller. Because this limit is larger than operating systems allow, program size is effectively limited by the operating system, not the compiler.
For the Windows 95 or Windows NT 4.0 (prior to SP3) operating systems, a program is limited to 256 megabytes or available memory (including virtual memory), whichever is smaller.
For the Windows XP/2000/NT4(SP3+)/Me/98 operating systems, a program is limited to 2 gigabytes or available memory (including virtual memory), whichever is smaller. This can be increased to 3 gigabytes if the /3GB switch is used in the Boot.ini file.

Number of files open concurrently

Not limited by LF95 language system.

Length of CHARACTER datum

2,147,483,647 bytes

I/O block size

65,000 bytes

I/O record length

2,147,483,647 bytes

I/O file size (including transparent access)

18,446,744,073,709,551,614 bytes

I/O maximum number of records for direct access and transparent access files

2,147,483,647

Nesting depth of function, array section, array element, and substring references

255

Nesting depth of DO, CASE, and IF statements

50

Nesting depth of implied-DO loops

25

Nesting depth of INCLUDE files

16

Number of array dimensions

7

Array size

The compiler calculates T for each array declaration to reduce the number of calculations needed for array sections or array element addresses. The absolute value of T obtained by the formula below must not exceed 2147483647, and the absolute value must not exceed 2147483647 for any intermediate calculations:

T = l1·s + i=2,n {li·(∏m=2,i dm-1·s)}

n: Array dimension number

s: Array element length

lj: Lower bound of the jth dimension

dj: Size of the jth dimension

T: Value calculated for the array declaration