delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/02/10/16:31:39

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <420BD2B3.4010405@bellsouth.net>
Date: Thu, 10 Feb 2005 15:31:31 -0600
From: "Charles D. Russell" <worwor AT bellsouth DOT net>
Reply-To: worwor AT bellsouth DOT net
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
MIME-Version: 1.0
To: cygwin cygwin <cygwin AT cygwin DOT com>
Subject: Re: Memory for large arrays in cygwin/g77

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 that 
 >it fails with something like
 >

>  gfctest.exe (844): *** MapViewOfFileEx(0x224, in_h 0x224)
>  failed, Win32 error 6



I was using large fortran arrays with no trouble a year ago using the 
-Wl,--stack option to enlarge the stack, but it is no longer working for 
me.  Same machine, but with cygwin upgrades and with SP2 for the XP 
pro.  Something has changed.

Switching to g95 is a poor option.  Both g95 and gfortran are currently 
beta software, and it is gfortran that is destined to replace g77 in the 
next version of gcc.

Besides, I have the same problem  in creating large arrays in C.  Again, 
the -Wl,--stack switch that I used a year or two ago is no longer 
working.  The problem is not just in fortran (though it is we fortran 
users who want humongous arrays.)

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019