Changeset 9650 for issm/trunk/src/m/model/ismodelselfconsistent.m
- Timestamp:
- 09/07/11 10:22:21 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/model/ismodelselfconsistent.m
r9648 r9650 252 252 %}}} 253 253 %QMU {{{1 254 if md. dakota_analysis,255 if md.qmu _params.evaluation_concurrency~=1,254 if md.qmu.isdakota, 255 if md.qmu.params.evaluation_concurrency~=1, 256 256 message(['model not consistent: concurrency should be set to 1 when running dakota in library mode']); 257 257 end 258 if ~isempty(md. part),259 if numel(md. part)~=md.numberofnodes,258 if ~isempty(md.qmu.partition), 259 if numel(md.qmu.partition)~=md.numberofnodes, 260 260 message(['model not consistent: user supplied partition for qmu analysis should have size md.numberofnodes x 1 ']); 261 261 end 262 if find(md. part)>=md.numberofnodes,262 if find(md.qmu.partition)>=md.numberofnodes, 263 263 message(['model not consistent: user supplied partition should be indexed from 0 (c-convention)']); 264 264 end 265 if min(md. part)~=0,265 if min(md.qmu.partition)~=0, 266 266 message(['model not consistent: partition vector not indexed from 0 on']); 267 267 end 268 if max(md. part)>=md.numberofnodes,268 if max(md.qmu.partition)>=md.numberofnodes, 269 269 message(['model not consistent: partition vector cannot have maximum index larger than number of nodes']); 270 270 end 271 if ~isempty(find(md. part<0)),271 if ~isempty(find(md.qmu.partition<0)), 272 272 message(['model not consistent: partition vector cannot have values less than 0']); 273 273 end 274 if ~isempty(find(md. part>=md.npart)),275 message(['model not consistent: partition vector cannot have values more than md. npart-1']);276 end 277 if max(md. part)>=md.npart,274 if ~isempty(find(md.qmu.partition>=md.qmu.numberofpartitions)), 275 message(['model not consistent: partition vector cannot have values more than md.qmu.numberofpartitions-1']); 276 end 277 if max(md.qmu.partition)>=md.qmu.numberofpartitions, 278 278 message(['model not consistent: for qmu analysis, partitioning vector cannot go over npart, number of partition areas']); 279 279 end
Note:
See TracChangeset
for help on using the changeset viewer.