Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!ucsd!hub.ucsb.edu!ucsbuxa!3003jalp From: 3003jalp@ucsbuxa.ucsb.edu (Applied Magnetics) Newsgroups: comp.lang.fortran Subject: Re: Array dilemma. Message-ID: <8446@hub.ucsb.edu> Date: 23 Jan 91 16:16:31 GMT References: Sender: news@hub.ucsb.edu Distribution: comp Lines: 20 In article quan@sol.surv.utas.oz (Stephen Quan) writes: >[...] >Cause of problem DOUBLE PRECISION BIG(3,50000) >Synopsis of problem compiler won't compile code for BIG is size 3x50000. >Synopsis 2 PC won't load executable when BIG is size 3x4000. >Synopsis 3 Seems to runs ok, when BIG is size 3x3000. >[...] >Question 1 Will F77L handle this problem? >Question 2 Does F77L allocated space for arrays in the EXE? > - Will I get a larger EXE file? (somewhat 600K?). >Question 3 Is there a compiler that would solve this problem? This is a partial answer to Q.2. Try this, or some variant thereof: AUTOMATIC DOUBLE PRECISION BIG(3,5000) (the `automatic' keyword may be wrong.) If it works, BIG will be allocated at startup instead of statically filling the .exe with zeroes. --Pierre Asselin, R&D, Applied Magnetics Corp. I speak for me.