Re: Memory for large arrays in cygwin/g77

2005-02-10 Thread Mark Hadfield
Charles D. Russell wrote: Dante Chialvo wrote: I think the following quote is from a message of mine... > I have the same problem. I have g77, g95 and >grfortran (gfc) installed (see below). With >heap_chunk_in_mb set to 1024, on a machine with >1024 MiB RAM< I can run a simple Fortran >program

Re: Memory for large arrays in cygwin/g77

2005-02-10 Thread Charles D. Russell
Dante Chialvo wrote: > I have the same problem. I have g77, g95 and >grfortran (gfc) installed (see below). With >heap_chunk_in_mb set to 1024, on a machine with >1024 MiB RAM< I can run a simple Fortran >program with an array of up to ~ 1023 MiB. With >g77 & gfc the limit is 156 MiB and beyond

Re: Memory for large arrays in cygwin/g77

2005-01-10 Thread Mark Hadfield
Dave Korn wrote: From: cygwin-owner On Behalf Of Mark Hadfield Sent: 10 January 2005 21:18 Is there a cure that would allow a simple-minded, grey-haired Fortran programmer like me to rely on Cygwin g77 (or gfortran) for moderate-sized computational tasks? LOL, I love the subtle sense of understa

RE: Memory for large arrays in cygwin/g77

2005-01-10 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of Mark Hadfield > Sent: 10 January 2005 21:18 > Is there a cure that would allow a simple-minded, grey-haired Fortran > programmer like me to rely on Cygwin g77 (or gfortran) for > moderate-sized computational tasks? LOL, I love the

Re: Memory for large arrays in cygwin/g77

2005-01-10 Thread Mark Hadfield
Dave Korn wrote: From: cygwin-owner On Behalf Of Mark Hadfield Dante R. Chialvo wrote: 2) Use g77 using the Wl option, ie, g77 -O2 -o mybigprogram -Wl,--stack,1 mybigprogram.f That's odd. Increasing the stack size definitely does not work for me. It just causes the program to terminate

RE: Memory for large arrays in cygwin/g77

2005-01-10 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of Mark Hadfield > Sent: 09 January 2005 21:27 > Dante R. Chialvo wrote: > > Thanks for the suggestions > > Bottom line both ideas work fine in my case: > > > > 1) Install the g95 compiler, > > or > > 2) Use g77 using the Wl option, ie,

Re: Memory for large arrays in cygwin/g77

2005-01-09 Thread Mark Hadfield
Dante R. Chialvo wrote: Thanks for the suggestions Bottom line both ideas work fine in my case: 1) Install the g95 compiler, or 2) Use g77 using the Wl option, ie, g77 -O2 -o mybigprogram -Wl,--stack,1 mybigprogram.f So thanks a lot, That's odd. Increasing the stack size definitely

Re: Memory for large arrays in cygwin/g77

2005-01-09 Thread Dante R. Chialvo
Thanks for the suggestions Bottom line both ideas work fine in my case: 1) Install the g95 compiler, or 2) Use g77 using the Wl option, ie, g77 -O2 -o mybigprogram -Wl,--stack,1 mybigprogram.f So thanks a lot, Dante Dave Korn wrote: > > > -Original Message- > > From: cy

Re: Memory for large arrays in cygwin/g77

2005-01-06 Thread Mark Hadfield
Dave Korn wrote: It may also be possible to workaround the problem by fooling around with the default stack allocation size; this can have knock-on effects which clear up the reserved area of the process' memory map that error message is complaining about. See http://www.cygwin.com/ml/cygwin/

RE: Memory for large arrays in cygwin/g77

2005-01-06 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of Mark Hadfield > Sent: 06 January 2005 00:58 > Dante Chialvo wrote: > > I have similar problem than the one posted a while ago in > > > > http://www.cygwin.com/ml/cygwin/2003-02/msg00842.html > > > > Using cygwin/g77, in a PC with 102

Re: Memory for large arrays in cygwin/g77

2005-01-05 Thread Mark Hadfield
Dante Chialvo wrote: I have similar problem than the one posted a while ago in http://www.cygwin.com/ml/cygwin/2003-02/msg00842.html Using cygwin/g77, in a PC with 1024 Mb of physical memory. After compiling and running the following test program the limit of 160 Mb cannot be surpassed. implici

Memory for large arrays in cygwin/g77

2005-01-05 Thread Dante Chialvo
I have similar problem than the one posted a while ago in http://www.cygwin.com/ml/cygwin/2003-02/msg00842.html Using cygwin/g77, in a PC with 1024 Mb of physical memory. After compiling and running the following test program the limit of 160 Mb cannot be surpassed. implicit double precision

Memory for large arrays in cygwin/g77

2003-02-13 Thread Charles D. Russell
The problem seems specific to g77. After increasing the allocated memory as the respondents suggested, I can now access 1 Gb in C but am still limited to a little over 240 Mb (256?) in g77, evidence by a runtime crash with no error message. Curiously, max_memory showed some 700 Mb even before I r

Memory for large arrays in cygwin/g77

2003-02-13 Thread Charles D. Russell
I tried the procedure cited in the user manual, but the test program fails with message "shell returned 128" when I try to add a second matrix of the same size. Initially, max_memory indicated insufficient memory so, I increased the virtual memory limits (Windows XP Pro) to initial 1536, max 2048.

Re: Memory for large arrays in cygwin/g77

2003-02-13 Thread Ronald Landheer-Cieslak
Cool - I'll redirect to that next time :) thx! rlc On Thu, 13 Feb 2003, Christopher Faylor wrote: > On Thu, Feb 13, 2003 at 10:20:58AM +0100, Ronald Landheer-Cieslak wrote: > >This is getting to be a FAQ... > > > >There is a (configurable) limit to the amount of memory Cygwin can > >allocate. >

Re: Memory for large arrays in cygwin/g77

2003-02-13 Thread Christopher Faylor
On Thu, Feb 13, 2003 at 10:20:58AM +0100, Ronald Landheer-Cieslak wrote: >This is getting to be a FAQ... > >There is a (configurable) limit to the amount of memory Cygwin can >allocate. > >Charles Werner explains this pretty well in: >http://sources.redhat.com/ml/cygwin/2003-02/msg00234.html >he a

Re: Memory for large arrays in cygwin/g77

2003-02-13 Thread Ronald Landheer-Cieslak
This is getting to be a FAQ... There is a (configurable) limit to the amount of memory Cygwin can allocate. Charles Werner explains this pretty well in: http://sources.redhat.com/ml/cygwin/2003-02/msg00234.html he also explains how to change the settings ciao rlc On Wed, 12 Feb 2003, Charles

Memory for large arrays in cygwin/g77

2003-02-12 Thread Charles D. Russell
Using cygwin/g77, I was happy with a memory limitation of something over 240 Mb when I was using a laptop with 64 Mb of physical memory. However, I recently acquired a new PC with 512 Mb of physical memory and found that the memory available for array allocation did not increase, remaining little