Employing Task Parallelism to Facilitate Dynamic Comparison of - - PowerPoint PPT Presentation

employing task parallelism to facilitate dynamic
SMART_READER_LITE
LIVE PREVIEW

Employing Task Parallelism to Facilitate Dynamic Comparison of - - PowerPoint PPT Presentation

Employing Task Parallelism to Facilitate Dynamic Comparison of Model Output Ha nna h Aize nma n (CUNY Gra d ua te Ce nte r, NOAA-CRE ST a t CCNY) Me nto rs: Da ve Bro wn, Ma ry Ha le y (NCAR-CISL / VE T S) Co ntrib uto rs: She ri Mic


slide-1
SLIDE 1

Employing Task Parallelism to Facilitate Dynamic Comparison of Model Output

Ha nna h Aize nma n (CUNY Gra d ua te Ce nte r, NOAA-CRE ST a t CCNY) Me nto rs: Da ve Bro wn, Ma ry Ha le y (NCAR-CISL / VE T S) Co ntrib uto rs: She ri Mic ke lso n (ANL ), Susa n Ba te s, Go kha n Da na b a so g lu (NCAR-CGD)

slide-2
SLIDE 2

OMWG POP Diagnostics

slide-3
SLIDE 3

Swift POP Diagnostics

  • Pa ra lle lize s e xe c utio n o f NCL

sc ripts

  • 3X spe e d up o ve r No n-Swift ve rsio n
slide-4
SLIDE 4

Only supported on DASG machines

slide-5
SLIDE 5

Even on DASG…

slide-6
SLIDE 6

NCAR’s mission is “to support, enhance, and extend the capabilities

  • f the university community and the

broader scientific community, nationally and internationally”

  • http://ncar.ucar.edu/about-ncar
slide-7
SLIDE 7
slide-8
SLIDE 8

Service Oriented Architecture

slide-9
SLIDE 9

Why SOA?

  • Se rvic e s sta y inde pe nde nt
  • Dia g no stic s c a n b e a dde d inde pe nde nt o f o the r se rvic e s
  • Ne w se rvic e s c a n use o ld o ne s witho ut c ha ng ing the o lds o ne s
  • Multiple c lie nts c a n ta lk to the sa me se rve r
  • CL

I , mo b ile , de skto p, …

  • Ca n ke e p o ld UI

up while ro lling o ut ne w o ne

  • Clie nts a nd se rvic e s do no t ne e d to b e o n the sa me

ma c hine

  • Slo w se rvic e s (the dia g no stic s) do no t inte rfe re with

fa st o ne s (da ta , o b se rva tio ns)

slide-10
SLIDE 10

RESTful SOA

slide-11
SLIDE 11

Start a run

slide-12
SLIDE 12

Get the results

slide-13
SLIDE 13

URL->File

slide-14
SLIDE 14

Why pydiag?

slide-15
SLIDE 15

Automate running the diagnostics

  • T

urn use r de fine d se tting s into inputs

  • c a se / run, o b se rva tio ns, ye a rs, a nd plo ts
  • I

nputs a re pytho n dic tio na rie s

  • Ge ne ra te Swift c o nfig ura tio n file s
  • site s.xml c ha ng e s with e ve ry ne w o utput dire c to ry
  • site s.xml a nd tc .da ta a re ma c hine de pe nde nt
  • Co nfig s a re dic tio na rie s a nd lists o f dic ts
  • F

ile s g e ne ra te xml, tsv, c dm, a nd c o nfig ura tio n

  • I

so la te de pe nde nc ie s

  • T

urn it into a n impo rta b le lib ra ry

slide-16
SLIDE 16

CSH->Python

slide-17
SLIDE 17

Deployment

  • Re q uire s a ny lib ra rie s use d b y the dia g no stic s
  • Se lf-c o nta ine d e nviro nme nt
  • I

so la te d thro ug h use o f virtua le nv

  • All the pa c ka g e s a re in PyPi
  • Only o the r de pe nde nc ie s
  • lib e ve nt a nd a c c e ss to the da ta se rve rs (g la de , hpss)
  • Wo rks b e tte r o n c luste r
  • Ma inte na nc e a nd e xte nsib ility:
  • Mo dula r a rc hite c ture
  • Unit, inte g ra tio n, a nd func tio na l re g re ssio n te sts
  • Do c ume nta tio n c a n b e c o mpile d into we b pa g e s, b o o ks, e tc
  • pydia g , whic h is sta nd-a lo ne , is c o mpa tib le with

Pytho n2.4 thro ug h Pytho n2.7

slide-18
SLIDE 18

Server Side

mik.ucar.edu Use any of the documented/sample urls

slide-19
SLIDE 19

Client Side

slide-20
SLIDE 20

Acknowledgments

  • Da ve Bro wn a nd Ma ry Ha ly (NCAR/ CI

SL )

  • She ri Mic ke lso n (ANL

)

  • Susa n Ba te s a nd Go kha n Da na b a so g lu

(NCAR/ CGD)

  • Pa ul Go o dma n a nd Na tha n Wilhe lmi (NCAR-CI

SL )

  • We i Hua ng a nd Ric k Bro wnrig g (NCAR/ CI

SL )