[gradsusr] Is there a way to run GrADS with the -m argument in batch mode?

Mark Sponsler msponsler at comcast.net
Thu May 12 12:03:57 EDT 2016


To increase the memory allocation above the stadard 2 gig (to say 3 gig):grads -m 3000000  The -m option must be specified when grads is started. Set it in the BAT file you use to kick off you batch jobs like:grads -m 3000000 -blc 'script.gs'

The amount of RAM you allocate is a function of the amount of RAM installed and available on your machine. 
In your example, you're trying to allocate 20 gig. 

Thanks,Mark


----- Original Message -----From: Bob Kuligowski - NOAA Federal <bob.kuligowski at noaa.gov>To: GrADS Users Forum <gradsusr at gradsusr.org>Sent: Tue, 10 May 2016 17:44:35 -0000 (UTC)Subject: [gradsusr] Is there a way to run GrADS with the -m argument in batch mode?

All,
    I'd like to make images of some larger datasets so I need to use e.g., grads -m 20000 to expand the buffer.  However, when I try to use that particular argument in a shell script (instead of from the command line) the 20000000 trips it up; I've tried a bunch of combinations and nothing seems to work.  Is there another way to expand the buffer when running in batch mode?  Thanks! 
 Cheers,
-- Bob Kuligowski, Ph.D.MeteorologistNOAA/NESDIS/Center for Satellite Applications and Research (STAR)

Mailing Address:National Oceanic and Atmospheric AdministrationNESDIS STAR/SMCDBob KuligowskiNCWCP E/RA25830 University Research Court2nd Floor, Office #2828College Park, MD 20740-3818

Phone:  (301) 683-3593Fax  :  (301) 683-3616

http://www.star.nesdis.noaa.gov/star/Kuligowski_B.phphttp://www.star.nesdis.noaa.gov/smcd/emb/ff/index.php

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20160512/f6620b59/attachment.html 


More information about the gradsusr mailing list