Changeset 20042


Ignore:
Timestamp:
01/31/16 20:57:08 (9 years ago)
Author:
Eric.Larour
Message:

CHG: update the types of cpus on pleaides.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/classes/clusters/pfe.m

    r19673 r20042  
    7171
    7272                         %now, check cluster.cpuspernode according to processor type
    73                          if (strcmpi(cluster.processor,'har') | strcmpi(cluster.processor,'neh')),
    74                                  if cluster.hyperthreading,
    75                                          if ((cluster.cpuspernode>16 ) | (cluster.cpuspernode<1)),
    76                                                  md = checkmessage(md,'cpuspernode should be between 1 and 16 for ''neh'' and ''har'' processors in hyperthreading mode');
    77                                          end
    78                                  else
    79                                          if ((cluster.cpuspernode>8 ) | (cluster.cpuspernode<1)),
    80                                                  md = checkmessage(md,'cpuspernode should be between 1 and 8 for ''neh'' and ''har'' processors');
    81                                          end
    82                                  end
    83                          elseif strcmpi(cluster.processor,'wes'),
     73                         if strcmpi(cluster.processor,'wes'),
    8474                                 if cluster.hyperthreading,
    8575                                         if ((cluster.cpuspernode>24 ) | (cluster.cpuspernode<1)),
     
    10191                                         end
    10292                                 end
    103 
    104                          else
    105                                  md = checkmessage(md,'unknown processor type, should be ''neh'',''wes'' or ''har'' or ''ivy''');
     93                         
     94                         elseif strcmpi(cluster.processor,'has'),
     95                                 if cluster.hyperthreading,
     96                                         if ((cluster.cpuspernode>48 ) | (cluster.cpuspernode<1)),
     97                                                 md = checkmessage(md,'cpuspernode should be between 1 and 48 for ''has'' processors in hyperthreading mode');
     98                                         end
     99                                 else
     100                                         if ((cluster.cpuspernode>24 ) | (cluster.cpuspernode<1)),
     101                                                 md = checkmessage(md,'cpuspernode should be between 1 and 24 for ''has'' processors');
     102                                         end
     103                                 end
     104                         
     105                         elseif strcmpi(cluster.processor,'san'),
     106                                 if cluster.hyperthreading,
     107                                         if ((cluster.cpuspernode>32 ) | (cluster.cpuspernode<1)),
     108                                                 md = checkmessage(md,'cpuspernode should be between 1 and 32 for ''san'' processors in hyperthreading mode');
     109                                         end
     110                                 else
     111                                         if ((cluster.cpuspernode>16 ) | (cluster.cpuspernode<1)),
     112                                                 md = checkmessage(md,'cpuspernode should be between 1 and 16 for ''san'' processors');
     113                                         end
     114                                 end
     115
     116                         else
     117                                 md = checkmessage(md,'unknown processor type, should be ''wes'' or ''has'' or ''ivy'' or ''san''');
    106118                         end
    107119
Note: See TracChangeset for help on using the changeset viewer.