Changeset 2226 for issm/trunk/src/m/classes/public/solveparallel.m
- Timestamp:
- 09/14/09 08:00:29 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/classes/public/solveparallel.m
r1676 r2226 26 26 27 27 %Do we return, or just wait for results? 28 if md.waitonlock ,28 if md.waitonlock~=0, 29 29 %we wait for the done file 30 waitonlock([executionpath '/' md.name '.lock']); 31 %load results 32 displaystring(md.debug,'loading results from cluster'); 33 md=loadresultsfromcluster(md); 30 islock=waitonlock([executionpath '/' md.name '.lock'],md.waitonlock); 31 if islock==0, 32 %no results to be loaded 33 disp('The results must be loaded manually with loadmodelfromcluster.'); 34 error(['solveparallel info message: time limit exceeded']) 35 else 36 %load results 37 displaystring(md.debug,'loading results from cluster'); 38 md=loadresultsfromcluster(md); 39 end 34 40 end
Note:
See TracChangeset
for help on using the changeset viewer.