Changeset 485 in PSPA for Interface_Web/trunk/pspaWT/sources/controler/src/dataManager.cc
- Timestamp:
- Jan 28, 2014, 11:56:15 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Interface_Web/trunk/pspaWT/sources/controler/src/dataManager.cc
r482 r485 92 92 abstractSoftware* softw = section->getSoftware(); 93 93 94 //cout << "k= " << k << ", de " << jobList_[k]->getFirstElement()->getLabel() << " Ã " << jobList_[k]->getLastElement()->getLabel() << " avec " << softw->getName() << endl; 95 96 if (softw == NULL) { 97 success = false; 98 consoleMessage("dataManager::executeAll : unknown software"); 99 break; 100 } 94 cout << " execution du SOFWARE " << softw->getName() << endl; 95 cout << " adresse section " << section << endl; 96 cout << " adresse faisceau " << sector->getParticleBeam() << endl; 97 if (softw == NULL) { 98 success = false; 99 consoleMessage("dataManager::executeAll : unknown software"); 100 break; 101 } 101 102 102 103 104 105 106 success = softw->buildBeamAfterElements(workingDir);107 108 109 110 111 112 113 114 115 116 117 103 success = softw->createInputFile(sector->getParticleBeam(),workingDir); 104 if ( success ) { 105 success = softw->execute(workingDir); 106 if ( success ) { 107 success = softw->buildBeamAfterElements(workingDir); 108 } 109 } 110 cout << " dataManager::executeAll success = " << success << " y-a-ty du faisceau : " << diagnosticBeam_.size() << endl; 111 if ( success && (diagnosticBeam_.size() > 0)) { 112 sector->setParticleBeam(&diagnosticBeam_.at(indexElementToIndexDiag_.back())); 113 cout << " dataManager::executeAll termine avec succes " << endl; 114 } else { 115 sector->setParticleBeam(NULL); 116 cout << " dataManager::executeAll termine en ECHEC " << endl; 117 } 118 if ( !success ) break; 118 119 119 120 #if BAVARD > 0
Note: See TracChangeset
for help on using the changeset viewer.