Kernel compilation problem FC2 final

Yarchyk:-) yarchyk at mail.ru
Thu May 20 20:20:35 UTC 2004


I found it in internet:


Platform: All

Problem Details:
OS Version: Any
Product Version: 8.0
Date: 01-Sep-02

Q. Using more than 2GB of addressable memory

A. The following table shows the maximum process size (code+data)
   on each operating system:

                     OS | Max process size
   ---------------------+--------------------
   x86 Linux kernel 2.4 | 3GB
   x86 Linux kernel 2.2 | 2GB
              PPC Linux | 2GB
                Windows | 2GB
                Mac OSX | 2GB, 64MB max stack

   In addition to those limits, f90 has a limit of a maximum of 512MB
   for any single array or common block. This limit was removed from 
   f90 after version 7.5.

   F77 has a limit of 2GB for any single array, and 2,000,000,000 bytes
   for any single common block.

   To have the maximum amount of memory available for data on Linux,
   it is necessary to link your application statically. This is done
   by using the "-X -static" option for either f77 or f90.

   On x86 Linux there is also a limit in the gnu assembler that
   you can't have more than 2GB of static data (either save
   statements, or the -s switch) in a single file. If you try,
   you will get the following error: Error: attempt to .org backwards ignored
   To work around this, you can put some data into a common block.




>
>





More information about the users mailing list