Satellital Image Clasification with neural networks Susana Arias, Héctor Gómez UNIVERSIDAD TÉCNICA PARTICULAR DE LOJA ECUADOR Itacuruça – Brazil, november 2 -15, 2008
We discard one of the solutions which referred the application to switch from Windows to Linux through the mono's program; and decided to a second solution which referred to translate the application.net to C language with MPI. Itacuruça – Brazil, november 2 -15, 2008
#include using namespace std; #include "mpi.h" /****************************************************************************** M A I N ******************************************************************************/ int numprocesses, procnum; int main(int nargs, char* argv[]) { NET Net; BOOL Stop; REAL MinTestError; int result=MPI_Init(&nargs, &argv); MPI_ Comm_size(MPI_COMM_WORLD, &numprocesses); // get total number of processes MPI_ Comm_rank(MPI_COMM_WORLD, &procnum); // get process number for this process Itacuruça – Brazil, november 2 -15, 2008 file bf.c
Itacuruça – Brazil, november 2 -15, 2008 –Then we compiler MPI en UI, $ mpiCC –Compiler our application calls bf, $ mpiCC -o bf bf.c –Then create a.jdl Type = “Job”; JobType = “MPICH”; Executable = “bf”; CPUNumber = 10 ; StdOutput = “output”; StdError = “error”; InputSandbox = {“bf”}; OutputSandbox = {“BPN.txt”}; RetryCount = 3;
Itacuruça – Brazil, november 2 -15, 2008 –We compiler bf.c ONLY in the 64 bits machine, do not compiler the machine in 32 bits because do not have installed MPI. BF]$ glite-wms-job-submit -a -o jid bf.jdl Connecting to the service e2gris1.eela.ufrj.br:7443/glite_wms_wmproxy_server ====================== glite-wms-job-submit Success The job has been successfully submitted to the WMProxy Your job identifier is: The job identifier has been saved in the following file: /home/app01/BF/jid
Itacuruça – Brazil, november 2 -15, 2008 BF]$ glite-wms-job-status -i jid *************************************************** ********** BOOKKEEPING INFORMATION: Status info for the Job : e2gris1.eela.ufrj.br:9000/5MXWaTLMghW39DN2_sydXw Current Status: Running Status Reason: Job successfully submitted to Globus Destination: m06-e2gris1.eela.ufrj.br:2119/jobmanager- lcgpbs-e2gris1 Submitted: Fri Nov 7 22:03: BRST *************************************************** **********
Itacuruça – Brazil, november 2 -15, 2008 The job is done, ******************************************************** ***** BOOKKEEPING INFORMATION: Status info for the Job : Current Status: Done (Success) Logged Reason(s): - Job terminated successfully Exit code: 0 Status Reason: Job terminated successfully Destination: m06-e2gris1.eela.ufrj.br:2119/jobmanager-lcgpbs- e2gris1 Submitted: Wed Nov 5 19:49: BRST ******************************************************** *****
Itacuruça – Brazil, november 2 -15, 2008 The job is done, and we get the outputfiles =============================================== ============ JOB GET OUTPUT OUTCOME Output sandbox files for the job: NP2gRkgamA have been successfully retrieved and stored in the directory: /tmp/jobOutput/app01_776TAA4JvsR-NP2gRkgamA =============================================== =============
Itacuruça – Brazil, november 2 -15, 2008 BF]$ cd /tmp/jobOutput/app01_776TAA4JvsR-NP2gRkgamA/ app01_776TAA4JvsR- NP2gRkgamA]$ ls BPN.txt NMSE is on Training Set and on Test Set NMSE is on Training Set and on Test Set NMSE is on Training Set and on Test Set NMSE is on Training Set and on Test Set.
As the same time, We worked in another application like Mrbayes (bionformatics), We install mrbayes at the UI, and We try to run mrbayes with condor, but it was not possible because there was not condor in the CE, finally We saw how to mrbyes runs with mpi and find out how to put some directives to run in the WN. Itacuruça – Brazil, november 2 -15, 2008
The.jdl Type = "Job"; JobType = "MPICH"; Executable = "mb"; CPUNumber = 10; StdOutput = "output"; StdError = "error"; InputSandbox = {"primates_mbbatch.dat","mrbayes/mb"}; OutputSandbox = {"output","error"}; RetryCount = 3; Arguments = "primates_mbbatch.dat"; Itacuruça – Brazil, november 2 -15, 2008
MRB]$ glite-wms-job-submit -i -o jid mrb.jdl MRB]$ glite-wms-job-status -i jid ************************************************************* BOOKKEEPING INFORMATION: Status info for the Job : e2gris1.eela.ufrj.br:9000/uAMFWkt7QjbE2dJmOK1uXw Current Status: Running Status Reason: Job successfully submitted to Globus Destination: m06-e2gris1.eela.ufrj.br:2119/jobmanager-lcgpbs-e2gris1 Submitted: Sat Nov 8 12:21: BRST ************************************************************* Itacuruça – Brazil, november 2 -15, 2008
Itacuruça – Brazil, november 2 -15, 2008 Next Steps Use the Storage Element Development a user interface that can interactive with the final user, more flexible, ex. GENIUS
Thanks! Itacuruça – Brazil, november 2 -15, 2008