Group: comp.lang.fortran · Group Profile · Search for 10000000 in comp.lang.fortran
Author: AnotherSquid
Date: Jul 29, 2008 07:26
... this simple program using six Fortran compilers but setting the integer parameter last_number to 10000000 (10 million). All compiled but four of the six had problems during exection.... cleaned up version of the program: program Sieve_Of_Eratosthenes implicit none integer, parameter :: mxn=10000000 integer, dimension(mxn) :: nums integer :: i,ic,npr ! ..Initialize NUMBERS to 0...
|