Changeset 17049


Ignore:
Timestamp:
12/23/13 13:38:28 (11 years ago)
Author:
Eric.Larour
Message:

CHG: some changes for the lock and output file names

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/solve/waitonlock.m

    r16112 r17049  
    1616timelimit     = md.settings.waitonlock;
    1717cluster       = md.cluster;
    18 lockfilename  = [executionpath '/' md.private.runtimename '/' md.miscellaneous.name '.lock'];
    19 logfilename   = [executionpath '/' md.private.runtimename '/' md.miscellaneous.name '.outlog'];
     18
     19if ~isa(cluster,'generic') & cluster.interactive,
     20        lockfilename  = [executionpath '/Interactive' num2str(cluster.interactive) '/' md.miscellaneous.name '.lock'];
     21        logfilename   = [executionpath '/Interactive' num2str(cluster.interactive) '/' md.miscellaneous.name '.outlog'];
     22else
     23        lockfilename  = [executionpath '/' md.private.runtimename '/' md.miscellaneous.name '.lock'];
     24        logfilename   = [executionpath '/' md.private.runtimename '/' md.miscellaneous.name '.outlog'];
     25end
     26
    2027
    2128%If we are using the generic cluster in interactive mode, job is already complete
Note: See TracChangeset for help on using the changeset viewer.