This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: problem with g77
- From: Canqun Yang <canqun at nudt dot edu dot cn>
- To: Chiranjib Sur <csur at linuxmail dot org>, fortran at gcc dot gnu dot org
- Date: Sat, 21 Feb 2004 19:01:45 +0800 (HKT)
- Subject: Re: problem with g77
- References: <20040219090536.313F83AA466@ws5-8.us4.outblaze.com>
- Reply-to: Canqun Yang <canqun at nudt dot edu dot cn>
ÒýÑÔ Chiranjib Sur <csur@linuxmail.org>:
> Hi,
> I am using g77 compiler for my codes. We also execute
our codes in sun machi
> nes using the f77 compiler. In my machine (Intel dual
xeon with 4 Gb memory)
> I can't run any jobs which takes bigger memory. The
OS is Redhat Linux 9 (K
> ernel is :2.4.20-8smp). I want to know the details of
the command size. Here
> is a sample output when I try with the command size.
>
> $ size a.out
>
> text data bss dec hex filename
> 78682 25668 337428576 337532926
141e57fe a.out
>
> If you know the commands then please let me know. I
also want to know about
> the memory allocation and checking of memory before I
start running my codes
> .
>
> Regards,
> Chiranjib
>
>
> ################################
> Dr. Chiranjib Sur
> Research Associate
> NAPP Group
> Indian Institute of Astrophysics
> Koramongala, Block-II
> Bangalore - 560 034
> INDIA
> ################################
>
> --
> ______________________________________________
> Check out the latest SMS services @
http://www.linuxmail.org
> This allows you to send and receive SMS through your
mailbox.
>
>
> Powered by Outblaze
>
You can try to use 'ulimit' to adjust the data segment
and stack size, and then run your program. e.g.
'ulimit -s 512000' to set the stack size as 512M
bytes.
'ulimit -d 1024000' to set the data segment size as
1024M bytes.
Canqun Yang