Upload
erika-norton
View
213
Download
0
Embed Size (px)
Citation preview
www.eu-eela.eu
E-science grid facility forEurope and Latin America
MAVs-Study Biologically Inspired, Super Maneuverable, Flapping Wing Micro-Air-Vehicles
Bruno Roccia, Sergio Preidikman, Luis Ceballos
Universidad Nacional de Río Cuarto (Argentina)
Universidad Nacional de Cordoba (Argentina)
Consejo Nacional de Investigaciones Cientificas y Tecnicas (Argentina)
Diego Scardaci, Riccardo Bruno
Istituto Nazionale di Fisica Nucleare Sezione di Catania
Special Gridification Week for Windows Applications
Catania, Italy, 15.03.2010-19.03.2010
Catania, Special Gridification Week for Windows Applications, 15.03.2010 – 19.03.2010
Trujillo, EELA-2 Kick-off-Meeting, 20.04.2008 2www.eu-eela.eu
Objective
Querétaro, Second EELA-2 Grid School, 28.09.2009 – 10.10.2009Catania, Special Gridification Week for Windows Applications, 15.03.2010 – 19.03.2010
• Gridification
• Execution of a simple case
Trujillo, EELA-2 Kick-off-Meeting, 20.04.2008 3www.eu-eela.eu
MAVs-Study
Querétaro, Second EELA-2 Grid School, 28.09.2009 – 10.10.2009
The computational tool has been developed in FORTRAN and MATLAB© on Windows®
© The MathWorks, Inc. ® Microsoft, Corp.
PRE-PROCESSOR
POST-PROCESSOR
PROCESSOR
Catania, Special Gridification Week for Windows Applications, 15.03.2010 – 19.03.2010
Trujillo, EELA-2 Kick-off-Meeting, 20.04.2008 4www.eu-eela.eu
MAVs-Study
Querétaro, Second EELA-2 Grid School, 28.09.2009 – 10.10.2009
Input files:PRE-PROCESSOR
POST-PROCESSOR
CONFIG.DAT
LS.DAT
STROKEPOSITION.DAT
STROKEDEVIATION.DAT
ROTATIONANGLE.DAT
Catania, Special Gridification Week for Windows Applications, 15.03.2010 – 19.03.2010
PROCESSORPROCESSOR
Trujillo, EELA-2 Kick-off-Meeting, 20.04.2008 5www.eu-eela.eu
Gridification
• Simple Job
• File Catalogue
Files:
Catania, Special Gridification Week for Windows Applications, 15.03.2010 – 19.03.2010
uvlmRF
uvlmRF.jdl
Script file
Jdl file
Trujillo, EELA-2 Kick-off-Meeting, 20.04.2008 6www.eu-eela.eu
Type = "Job";JobType = "Normal";Executable = "uvlmRF";StdOutput = "uvlmRF.out";StdError = "uvlmRF.err";InputSandbox =
{"uvlm.exe","uvlmRF","CONFIG.DAT","LS.DAT","RotationAngle.DAT","StrokeDeviation.DAT","StrokePosition.DAT"};OutputSandbox = {"uvlmRF.err","uvlmRF.out"};RetryCount = 0;ShallowRetryCount=0;
Jdl File
Querétaro, Second EELA-2 Grid School, 28.09.2009 – 10.10.2009Catania, Special Gridification Week for Windows Applications, 15.03.2010 – 19.03.2010
Trujillo, EELA-2 Kick-off-Meeting, 20.04.2008 7www.eu-eela.eu
Type = "Job";JobType = "Normal";Executable = "uvlmRF";StdOutput = "uvlmRF.out";StdError = "uvlmRF.err";InputSandbox =
{"uvlm.exe","uvlmRF","CONFIG.DAT","LS.DAT","RotationAngle.DAT","StrokeDeviation.DAT","StrokePosition.DAT"};OutputSandbox = {"uvlmRF.err","uvlmRF.out"};RetryCount = 0;ShallowRetryCount=0;
uvlm.exe: INTEL® FORTRAN COMPILER option: /static
(Note: the *.exe file should run on Windows® 64 bit platform)
Jdl File
Querétaro, Second EELA-2 Grid School, 28.09.2009 – 10.10.2009Catania, Special Gridification Week for Windows Applications, 15.03.2010 – 19.03.2010
® Intel Corporation, ® Microsoft, Corp.
Trujillo, EELA-2 Kick-off-Meeting, 20.04.2008 8www.eu-eela.eu
Type = "Job";JobType = "Normal";Executable = "uvlmRF";StdOutput = "uvlmRF.out";StdError = "uvlmRF.err";InputSandbox =
{"uvlm.exe","uvlmRF","CONFIG.DAT","LS.DAT","RotationAngle.DAT","StrokeDeviation.DAT","StrokePosition.DAT"};OutputSandbox = {"uvlmRF.err","uvlmRF.out"};RetryCount = 0;ShallowRetryCount=0;
Dependencies detected with Dependency Walker (http://www.dependencywalker.com/ )
• IMAGEHLP.DLL
• MSVCRT.DLL
• DEPENDS.DLL
• KERNEL32.DLL
• NTDLL.DLL
Jdl File
Querétaro, Second EELA-2 Grid School, 28.09.2009 – 10.10.2009Catania, Special Gridification Week for Windows Applications, 15.03.2010 – 19.03.2010
Trujillo, EELA-2 Kick-off-Meeting, 20.04.2008 9www.eu-eela.eu
# Environment variablesexport PROD=prod.vo.eu-eela.euexport LFC_HOST=lfc.eela.ufrj.brexport LCG_GFAL_INFOSYS=bdii.eela.ufrj.br:2170export PATH=$PATH:.
# Executiondatechmod u+x uvlmuvlm
# StoragedateFILE=results03-00.tar.gz/bin/tar -czf $FILE *.DAT *.Dat *.TEC std.out std.errlcg-cr --vo $PROD -l lfn:/grid/prod.vo.eu-eela.eu/MAVs-Study/test03/$FILE -d
lnx097.eela.if.ufrj.br file:$PWD/$FILE
# Enddate
Script File
Querétaro, Second EELA-2 Grid School, 28.09.2009 – 10.10.2009Catania, Special Gridification Week for Windows Applications, 15.03.2010 – 19.03.2010
Trujillo, EELA-2 Kick-off-Meeting, 20.04.2008 10www.eu-eela.eu
$ glite-wms-job-submit -a -e https://grid-test-53.trigrid.it:7443/glite_wms_wmproxy_server -o jobid.txt -r grid2win-ce.ct.infn.it:2119/jobmanager-lcgpbs-prod uvlmRF.jdl
$ glite-wms-job-status -i jobid.txt*************************************************************BOOKKEEPING INFORMATION:
Status info for the Job : https://grid-test-53.trigrid.it:9000/yRqbjzgfiNAX-WdhHzRf2g
Current Status: Done (Success)Exit code: 0Status Reason: Job terminated successfullyDestination: grid2win-ce.ct.infn.it:2119/jobmanager-lcgpbs-prodSubmitted: Thu Mar 18 08:02:24 2010 BRT*************************************************************
Submit job & check status
Querétaro, Second EELA-2 Grid School, 28.09.2009 – 10.10.2009Catania, Special Gridification Week for Windows Applications, 15.03.2010 – 19.03.2010
Trujillo, EELA-2 Kick-off-Meeting, 20.04.2008 11www.eu-eela.eu
$ glite-wms-job-output -i jobid.txt --dir /home/lceballos/test03/gridresults03-00=============================================================================== JOB GET OUTPUT OUTCOMEOutput sandbox files for the job:https://grid-test-53.trigrid.it:9000/yRqbjzgfiNAX-WdhHzRf2ghave been successfully retrieved and stored in the directory:/home/lceballos/test03/gridresults2===============================================================================
$ lfc-ls -l /grid/prod.vo.eu-eela.eu/MAVs-Study/test03-rw-rw-r-- 1 160 105 122715 Mar 18 2010 results03-00.tar.gz
$ lcg-cp --vo prod.vo.eu-eela.eu lfn:/grid/prod.vo.eu-eela.eu/MAVs-Study/test03/results03-00.tar.gz file://$HOME/test03/gridresults03-00/results03-00.tar.gz
$ ls -la-rw-rw-r-- 1 lceballos lceballos 122715 Mar 18 09:11 results03-00.tar.gz-rw-rw-r-- 1 lceballos lceballos 166 Mar 18 08:47 uvlmRF.err-rw-rw-r-- 1 lceballos lceballos 562 Mar 18 08:47 uvlmRF.out
Get results
Querétaro, Second EELA-2 Grid School, 28.09.2009 – 10.10.2009Catania, Special Gridification Week for Windows Applications, 15.03.2010 – 19.03.2010
Trujillo, EELA-2 Kick-off-Meeting, 20.04.2008 12www.eu-eela.eu
$ more CONFIG.DAT
UVLM ver. 1.00 - Developed by Bruno Roccia******************************************************************************
*Beat Frequency [Hz] Uinf [m/s] Step Time Vect. Uinf 1.00 1.0 150 0.000 0.00 0.000R1 Vector [m] R2 Vector [m] Offset -60.0000 -25.000 1NOP1 NOP2 NOP3 1 1 1
Example
Querétaro, Second EELA-2 Grid School, 28.09.2009 – 10.10.2009Catania, Special Gridification Week for Windows Applications, 15.03.2010 – 19.03.2010
• Robofly’s kinematics was used.
Trujillo, EELA-2 Kick-off-Meeting, 20.04.2008 13www.eu-eela.eu
Results
Querétaro, Second EELA-2 Grid School, 28.09.2009 – 10.10.2009Catania, Special Gridification Week for Windows Applications, 15.03.2010 – 19.03.2010
• Wings position at 75% 1st cycle
Isometric view Right view
Trujillo, EELA-2 Kick-off-Meeting, 20.04.2008 14www.eu-eela.eu
Results
Querétaro, Second EELA-2 Grid School, 28.09.2009 – 10.10.2009Catania, Special Gridification Week for Windows Applications, 15.03.2010 – 19.03.2010
Trujillo, EELA-2 Kick-off-Meeting, 20.04.2008 15www.eu-eela.eu
Results
Querétaro, Second EELA-2 Grid School, 28.09.2009 – 10.10.2009Catania, Special Gridification Week for Windows Applications, 15.03.2010 – 19.03.2010
Grid executionLocal executionPentium 4 - Hyper Thread
3.00 GHz - FSB 800 MHz
Submit job 5 min --
Execution 3 hrs 4 hrs
Storage 9 sec( < 100 MB )
--
• Time measurement
Trujillo, EELA-2 Kick-off-Meeting, 20.04.2008 16www.eu-eela.eu
Validation
Querétaro, Second EELA-2 Grid School, 28.09.2009 – 10.10.2009Catania, Special Gridification Week for Windows Applications, 15.03.2010 – 19.03.2010
• Check of circulation valuesGrid execution Local execution Difference
Circulation.Dat Circulation.Dat (referred to the local execution)
Circulations Values
-----------------------------------
TIME STEP = 0
BOUNDING SHEET
LEFT WING
0.015083783
0.015954356
. . .
Circulations Values
-----------------------------------
TIME STEP = 0
BOUNDING SHEET
LEFT WING
0.015083783
0.015954356
. . .
0.00000%
0.00000%
. . .
. . . . . . . . .
TIME STEP = 2
BOUNDING SHEET
LEFT WING
0.103832454
0.113812331
. . .
TIME STEP = 2
BOUNDING SHEET
LEFT WING
0.103832454
0.113812331
. . .
0.00000%
0.00000%
. . .
Trujillo, EELA-2 Kick-off-Meeting, 20.04.2008 17www.eu-eela.eu
Final comments
Querétaro, Second EELA-2 Grid School, 28.09.2009 – 10.10.2009Catania, Special Gridification Week for Windows Applications, 15.03.2010 – 19.03.2010
• The first version of MAVs-Study is working!
• The application was ported on the e-Infrastruture
• The tool was validated– A simple example was executed
• The first execution show an improvement in the performance – (referred to the computational resources available at UNRC)
Trujillo, EELA-2 Kick-off-Meeting, 20.04.2008 18www.eu-eela.eu Querétaro, Second EELA-2 Grid School, 28.09.2009 – 10.10.2009Catania, Special Gridification Week for Windows Applications, 15.03.2010 – 19.03.2010
• Thanks!Thanks!