Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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: <410-220032312163259240@M2W092.mail2web.com> X-Priority: 3 Reply-To: lhall AT rfk DOT com X-Originating-IP: 209.113.174.244 From: "lhall AT pop DOT ma DOT ultranet DOT com" To: rainy__bear AT hotmail DOT com, cygwin AT cygwin DOT com Subject: RE: cygwin, g77 & 3-D arrays Date: Wed, 12 Feb 2003 11:32:59 -0500 MIME-Version: 1.0 Content-type: text/plain; charset=iso-8859-1 X-OriginalArrivalTime: 12 Feb 2003 16:32:59.0489 (UTC) FILETIME=[67A94D10:01C2D2B4] Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h1CGXGS10138 Original Message: ----------------- >From: K rainy__bear AT hotmail DOT com >Date: Wed, 12 Feb 2003 17:30:22 +1000 >To: cygwin AT cygwin DOT com >Subject: cygwin, g77 & 3-D arrays > > >Hi, > >I have a FORTRAN program which both compiles (using g77) and runs perfectly >in Mandrake Linux and in Unix. However, while this program compiles (using >g77) perfectly in Cygwin, it will not run, it merely returns the prompt. > >I have found that if I comment out any lines declaring or using 3-D arrays >then the program will run. Unfortunately, I need to include these 3-D >arrays for the program to give the correct answers. > >Does anybody have any ideas what the problem might be and how to fix it? Running the program with gdb might help. Sounds to me like you're blowing out the stack with these arrays. However, it's been long enough since I did anything with fortran that I wouldn't be able to provide you with a suggestion beyond RTFM for how to proceed if that was the case. Larry -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ . -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/