Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Fortran memory limits
@ 1995-11-24  5:00 Paul.Casteels
  1995-11-27  5:00 ` Steve Lionel
  0 siblings, 1 reply; 3+ messages in thread
From: Paul.Casteels @ 1995-11-24  5:00 UTC (permalink / raw)


We are using OSF 3.2C with f77 v3.54.
Setting memory limits with the shell or with the setrlimit() function 
have no impact on Fortran programs. The data of these programs is mostly
located in the bss area. Is there any other way to set a limit to these 
programs ?

Paul Casteels		casteels@uia.ac.be	Tel: +32.3.8202455
						Fax: +32.3.8202245
University of Antwerp	Dpt.Physics
Universiteitsplein 1
B-2610 Wilrijk
Belgium




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

* Re: Fortran memory limits
  1995-11-24  5:00 Fortran memory limits Paul.Casteels
@ 1995-11-27  5:00 ` Steve Lionel
  1995-11-27  5:00   ` Bruno Wolff III
  0 siblings, 1 reply; 3+ messages in thread
From: Steve Lionel @ 1995-11-27  5:00 UTC (permalink / raw)



In article <DIJuMG.Jss@uia.ua.ac.be>, casteels@hgins.uia.ac.be (Paul.Casteels) 
writes:
|>We are using OSF 3.2C with f77 v3.54.
|>Setting memory limits with the shell or with the setrlimit() function 
|>have no impact on Fortran programs. The data of these programs is mostly
|>located in the bss area. Is there any other way to set a limit to these 
|>programs ?

Unfortunately, you didn't say how big the data is you're trying to allocate
or what limits you are using.  Also, you're using a rather old compiler which
can't handle arrays bigger than 32 bits in size.

If you can provide more details as to what you're trying to do, I'll try to
help you.  Please send me mail.
-- 

Steve Lionel                      Mail: lionel@quark.enet.dec.com
DEC Fortran Development           WWW:  http://www.digital.com/info/slionel.html
Digital Equipment Corporation     CompuServe: 75263,3001
110 Spit Brook Road, ZKO2-3/N30
Nashua, NH 03062-2698             "Free advice is worth every cent"

For information on DEC Fortran 90, see http://www.digital.com/info/hpc/f90/



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

* Re: Fortran memory limits
  1995-11-27  5:00 ` Steve Lionel
@ 1995-11-27  5:00   ` Bruno Wolff III
  0 siblings, 0 replies; 3+ messages in thread
From: Bruno Wolff III @ 1995-11-27  5:00 UTC (permalink / raw)


From article <49cn2q$bj0@zk2nws.zko.dec.com>, by lionel@quark.enet.dec.com (Steve Lionel):
] 
] In article <DIJuMG.Jss@uia.ua.ac.be>, casteels@hgins.uia.ac.be (Paul.Casteels) 
] writes:
] |>We are using OSF 3.2C with f77 v3.54.
] |>Setting memory limits with the shell or with the setrlimit() function 
] |>have no impact on Fortran programs. The data of these programs is mostly
] |>located in the bss area. Is there any other way to set a limit to these 
] |>programs ?
] 
] Unfortunately, you didn't say how big the data is you're trying to allocate
] or what limits you are using.  Also, you're using a rather old compiler which
] can't handle arrays bigger than 32 bits in size.
] 
] If you can provide more details as to what you're trying to do, I'll try to
] help you.  Please send me mail.
] -- 

I noticed that at our site. In some cases the data size limit for batch jobs
run under nqs wasn't being enforced. What it looked like was that the data
size limit wasn't being checked at initial load but only if extra memory
was allocated using brk. Our fix was to use address space limits instead
of just data space limits.



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

end of thread, other threads:[~1995-11-27  5:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-11-24  5:00 Fortran memory limits Paul.Casteels
1995-11-27  5:00 ` Steve Lionel
1995-11-27  5:00   ` Bruno Wolff III

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