Presentation is loading. Please wait.

Presentation is loading. Please wait.

Introduction environment, scripts, visualization, …

Similar presentations


Presentation on theme: "Introduction environment, scripts, visualization, …"— Presentation transcript:

1 Introduction environment, scripts, visualization, …

2 Overview computer characteristics scripts and environment how to submit a job visualization –frodo, edf, chagal, viewer

3 regatta IBM p690 systemAIX 5.1 schedulerLoadleveler 3.1 compilerxlf # of nodes1 # of CPUs32 processor1.3 GHz power4 memory2GB/CPU Computer characteristics

4 hostregatta usernamewshop{xx}, {xx}=01,02,…,10 passwdwshop{xx} HOME (29GB)/users/wshop{xx} WORKDIR (700GB) /users/workdir/wshop{xx} ~/workdir model compilationpack/ check ODB contentsOdbViewer/ TOVS_full/ bias correction calculationTOVS/ varpackVarpack/ calculate B-matrixJb/ scripts to run 3dvar3dvar/ ~/workdir/ ~/workdir/Doc/

5 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 llsubmit script job header: #@ ll_command = value

6 #!/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 test.sh

7 submit the job: $ ARG=3 llsubmit test.sh llsubmit: The job regatta.met.hu.79174 has been submitted. $ llq Id Owner Submitted ST PRI Class Running On --------------- ------- ---------- -- --- ------ ----------- regatta.79174.0 wshop01 6/1 07:32 R 50 medium regatta regatta.79166.0 szepszo 6/1 06:36 R 50 big regatta check running jobs: $ llcancel 79174 llcancel: Cancel command has been sent to the central manager. cancel a job:

8 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

9 frodo fafileINFO.fafile edf namelist fafileASCII.fafile &NAML INFO=.T., LDAT=.T., VIEW=I, TABCH(1)=S037TEMPERATURE, /

10 ***************************** 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

11 chagal namelist gmeta ctrfig.ps idt e.g.: ~/workdir/Visualize/namchagal.T ODB viewer: ~/workdir/OdbViewer/ alex.par : test.sql : sql query Viewer –p alex.par odb_res.txt parameter file (full path to ODB, name of sql file)


Download ppt "Introduction environment, scripts, visualization, …"

Similar presentations


Ads by Google