GridMOSI:Mod/GridIdent:Exemplu
< GridMOSI:ModCuprins |
Exemplu utilizare GridIdent
Aplicaţia Grid de determinare a modelelor matematice include algoritmi operând pe datele de intrare-ieşire existente sau generate, prin experimente dedicate, ale variabilelor sistemelor sau proceselor dinamice. Se pot folosi, aşadar, înregistrările disponibile în mod curent pentru urmărirea evoluţiei proceselor. Această abordare, de determinare a modelelor matematice din datele de intrare-ieşire, se numeşte identificarea sistemelor. Aplicaţia generează modele de sisteme multivariabile discrete, liniare invariante în timp (LIT), descrise în spaţiul stărilor. Ordinul sistemului poate fi impus de utilizator, sau poate fi determinat automat de aplicaţie.
Datele de intrare definesc opţiunile de rezolvare (metoda de utilizat şi parametrii asociaţi, ordinul dorit, configuraţia de procesoare, dimensiunea blocurilor, toleranţe), opţiunile de listare/memorare a rezultatelor, dimensiunile problemei şi numele fişierului conţinând matricele de date (de pildă, traiectoriile variabilelor de intrare U şi de ieşire Y ale sistemului). Matricele sunt stocate în ordinea coloanelor, iar fiecare linie din fişier conţine un singur element al unei matrice.
Datele de ieşire sunt matricele calculate; ele pot fi listate şi/sau memorate într-un fişier specificat.
Pentru identificare, vor fi executate programele : pdorder, pdsident, pdfindx0.
- Mai multe referinte gasiti la :
http://www.gridmosi.ro/solutii-mosi/gridident
Testarea aplicaţiei - directorul pdfindx0
- Platforma pe care am testat
- Modul în care am testat şi rezultatele obţinute
- Platforma pe care am testat
Am folosit ca sistem de operare Centos 4. Staţia pe care s-a lucrat este testbed003.grid.ici.ro . Aplicaţia a fost instalată în /home/ana110287/pdfindx0. Fişierele din acest director sunt:
[ana110287@testbed003 pdfindx0]$ ls getOutput.sh job1.id pdfindx0 pdfindx0.jdl pdfindx0.tar.gz robot_arm.dat getStatus.sh jobout pdfindx0.in pdfindx0.sh pdsident.out submitJob.sh
- Modul în care am testat şi rezultatele obţinute:
Datele de intrare : fişierul pdfindx0.in
[ana110287@testbed003 pdfindx0]$ cat pdfindx0.in 'Input Data File for Initial State Determination' 'pdfindx0.out' 13 'A' 1024 4 1 1 'pdsident.out' 'robot_arm.dat' 80 1 1 0.0 2
Deja se presupune că s-a creat certificatul proxy.
a) trimiterea jobului :
[ana110287@testbed003 pdfindx0]$ glite-wms-job-submit -a -o job1.id -r testbed001.grid.ici.ro:2119/jobmanager-pbs-gridmosi pdfindx0.jdl Connecting to the service https://testbed003.grid.ici.ro:7443 /glite_wms_wmproxy_server ====================== glite-wms-job-submit Success ====================== The job has been successfully submitted to the WMProxy Your job identifier is: https://testbed003.grid.ici.ro:9000/a7sJL8yzvpVam-n0cnvnXQ The job identifier has been saved in the following file: /home/ana110287/pdfindx0/job1.id ========================================================================== [ana110287@testbed003 pdfindx0]$
b) Verificarea statusului jobului :
[ana110287@testbed003 pdfindx0]$ glite-wms-job-status -i job1.id ************************************************************* BOOKKEEPING INFORMATION: Status info for the Job : https://testbed003.grid.ici.ro:9000/a7sJL8yzvpVam- n0cnvnXQ Current Status: Running Status Reason: unavailable Destination: testbed001.grid.ici.ro:2119/jobmanager-pbs-gridmosi Submitted: Fri Jul 25 19:25:49 2008 EEST ************************************************************* [ana110287@testbed003 pdfindx0]$
c) Outputul jobului :
[ana110287@testbed003 pdfindx0]$ glite-wms-job-output -i job1.id Connecting to the service https://testbed003.grid.ici.ro:7443 /glite_wms_wmproxy_server ================================================================================ JOB GET OUTPUT OUTCOME Output sandbox files for the job: https://testbed003.grid.ici.ro:9000/a7sJL8yzvpVam-n0cnvnXQ have been successfully retrieved and stored in the directory: /tmp/jobOutput/ana110287_a7sJL8yzvpVam-n0cnvnXQ ================================================================================
[ana110287@testbed003 pdfindx0]$ cd /tmp/ [ana110287@testbed003 tmp]$ cd .. [ana110287@testbed003 /]$ cd /tmp/jobOutput/ana110287_a7sJL8yzvpVam-n0cnvnXQ/ [ana110287@testbed003 ana110287_a7sJL8yzvpVam-n0cnvnXQ]$ ls pdfindx0.out std_pdfindx0.err std_pdfindx0.out [ana110287@testbed003 ana110287_a7sJL8yzvpVam-n0cnvnXQ]$ [ana110287@testbed003 ana110287_a7sJL8yzvpVam-n0cnvnXQ]$ cat std_pdfindx0.err [ana110287@testbed003 ana110287_a7sJL8yzvpVam-n0cnvnXQ]$ cat std_pdfindx0.out Initial condition vector x0 Transformation matrix to Schur form [ana110287@testbed003 ana110287_a7sJL8yzvpVam-n0cnvnXQ]$
Testarea aplicaţiei - directorul pdorder
- Platforma pe care am testat
- Modul în care am testat şi rezultatele obţinute
- Platforma pe care am testat
Am folosit ca sistem de operare Centos 4. Staţia pe care s-a lucrat este testbed003.grid.ici.ro . Aplicaţia a fost instalată în /home/ana110287/pdorder Conţintul acestuia este :
[ana110287@testbed003 pdorder]$ ls getOutput.sh job1.id pdorder pdorder.jdl pdorder.tar.gz submitJob.sh getStatus.sh jobout pdorder.in pdorder.sh robot_arm.dat
- Modul în care am testat şi rezultatele obţinute:
Datele de intrare : fişierul pdorder.in
[ana110287@testbed003 pdorder]$ cat pdorder.in 'Input Data File for System Order Determination' 'pdorder.out' 13 'M' 'C' 'O' 'N' 20 1024 1 1 'robot_arm.dat' 80 1 1 0.0 -1.0 3 [ana110287@testbed003 pdorder]$
Deja se presupune că s-a creat certificatul proxy.
a) trimiterea jobului :
[ana110287@testbed003 pdorder]$ glite-wms-job-submit -a -o job1.id -r testbed001.grid.ici.ro:2119/jobmanager-pbs-gridmosi pdorder.jdl Connecting to the service https://testbed003.grid.ici.ro:7443 /glite_wms_wmproxy_server ====================== glite-wms-job-submit Success ====================== The job has been successfully submitted to the WMProxy Your job identifier is: https://testbed003.grid.ici.ro:9000/uU226Ua-jjw_5QNaC6p-ww The job identifier has been saved in the following file: /home/ana110287/pdorder/job1.id ========================================================================== [ana110287@testbed003 pdorder]$
b) verificarea statusului jobului pe care l-am trimis :
[ana110287@testbed003 pdorder]$ glite-wms-job-status -i job1.id ************************************************************* BOOKKEEPING INFORMATION: Status info for the Job : https://testbed003.grid.ici.ro:9000/uU226Ua- jjw_5QNaC6p-ww Current Status: Running Status Reason: Job successfully submitted to Globus Destination: testbed001.grid.ici.ro:2119/jobmanager-pbs-gridmosi Submitted: Fri Jul 25 19:39:54 2008 EEST ************************************************************* [ana110287@testbed003 pdorder]$
c)Outputul obţinut :
[ana110287@testbed003 pdorder]$ glite-wms-job-output -i job1.id Connecting to the service https://testbed003.grid.ici.ro:7443 /glite_wms_wmproxy_server ================================================================================ JOB GET OUTPUT OUTCOME Output sandbox files for the job: https://testbed003.grid.ici.ro:9000/uU226Ua-jjw_5QNaC6p-ww have been successfully retrieved and stored in the directory: /tmp/jobOutput/ana110287_uU226Ua-jjw_5QNaC6p-ww ================================================================================ [ana110287@testbed003 pdorder]$
[ana110287@testbed003 ana110287_uU226Ua-jjw_5QNaC6p-ww]$ ls pdorder.out std_pdorder.err std_pdorder.out [ana110287@testbed003 ana110287_uU226Ua-jjw_5QNaC6p-ww]$ cat std_pdorder.err [ana110287@testbed003 ana110287_uU226Ua-jjw_5QNaC6p-ww]$ cat std_pdorder.out System order n = 4 ; Processed upper triangular factor R of QR factorization Singular values [ana110287@testbed003 ana110287_uU226Ua-jjw_5QNaC6p-ww]$
Testarea aplicaţiei - directorul pdsident
- Platforma pe care am testat
- Modul în care am testat şi rezultatele obţinute
- Platforma pe care am testat :
Am folosit ca sistem de operare Centos 4. Staţia pe care s-a lucrat este testbed003.grid.ici.ro . Aplicaţia a fost instalată în /home/ana110287/pdsident. Fişierele din acest director sunt:
[ana110287@testbed003 pdsident]$ ls getOutput.sh job1.id pdorder.out pdsident.in pdsident.sh submitJob.sh getStatus.sh jobout pdsident pdsident.jdl pdsident.tar.gz [ana110287@testbed003 pdsident]$
- Modul în care am testat şi rezultatele obţinute
Datele de intrare : fişierul pdsident.in
[ana110287@testbed003 pdsident]$ cat pdsident.in 'Input Data File for System Matrices Determination' 'pdsident.out' 13 'C' 'A' 'K' 20 1024 4 1 1 'pdorder.out' 80 1 1 0.0 3 [ana110287@testbed003 pdsident]$
Se consideră deja creat proxy-ul.
a) trimiterea jobului :
[ana110287@testbed003 pdsident]$ glite-wms-job-submit -a -o job1.id -r testbed001.grid.ici.ro:2119/jobmanager-pbs-gridmosi pdsident.jdl Connecting to the service https://testbed003.grid.ici.ro:7443 /glite_wms_wmproxy_server ====================== glite-wms-job-submit Success ====================== The job has been successfully submitted to the WMProxy Your job identifier is: https://testbed003.grid.ici.ro:9000/UeEz4YqoFJDslnEQJ2CoOg The job identifier has been saved in the following file: /home/ana110287/pdsident/job1.id ========================================================================== [ana110287@testbed003 pdsident]$
b) verificarea statusului jobului :
[ana110287@testbed003 pdsident]$ glite-wms-job-status -i job1.id ************************************************************* BOOKKEEPING INFORMATION: Status info for the Job : https://testbed003.grid.ici.ro:9000 /UeEz4YqoFJDslnEQJ2CoOg Current Status: Running Status Reason: unavailable Destination: testbed001.grid.ici.ro:2119/jobmanager-pbs-gridmosi Submitted: Fri Jul 25 19:57:00 2008 EEST ************************************************************* [ana110287@testbed003 pdsident]$
c) outputul jobului :
[ana110287@testbed003 pdsident]$ glite-wms-job-output -i job1.id Connecting to the service https://testbed003.grid.ici.ro:7443 /glite_wms_wmproxy_server ================================================================================ JOB GET OUTPUT OUTCOME Output sandbox files for the job: https://testbed003.grid.ici.ro:9000/UeEz4YqoFJDslnEQJ2CoOg have been successfully retrieved and stored in the directory: /tmp/jobOutput/ana110287_UeEz4YqoFJDslnEQJ2CoOg ================================================================================
[ana110287@testbed003 pdsident]$ cd /tmp/jobOutput /ana110287_UeEz4YqoFJDslnEQJ2CoOg/ [ana110287@testbed003 ana110287_UeEz4YqoFJDslnEQJ2CoOg]$ ls pdsident.out std_pdsident.err std_pdsident.out [ana110287@testbed003 ana110287_UeEz4YqoFJDslnEQJ2CoOg]$ [ana110287@testbed003 ana110287_UeEz4YqoFJDslnEQJ2CoOg]$ cat std_pdsident.err [ana110287@testbed003 ana110287_UeEz4YqoFJDslnEQJ2CoOg]$ cat std_pdsident.out System matrices Covariance matrices Kalman predictor gain matrix [ana110287@testbed003 ana110287_UeEz4YqoFJDslnEQJ2CoOg]$
