© geodise project, university of southampton, 2003. applications and middleware hakki eres,...

12
© Geodise Project, University of Southampton, 2003. Applications and Middleware Hakki Eres, Fenglian Xu & Graeme Pound

Upload: edmund-lawrence

Post on 16-Dec-2015

213 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: © Geodise Project, University of Southampton, 2003. Applications and Middleware Hakki Eres, Fenglian Xu & Graeme Pound

© Geodise Project, University of Southampton, 2003.

Applications and Middleware

Hakki Eres, Fenglian Xu

& Graeme Pound

Page 2: © Geodise Project, University of Southampton, 2003. Applications and Middleware Hakki Eres, Fenglian Xu & Graeme Pound

© Geodise Project, University of Southampton, 2003.

Geodise compute toolbox

• Matlab allows engineers to script complex workflows required by CFD/optimisation

• Geodise compute toolbox is a client to Globus v2.0 resources

• Matlab functions which utilise the Java CoG Globus client

• To be familiar to users these functions are consistent with the Matlab syntax

Page 3: © Geodise Project, University of Southampton, 2003. Applications and Middleware Hakki Eres, Fenglian Xu & Graeme Pound

© Geodise Project, University of Southampton, 2003.

Geodise compute toolbox

Matlab

• Familiar, and mature, environment• Cross platform (Windows/Linux)• Allows scripting• Seamless integration of Java

Java CoG kit

• Globus client implemented in Java• Under development (v 0.9.13)• GridFTP client (v 0.9.14)• Robust with an active user base• http://www.globus.org/cog/java

Globus Toolkit

• Version 2.0 features– Data transfer - GridFTP– Monitoring & Discovery -MDS– Job submission - GRAM– Security - GSI

• Widely deployed• Currently no windows client• Version 3.0 will be an OGSA

implementation

Page 4: © Geodise Project, University of Southampton, 2003. Applications and Middleware Hakki Eres, Fenglian Xu & Graeme Pound

© Geodise Project, University of Southampton, 2003.

Geodise compute toolbox

gd_certinfo() Returns info about the user’s certificate

gd_createproxy() Creates a Globus proxy certificate for the user’s credentials

gd_destroyproxy() Destroys the local copy of the user's Globus proxy certificate

gd_getfile() Retrieves a remote file using GridFtp

gd_jobkill() Kills a Globus GRAM specified by job handle

gd_jobpoll() Queries the status of a Globus GRAM job until complete

gd_jobstatus() Gets the status of a Globus GRAM job specified by job handle

gd_jobsubmit() Submits a compute job to a Globus GRAM job manager

gd_listjobs() Returns all the job handles belonging to the user

gd_proxyinfo() Returns information about the user's proxy certificate

gd_proxyquery() Queries whether a valid proxy certificate exists.

gd_putfile() Puts a remote file using GridFtp

Matlab commands allow the user to exploit Globus resources

Page 5: © Geodise Project, University of Southampton, 2003. Applications and Middleware Hakki Eres, Fenglian Xu & Graeme Pound

© Geodise Project, University of Southampton, 2003.

Running Fluent on a Globus resource

Page 6: © Geodise Project, University of Southampton, 2003. Applications and Middleware Hakki Eres, Fenglian Xu & Graeme Pound

© Geodise Project, University of Southampton, 2003.

Querying Fluent

Page 7: © Geodise Project, University of Southampton, 2003. Applications and Middleware Hakki Eres, Fenglian Xu & Graeme Pound

© Geodise Project, University of Southampton, 2003.

Options optimisation package

Matlab (local)

OPTIONS Mex function

nullConstraint()

NACA_objfun()

Metropolis compute resource

FLUENTGAMBIT

Geodise compute toolkit

GRAM job submission/GridFTP file transfer

Page 8: © Geodise Project, University of Southampton, 2003. Applications and Middleware Hakki Eres, Fenglian Xu & Graeme Pound

© Geodise Project, University of Southampton, 2003.

NACA Gambit/Fluent Optimisation

• Fluent CFD solver • Single design variable:

(angle of attack)

• Objective function: Lift/drag ratio

• Dynamic hill climbing• Optimum at the upper

limit for design variable• Matlab structure returned

Page 9: © Geodise Project, University of Southampton, 2003. Applications and Middleware Hakki Eres, Fenglian Xu & Graeme Pound

© Geodise Project, University of Southampton, 2003.

Jython scripting

• Python is an interpretive scripting language• Jython is a Java implementation of Python• Free and Open Source alternative to Matlab• Code reuse from the Geodise compute and

database toolboxes• Possible uses for scripting on the server

Page 10: © Geodise Project, University of Southampton, 2003. Applications and Middleware Hakki Eres, Fenglian Xu & Graeme Pound

© Geodise Project, University of Southampton, 2003.

Fluent Remote Simulation Facility

• Commercial ‘power by the hour’ solutions may make sense to small businesses

• One example is the Fluent Remote Simulation Facility providing CFD on demand

Page 11: © Geodise Project, University of Southampton, 2003. Applications and Middleware Hakki Eres, Fenglian Xu & Graeme Pound

© Geodise Project, University of Southampton, 2003.

Notification by SMS & email

• Exploiting SMS in Grid environment• Two-way communication

– Send notifications to a mobile user– User can steer or kill a computation by replying to a message– Relieve users from being bound to their desktops

• Using SMTP to send images and large files• Plug-n-play into any Grid-enabled environment

Page 12: © Geodise Project, University of Southampton, 2003. Applications and Middleware Hakki Eres, Fenglian Xu & Graeme Pound

© Geodise Project, University of Southampton, 2003.

Notification by SMS & email