Changeset 27172


Ignore:
Timestamp:
08/01/22 15:24:13 (3 years ago)
Author:
jdquinn
Message:

BUG: Distribution copy of generic class missing nprocs method; note added to UQ example about needing to run Pig example first

Location:
issm/trunk-jpl
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/examples/UncertaintyQuantification/runme.m

    r25991 r27172  
    55        disp('   Step 1: plot flux gates');
    66
     7        % NOTE: Need to run all steps of ../Pig/runme.m first!
    78        md = loadmodel('../Pig/Models/PIG_Control_drag');
    89
  • issm/trunk-jpl/src/m/classes/clusters/generic_static.m

    r26332 r27172  
    3939                        disp(sprintf('    interactive: %s',cluster.interactive));
    4040                        disp(sprintf('    shell: %s',cluster.shell));
     41                end
     42                %}}}
     43                function numprocs=nprocs(cluster) % {{{
     44                        numprocs=cluster.np;
    4145                end
    4246                %}}}
  • issm/trunk-jpl/src/m/classes/clusters/generic_static.py

    r26332 r27172  
    5252        s += "    shell: %s\n" % self.shell
    5353        return s
     54    # }}}
     55
     56    def nprocs(self):  # {{{
     57        return self.np
    5458    # }}}
    5559
Note: See TracChangeset for help on using the changeset viewer.