[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20001115: garp executable awful large for GEMPAK5.6



>From: "Dr. Charles Graves" <address@hidden>
>Organization: UCAR/Unidata
>Keywords: 200011151628.eAFGPco21279

>
>I've compiled the latest GEMPAK successfully but have found the garp executabl
> e
>to be too large to run on a good portion of our workstations.
>
>Size Information:
>
>garp from gempak5.4 patch level 17
>3159840 + 227320 + 62324028 = 65711188
>
>garp from gempak_upc5.6.tar.gz 
>2491234 + 213793 + 144978191 = 147683218
>
>Can you suggest options to reduce the executable size?  
>
>Details of the compile:
>System: Sun Solaris 5.7
>Compilers:WorkShop Compilers 5.0 99/09/16 FORTRAN 77 5.0 patch 107596-03
>          WorkShop Compilers 5.0 98/12/15 C 5.0
>
>
>The low-end machines have 32MB with 64MB of swap.
>
>Ideally, we should put more memory in these machines, but currently that is
>not an option until spring.
>
>Thanks
>Chuck Graves
>

Chuck,
The biggest array I had to increase for GEMPAK 5.6 was the maximum grid size
for the 10km grid 218 which is 375,000+ grid points. You can compile
GEMPAK with a smaller maximum grid size, such as 100,000 if you don't want
to look at those hydrology grids.

To do this, edit $GEMPAK/include/gemprm.h and $GEMPAK/include/MCHPRM.${NA_OS}
and change the declaration for LLMXGD in each file.

Then rebuild the complete GEMPAK distribution with:
cd $NAWIPS
make distclean
make all
make install

Let me know if this is helps out your size problems, or if we need to 
look elsewhere.


Steve Chiswell