- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/FragmentationAction/FragmentationAutomationAction.cpp
rca09be r07ecc5 134 134 // Phase One: obtain ids 135 135 mpqccontroller.requestIds(NumberJobs); 136 if (mpqccontroller.getExitflag() != 0)137 return Action::failure;138 136 139 137 // Phase Two: add MPQCJobs and send … … 161 159 wait_thread.join(); 162 160 stop(); 163 if (mpqccontroller.getExitflag() != 0)164 return Action::failure;165 166 161 mpqccontroller.getResults(shortrangedata); 167 if (mpqccontroller.getExitflag() != 0)168 return Action::failure;169 162 170 163 Exitflag += mpqccontroller.getExitflag(); … … 196 189 mpqccontroller.run(); 197 190 stop(); 198 if (mpqccontroller.getExitflag() != 0)199 return Action::failure;200 191 201 192 // get back the results and place them in shortrangedata … … 204 195 "FragmentationFragmentationAutomationAction::performCall() - number of converted results " 205 196 +toString(shortrangedata.size())+" and number of jobs "+toString(NumberJobs)+ " differ."); 206 if (mpqccontroller.getExitflag() != 0)207 return Action::failure;208 197 209 198 Exitflag += mpqccontroller.getExitflag(); … … 245 234 const size_t NoJobs = shortrangedata.size()+full_sample.size(); 246 235 vmgcontroller.requestIds(2*NoJobs); 247 if (vmgcontroller.getExitflag() != 0)248 return Action::failure;249 236 250 237 // Phase Five a: create VMGJobs for electronic charge distribution … … 267 254 // Phase Six a: calculate result 268 255 vmgcontroller.waitforResults(NoJobs); 269 if (vmgcontroller.getExitflag() != 0)270 return Action::failure;271 256 vmgcontroller.getResults(longrangedata); 272 257 ASSERT( NoJobs == longrangedata.size(), … … 297 282 // Phase Six b: calculate result 298 283 vmgcontroller.waitforResults(NoJobs); 299 if (vmgcontroller.getExitflag() != 0)300 return Action::failure;301 284 vmgcontroller.getResults(longrangedata_both); 302 285 ASSERT( NoJobs == longrangedata_both.size(), … … 304 287 +toString(full_sample.size())+"="+toString(NoJobs) 305 288 +" and second VMGresults "+toString(longrangedata_both.size())+" don't match."); 306 if (vmgcontroller.getExitflag() != 0)307 return Action::failure;308 289 Exitflag += vmgcontroller.getExitflag(); 309 290
Note:
See TracChangeset
for help on using the changeset viewer.