Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!rice!rice!sun-spots-request From: monger@maccs.dcss.mcmaster.ca (Patricia Monger) Newsgroups: comp.sys.sun Subject: Problem with sparc Fortran Keywords: Miscellaneous Message-ID: <1990Nov4.031131.2518@rice.edu> Date: 4 Nov 90 03:00:00 GMT Sender: sun-spots-request@rice.edu Organization: Sun-Spots Lines: 24 Approved: Sun-Spots@rice.edu Originator: spots@titan.rice.edu X-Sun-Spots-Digest: Volume 9, Issue 358, message 12 X-Original-Date: Sun, 14 Oct 1990 17:30:12 -0400 I have a fortran program that compiles on a Sun 3/160 running Fortran 1.3, but not on any Sparc machines that I have tried (SS1 SunOS 4.0.3 Fortran 1.2, SS1+ and Sparcserver 490, SunOS 4.1 Fortran 1.3). The error message I get on the Sparc machines is zzsiml.f, line 9247: stack overflow: too many temporary variables It is true that this is a ginormous program, which includes a subroutine call in which no less than 1400 subroutine arguments are passed (machine- generated code, of course). Nonetheless, it does compile and run on the 3/160. I have created a test file in which the fortran code consists only of that subroutine call, and it dies with the same message, so it seems that this is the problem. I tried increasing the stacksize limit, but this did not help. Besides, it was already 4 times bigger than the one on the 3/160 when the error occurred. Can someone tell me to what stack the error message is referring, and whether or not there is anything i can do about this? Thanks, Patricia Monger McMaster University Hamilton, Ont.