This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: cygwin, g77 & 3-D arrays
- From: "lhall at pop dot ma dot ultranet dot com" <lhall at pop dot ma dot ultranet dot com>
- To: rainy__bear at hotmail dot com, cygwin at cygwin dot com
- Date: Wed, 12 Feb 2003 11:32:59 -0500
- Subject: RE: cygwin, g77 & 3-D arrays
- Reply-to: lhall at rfk dot com
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/