Remix.run Logo
jleyank 5 days ago

If you're interested in safer code when working with older versions of Fortran, add 'implicit none' at the top. This will eliminate the integer vs. float automatic assignment and make variable definition much tighter. Back when I mucked about with Fortran (previous century really), we tried to do the memory allocation and I/O in C and the compute in Fortran. That would play well with both superscalar and vector machines.

Neywiny 5 days ago | parent | next [-]

Pro tip: ctrl-f or find in page helps a lot. The author talks about implicit none and shows it in code.

layer8 5 days ago | parent | prev [-]

You didn’t read the article?

jleyank 5 days ago | parent [-]

All of it, no. But I never used Fortran 90 yet used implicit none. Might have been an extension from SGI or a mini super but I recall using it.