Changeset 6363
- Timestamp:
- 10/21/10 12:29:51 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/classes/clusters/pfe.m
r6297 r6363 22 22 bbftp=0; 23 23 numstreams=8; 24 hyperthreading=0; 24 25 end 25 26 properties (SetAccess=private) … … 56 57 disp(sprintf(' executionpath: %s',cluster.executionpath)); 57 58 disp(sprintf(' interactive: %i',cluster.interactive)); 59 disp(sprintf(' hyperthreading: %i',cluster.hyperthreading)); 58 60 end 59 61 %}}} … … 68 70 %now, check cluster.cpuspernode according to processor type 69 71 if (strcmpi(cluster.processor,'har') | strcmpi(cluster.processor,'neh')), 70 if ((cluster.cpuspernode>8 ) | (cluster.cpuspernode<1)), 71 error('IsConsistent error message: cpuspernode should be between 1 and 8 for ''neh'' and ''har'' processors'); 72 if cluster.hyperthreading, 73 if ((cluster.cpuspernode>16 ) | (cluster.cpuspernode<1)), 74 error('IsConsistent error message: cpuspernode should be between 1 and 16 for ''neh'' and ''har'' processors in hyperthreading mode'); 75 end 76 else 77 if ((cluster.cpuspernode>8 ) | (cluster.cpuspernode<1)), 78 error('IsConsistent error message: cpuspernode should be between 1 and 8 for ''neh'' and ''har'' processors'); 79 end 72 80 end 73 81 elseif strcmpi(cluster.processor,'wes'), 74 if ((cluster.cpuspernode>12 ) | (cluster.cpuspernode<1)), 75 error('IsConsistent error message: cpuspernode should be between 1 and 12 for ''wes'' processors'); 82 if cluster.hyperthreading, 83 if ((cluster.cpuspernode>24 ) | (cluster.cpuspernode<1)), 84 error('IsConsistent error message: cpuspernode should be between 1 and 24 for ''wes'' processors in hyperthreading mode'); 85 end 86 else 87 if ((cluster.cpuspernode>12 ) | (cluster.cpuspernode<1)), 88 error('IsConsistent error message: cpuspernode should be between 1 and 12 for ''wes'' processors'); 89 end 76 90 end 77 91 else … … 215 229 %copy files from cluster to present directory 216 230 if ~cluster.bbftp, 231 packages 232 cluster.name 233 cluster.login 234 cluster.port 235 directory 217 236 issmscpin(cluster.name, cluster.login, cluster.port, directory, packages); 218 237 else
Note:
See TracChangeset
for help on using the changeset viewer.