Ignore:
Timestamp:
06/30/21 23:48:59 (4 years ago)
Author:
jdquinn
Message:

BUG: Class method nprocs needs to be defined

File:
1 edited

Legend:

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

    r26332 r26341  
    7070        s += '    shell: {}\n'.format(self.shell)
    7171        return s
     72    # }}}
     73
     74    def nprocs(self):  # {{{
     75        return self.np
    7276    # }}}
    7377
     
    202206    def LaunchQueueJob(self, modelname, dirname, filelist, restart, batch):  # {{{
    203207        print('launching solution sequence on remote cluster')
    204         if restart:
     208        if not isempty(restart):
    205209            launchcommand = 'cd {} && cd {} chmod 755 {}.queue && ./{}.queue'.format(self.executionpath, dirname, modelname, modelname)
    206210        else:
Note: See TracChangeset for help on using the changeset viewer.