cygwin, g77 & 3-D arrays

lhall@pop.ma.ultranet.com lhall@pop.ma.ultranet.com
Wed Feb 12 16:36:00 GMT 2003



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/



More information about the Cygwin mailing list