In case someone is willing to read the rest of this message even after seeing the word "fortran", let me explain my real problem. In April of '03 I was able to access 770 Mb of memory for g77 arrays, but using the current version of cygwin (on the same computer) I can access only 150 or 160 Mb using either g77 or gfortran. I can do better than that (240 Mb) on my old Windows 98 laptop with only 64 Mb of RAM using a 4-year-old version of cygwin! The configuration that worked successfully for large fortran arrays in April '03 was:
1) increase allocated memory in cygwin to 1 Gb (from default around 384 Mb) using:
regtool -i set /HKLM/Software/Cygnus\ Solutions/Cygwin/heap_chunk_in_mb 1024
2) increase stack size to 4 Mb (from default 2Mb) using compiler option:
-Wl,--stack,0x400000
3) increase Windows virtual memory to max paging file size 2048 Mb
What has changed in cygwin since April '03 to mess up memory access by g77 and gfortran? Can it be reversed by a configuration change?
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/