110 likes | 258 Views
Introduction. environment, scripts, visualization, …. Overview. computer characteristics scripts and environment how to submit a job visualization frodo, edf, chagal, viewer. Computer characteristics. ~/workdir /. 3dvar /. scripts to run 3dvar. Jb /. calculate B-matrix. Varpack /.
E N D
Introduction environment, scripts, visualization, …
Overview • computer characteristics • scripts and environment • how to submit a job • visualization • frodo, edf, chagal, viewer
~/workdir/ 3dvar/ scripts to run 3dvar Jb/ calculate B-matrix Varpack/ varpack TOVS/ bias correction calculation TOVS_full/ OdbViewer/ check ODB contents pack/ model compilation ~/workdir/Doc/
Submit a job Loadleveler • commands: • llsubmit: submit a job • llq, (upr): check running jobs • llcancel: cancel a job • classes: big(8), medium(4), mono(1) • submit syntax: value=val llsubmitscript • job header: #@ ll_command = value
test.sh #!/bin/ksh #@ job_name = test #@ job_type = parallel #@ environment = COPY_ALL #@ output = out.$(job_name).$(jobid) #@ error = err.$(job_name).$(jobid) #@ notification = never #@ total_tasks = 4 #@ class = medium #@ arguments = ${ARG} #@ queue set –x echo ARG=${ARG} sleep 20 exit 0
submit the job: $ ARG=3 llsubmit test.sh llsubmit: The job “regatta.met.hu.79174” has been submitted. check running jobs: $ llq Id Owner Submitted ST PRI Class Running On --------------- ------- ---------- -- --- ------ ----------- regatta.79174.0 wshop016/1 07:32R 50 medium regatta regatta.79166.0 szepszo6/1 06:36R 50 big regatta cancel a job: $ llcancel 79174 llcancel: Cancel command has been sent to the central manager.
Visualization and related tools • frodo: view file header and list of fields • edf: dump a selected field to ascii • chagal: visualize a field • Viewer: check ODB content
frodofafile INFO.fafile edfnamelistfafile ASCII.fafile &NAML INFO=.T., LDAT=.T., VIEW=‘I’, TABCH(1)=‘S037TEMPERATURE’, /
***************************** INFO ***************************** (NOTE THAT X AND Y COORDINATES ARE RELATIVES AT TOTAL DOMAIN, FROM 1 TO NDLON, AND FROM 1 TO NDGL. TO HAVE THE REAL INDEX IN THE DATA ARRAY USE : INDEX = (Y-1)*NDLON+X .) ARRAY SIZE ON X : 229 ARRAY SIZE ON Y : 205 LON LAT X Y S037TEMPERATURE SW : 2.18 34.00 1 1 289.6446491 NE : 39.08 55.62 229 205 283.0028346 MAXIMUM VALUES ON ARRAY : 303.1829368 AT LON-LAT COORDINATES PT : 5.89 34.50 AT X AND Y COORDINATES PT : 30 1 MINIMUM VALUES ON ARRAY : 267.8150697 AT LON-LAT COORDINATES PT : 7.84 45.99 AT X AND Y COORDINATES PT : 57 104 **************************************************************** LON LAT S037TEMPERATURE 2.1783 33.9958 289.6446491 2.3054 34.0157 290.4234711 2.4325 34.0353 291.3951976 2.5597 34.0548 291.5606389
ctr fig.ps ODB viewer: ~/workdir/OdbViewer/ alex.par : parameter file (full path to ODB, name of sql file) test.sql : sql query Viewer –p alex.par odb_res.txt gmeta chagal namelist idt e.g.: ~/workdir/Visualize/namchagal.T