site map - email us - search  
 


LITTLE_R Tutorial : Compile

 

LITTLE_R is a Fortran 90 program, and its memory allocation is done at the run time stage. Like program REGRID, you only need to compile it once unless you modify the code. Similar to what you do in program REGRID, type

make >& make.out
(if you are compiling on a Linux machine, with an INTEL compile, type "make intel >& make.out")

This compiles the code on a your machine, and writes output from "make" to file make.out. If it is successful, you should create an executable called little_r.

 

Plotting Routines:

- Since v3.5, two plotting routines with which you can view the observational data, have been added, plot_level & plot_soundings
- These routines make use of NCAR Graphics to build the plots. 
- If you do not have NCAR Graphics, set "PROGS = $(I_DONT_HAVE_NCARG)", in the Makefile, and change the line:

"LOCAL_LIBRARIES = -L$(NCARG_ROOT)/lib -lncarg -lncarg_gks -lncarg_c -lX11 -lm"

TO:

"LOCAL_LIBRARIES = "


- If you have NCAR Graphics on you machine, and the plotting routines compiled successfully, you will have 2 more executables in the LITTLE_R/ directory:

./plot_level -> src/plot_level
./plot_soundings -> src/plot_soundings

 

Now you are ready to run LITTLE_R

UCAR Privacy Policy - Terms of Use - ©2004UCAR