360 likes | 511 Views
Cracow ’06 Grid Workshop. Multimodal Planet Visualization on a metagrid. Ronan Watson. What I will talk about. Software used – Tools and Utilities KML server VRG server Use Case Video Questions. Existing Visualization Tools. Earth Visualization software Can be run with OpenGL
E N D
Cracow ’06 Grid Workshop Multimodal Planet Visualization on a metagrid Ronan Watson
What I will talk about • Software used – Tools and Utilities • KML server • VRG server • Use Case • Video • Questions
Existing Visualization Tools • Earth Visualization software • Can be run with OpenGL • Ported to Linux • 3D engine written in C++ • Uses OpenGL libraries • Exporter plugins for most common modelling software
Idea • To combine the functionality of the existing software, Google Earth and OGRE • To produce a visualization package that will simplify and increase the understanding and use of the Grid.
What to map? • Initially • EGEE/LCG2 sites • Get all site names • Run a site functional test to determine active sites • sftests get-GOC-sites-map • Parse the result to get gridgates • Perform an ldapsearch on each of the gridgate machines • Parse output to get longitude and latitude
KML • Next step? • To add this content to Google Earth • Using a file format called KML • KML • Keyhole Markup Language • XML grammar and file format • modeling and storing geographic features • points • Lines • images • polygons
KML Example <?xml version=”1.0” encoding=”UTF-8”?> <kml xmlns=”http://earth.google.com/kml/2.1”> <Placemark> <name>Stonehenge, England</name> <description>Stonehenge was built around 2500BC</description> <Point> <coordinates>1.826752,51.179045,0 </coordinates> </Point> </Placemark> </kml>
KML file • Build site KML file • Script to add all sites to kml file • Add generic site building models • Add placemark locations • KML server • Site kml file continually produced by grid jobs • Uploaded periodically to server • Download kml file from server and load to Google Earth
VirtualGrid engine • VirtualGrid engine built using OGRE libraries • 3d navigable world • Uses .vrg file type which contains site specific information
VRG server • VRG files continually produced by grid jobs • Server location added to .kml site file • VirtualGrid engine run from Google Earth
Example Visualization Setup • 9-node cluster • LCG2 Worker Node software • 2 grid sites • VRG server • Scalable Coherent Interconnect • Chromium
Use Case user’s workstation
ssh user’s workstation UI
Submit KML Producer Job To Grid RB user’s workstation UI
CE Submit KML Producer Job To Grid RB user’s workstation UI
WN CE Submit KML ProducerJob To Grid RB user’s workstation UI
WN CE Submit VRG ProducerJob To Grid RB user’s workstation UI
WN CE Submit VRGProducerJob To Grid RB user’s workstation UI CE
WN CE Submit VRGProducerJob To Grid RB user’s workstation UI CE WN
WN CE Submit Render Job To VE RB user’s workstation UI CE WN
WN CE Submit Render Job To VE RB user’s workstation UI CE WN CE gridgate.cs.tcd.ie
WN CE Submit Render Job To VE RB user’s workstation UI CE WN CE WN gridgate.cs.tcd.ie vrengine.cs.tcd.ie
WN CE Write To Lock File RB user’s workstation UI CE WN CE WN gridgate.cs.tcd.ie vrengine.cs.tcd.ie
Produce KML WN CE RB user’s workstation UI CE WN CE WN gridgate.cs.tcd.ie vrengine.cs.tcd.ie
WN CE Transfer KML File To VE RB user’s workstation UI CE WN CE WN gridgate.cs.tcd.ie vrengine.cs.tcd.ie
WN CE Write To Lock File RB user’s workstation UI CE WN CE WN gridgate.cs.tcd.ie vrengine.cs.tcd.ie
WN CE Transfer VRG files to server RB user’s workstation UI CE WN VRG server CE WN gridgate.cs.tcd.ie vrengine.cs.tcd.ie
WN CE RB user’s workstation UI CE WN VRG server Run Google Earth + Ogre Using Chromium CE WN gridgate.cs.tcd.ie vrengine.cs.tcd.ie
WN CE RB user’s workstation UI CE WN VRG server Fetch the .vrg files From server CE WN gridgate.cs.tcd.ie vrengine.cs.tcd.ie
WN CE Rendering RB user’s workstation UI CE WN VRG server CE WN gridgate.cs.tcd.ie vrengine.cs.tcd.ie
WN CE Rendering RB user’s workstation UI CE WN GVid Server Started CE WN gridgate.cs.tcd.ie vrengine.cs.tcd.ie
WN CE GVid Client Started Rendering RB user’s workstation UI CE WN GVid Server Started CE WN gridgate.cs.tcd.ie vrengine.cs.tcd.ie
WN CE GVid Client Started Rendering RB user’s workstation UI CE WN GVid Server Started CE WN gridgate.cs.tcd.ie vrengine.cs.tcd.ie Video Output and Interactive Communication
Steer Next Computation WN CE GVid Client Started Steer Next Computation Rendering RB user’s workstation UI CE WN GVid Server Started CE WN gridgate.cs.tcd.ie vrengine.cs.tcd.ie Video Output and Interactive Communication