Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* /sbin/loader error with fortran program
@ 1997-07-17  4:00 Zhifeng Liu
  1997-07-19  4:00 ` John L. Henning
  0 siblings, 1 reply; 2+ messages in thread
From: Zhifeng Liu @ 1997-07-17  4:00 UTC (permalink / raw)



Hi,

I am trying to run a simple fortran program to test the memory
(see attached), on an AlphaStation 500/400, running Digital Unix
(4.?).  The run time error message says:

/sbin/loader: Fatal Error: set_program_attributes failed to set heap
start

The program does nothing, except opening a huge array that takes
up lots of memory.  When I decrease its dimension so that its size
is less than 130Mb, the program runs without a clitch.  The error 
occurs only when the program size exceed 130Mb.

My machine has 256Mb memory installed.  Also, on my old AlphaStation
(600 5/255, running DU 3.?), the program runs fine. 

I'd appreciate any help!

Zhifeng Liu
Dept. of Chemistry
Chinese Univ. of Hong Kong

==================source code attached===================

compiled:  f77 -o cleanm cleanm.f 

      program cleanm
      implicit real(a-h,o-z)
      dimension a(45,1000000)
      n=20
      ik=10
c
      do i=1,1000000,ik
        do j=1,n
          a(j,i)=dble(i)**(0.5d0)
        enddo
      enddo
c
\x18\x13    stop
      end



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1997-07-19  4:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-07-17  4:00 /sbin/loader error with fortran program Zhifeng Liu
1997-07-19  4:00 ` John L. Henning

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