Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <410-220032312163259240@M2W092.mail2web.com>
X-Priority: 3
Reply-To: lhall@rfk.com
X-Originating-IP: 209.113.174.244
From: "lhall@pop.ma.ultranet.com" <lhall@pop.ma.ultranet.com>
To: rainy__bear@hotmail.com, cygwin@cygwin.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@hotmail.com
>Date: Wed, 12 Feb 2003 17:30:22 +1000
>To: cygwin@cygwin.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/

