G-RSM CVS System at ECPC Hideki Kanamaru Scripps Institution of
Download
Report
Transcript G-RSM CVS System at ECPC Hideki Kanamaru Scripps Institution of
G-RSM CVS System at
ECPC
Hideki Kanamaru
Scripps Institution of
Oceanography
Installation
Install CVS (http://www.nongnu.org/cvs/)
C and Fortran compilers required (we usually
use portland group compilers on Linux
machines but Intel should work too)
Set environmental variable CVSROOT (e.g.
setenv CVSROOT :pserver:[email protected]:
/rokka1/kana/cvs-server-root/cpscvs
Installation
$ cvs co Install [Note Capital “I”]
You will get “inst” and “install” scripts. “inst” is a
wrapper script that calls “install”
./inst [model version] [topography option]
[model version] rsm_frozen, rsm_latest, crsm_frozen,
gsm_frozen, gsm_latest, scm_latest
[topography option] hi (use 30 seconds gtopo30
topography) or lo (use 4minutes topography)
Installation
Installer will ask you:
Which model [rsm/gsm/crsm/scm]
Machine architecture [single/thread/mpi/hybrid]
Institution [ecpc/sdsc/ncar, etc] choose ecpc if not
available
Machine name [ibmsp/dec/cray/intel/linux, etc]
Model resolution [e.g. T62L28 r54x55, T62L28
r8167c5487] you have to create resolution definition files
in rsm/def if you want to define your own domain
Which script [rsm/rsim/csim, etc] rsm is for testing
purpose (48hours integration). rsim is for downscaling
with global files. csim is for crsm (c2r).
Installation
You can choose to use “install” script.
./install --model=[rsm/gsm/crsm/scm] --version=[…] --enable[numerous options]
--enable-osu2
--enable-noah
--enable-cldw-zc : Zhao-Carr cloud water scheme
--enable-cldw-sy3n: Song-You Hong cloud water scheme
--enable-cldw-sy5
--enable-cldw-sy6
--enable-sas: SAS
--enable-ccmcnv: NCAR CCM3 Zhang McFarlane convection
--enable-baseout: post processed basefield output (r_bpgb.ftxx)
CVS system
cvs co [module_name]
cvs update [file_name]
cvs diff [file_name]
cvs log [file_name]
You can use options such as –r (version), date
Model System
libs : library, utilities, independent of model
resolution but machine dependent
rsm (or crsm): source codes and binaries, model
resolution dependent
e.g., rsm/def/rsm6228r5455
runs: run scripts
runs/runscr: run scripts called by rsm/rsim/csim
runs/expscr: templates for rsm/rsim/csim
Building the model without
installer
In libs, $ configure-libs
In rsm
You can edit rsm/def/physics.h, misc.h,
debug.h, diag.h to change model options
such as KF2 (Kain Fritsch convection) that is
not supported by --enable-xxx with installer
script.
$ configure-model
In runs, $ configure-scr [rsm/rsim/csim]
Other things to note…
Set stacksize to unlimited, otherwise rmtn.x
fails.
Regional Domain
rsm/def/rsm6228r5455
igrd, jgrd, cigrd, cjgrd
Igrd has to be a product of integer powers of 2, 3, and 5. On
IBM, integer power for 3 cannot be more than 2. jgrd has to
be an odd number. cigrd and jgrd are coarse resolution
regional file paramters for crsm.
Parameters
RPROJ, RTRUTH, RORIENT, RDELX, RDELY,
RCENLAT, RCENLON, RLFTGRD, RBTMGRD
Use libs/etc/prmap to choose a domain.
Utility Programs in libs/etc
date: returns date of sigma and surface files
fhour:
force_date_grib: change the date in grib files (r_pgb.ftxx)
grmap: creates ctl file for GrADS from r_pgb.ftxx
grmean: creates average of r_pgb.ftxx
incdte:
inchour:
jd: returns julian day from
prmap: used for choosing the domain. reads igrd and jgrd in
rsm/define.h and domain paramters in rsm/rsim script and
creates prmap.ctl which is opened in GrADs for display.
Input Files (for RSM)
Available global files from the data server at ECPC
6-hourly R1 (NCEP/NCAR Reanalysis): r1/ directory
6-hourly R2 (NCEP/DOE Reanalysis): r2/ directory
daily sst.grib: sfcanl/ directory
daily ice.grib: sfcanl/ directory
sftp [email protected] (password: data_ecpc)