Changeset 18368


Ignore:
Timestamp:
08/12/14 16:12:40 (11 years ago)
Author:
Mathieu Morlighem
Message:

BUG: fixed some stuff

Location:
issm/trunk-jpl/src/m
Files:
2 edited

Legend:

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

    r18366 r18368  
    22%
    33%   Usage:
    4 %      cluster=generic_static.m('name','astrid','np',3);
     4%      cluster=generic_static('name','astrid','np',3);
    55
    6 classdef generic_static.m
     6classdef generic_static
    77        properties (SetAccess=public)
    88                % {{{
     
    1010                np=1;
    1111                codepath=fileparts(which('issm.exe'));
     12                executionpath = '.';
     13                interactive = 1;
    1214                shell='/bin/sh';
    1315                %}}}
    1416        end
    1517        methods
    16                 function cluster=generic_static.m(varargin) % {{{
     18                function cluster=generic_static(varargin) % {{{
    1719
    1820                        %use provided options to change fields
  • issm/trunk-jpl/src/m/solve/waitonlock.m

    r17591 r18368  
    2727
    2828%If we are using the generic cluster in interactive mode, job is already complete
    29 if isa(cluster,'generic') & cluster.interactive
     29if (isa(cluster,'generic') & cluster.interactive) | isa(cluster,'generic_static'),
    3030        %We are in interactive mode, no need to check for job completion
    3131        ispresent=1;
Note: See TracChangeset for help on using the changeset viewer.