Changeset 2257
- Timestamp:
- 09/18/09 06:22:16 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/utils/Nightly/runme.m
r2201 r2257 138 138 md.name=testname; 139 139 %check and modify number of cpus if necessary 140 np=feature('numCores'); 141 if np<md.np; 142 disp(['warning: changing number of cpus to ' num2str(np) ]); 143 md.np=np; 140 numcpus=find_option(options,'numprocs'); 141 if ~isempty(numcpus) & numcpus>1, 142 if md.np>numcpus, 143 disp(['warning: changing number of cpus to ' num2str(numcpus) ]); 144 md.np=numcpus; 145 end 144 146 end 145 147 end
Note:
See TracChangeset
for help on using the changeset viewer.