Changeset 19673 for issm/trunk-jpl/src/m/classes/clusters/greenplanet.m
- Timestamp:
- 10/21/15 16:42:47 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/classes/clusters/greenplanet.m
r19638 r19673 21 21 memory = 2; 22 22 end 23 properties (SetAccess=private) 24 np=20*8; 25 % }}} 26 end 23 %}}} 27 24 methods 28 25 function cluster=greenplanet(varargin) % {{{ … … 52 49 end 53 50 %}}} 51 function numprocs=np(cluster) % {{{ 52 %compute number of processors 53 numprocs=cluster.numnodes*cluster.cpuspernode; 54 end 55 %}}} 54 56 function md = checkconsistency(cluster,md,solution,analyses) % {{{ 55 57 … … 71 73 if(isvalgrind), disp('valgrind not supported by cluster, ignoring...'); end 72 74 if(isgprof), disp('gprof not supported by cluster, ignoring...'); end 73 74 %compute number of processors75 cluster.np=cluster.numnodes*cluster.cpuspernode;76 75 77 76 %write queuing script … … 101 100 if(isvalgrind), disp('valgrind not supported by cluster, ignoring...'); end 102 101 if(isgprof), disp('gprof not supported by cluster, ignoring...'); end 103 104 %compute number of processors105 cluster.np=cluster.numnodes*cluster.cpuspernode;106 102 107 103 %write queuing script
Note:
See TracChangeset
for help on using the changeset viewer.