This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: problem with g77


ÒýÑÔ 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]