Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: murphy@ufp.dco.dec.com (Rick Murphy)
Subject: Re: f77 array size limitation
Date: 11 Aug 91 02:37:02 GMT	[thread overview]
Message-ID: <1991Aug11.023702.14839@decuac.dec.com> (raw)
In-Reply-To: 1991Aug8.022217.1663@shark.uucp

In article <1991Aug8.022217.1663@shark.uucp>, qiangli@GAUSS.CASR.FAU.EDU (Charlie Li) writes:
|>Our DECstation 5000/200CX is running Ultrix 4.1 and Fortran for RISC.

You might think about upgrading to the current products (ULTRIX V4.2 and
DEC FORTRAN V3.0.). However...

|>(1)  When I compile a Fortran program with a large array A(2*N,N), say N=400,
|>the compiled program give segament fault (core dumped).  The program runs
|>OK for smaller N.

Compile your program with '-static' or use 'limit stacksize unlimited'.
The default for FfR is dynamic, stack-based local storage. If you can't fit
your locals on the stack, it'll seg fault. I know, it's a pretty stupid
way to tell you you've exceeded your stack limit.

|>(2) I also tried to convert a pascal program to c using ptoc (come with Ultrix
|>software distribution as unsupported subset).  The pascal program compiles
|>and runs OK on a VAX, but the ptoc gives "segament fault (core dumped)"
|>too.  The source code actually is not long at all, just 120 lines.

No idea here.

|>(3)  I installed dvitovdu for tex/latex, but it seems always ask some more
|>*pxl fonts.  How I can get them all?  Convert all *pk to *pxl?
|>I cannot get xdvi compiled, due to incomplete X11-library from DEC.  Any
|>compiled version exist?  GNUPlot's X11 make also fails due to the same
|>reason.   Any ideas?

Install ULTRIX V4.2. You'll get (in a separate directory tree) unmolested
X11R4 header files and libraries. That'll help with xdvi and GNUplot, most
likely.
	-Rick
--
Rick Murphy, WA1SPT/4			Washington ULTRIX Resource Center
Domain:  murphy@dco.dec.com -or- murphy@ufp.enet.dec.com
Bang:    decwrl!ufp.enet!murphy
Ding:	 (301) 306-2985
Disclaimer: This nonsense came from an AI program written in TECO. Ignore it.


  reply	other threads:[~1991-08-11  2:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1991-08-08  2:22 f77 array size limitation Charlie Li
1991-08-11  2:37 ` Rick Murphy [this message]
1991-08-13 23:06 ` Phil Farrell
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox