Changeset 5559


Ignore:
Timestamp:
08/24/10 22:56:42 (15 years ago)
Author:
Eric.Larour
Message:

Added runtimename option to load other results

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/classes/public/loadresultsfromcluster.m

    r5558 r5559  
    1 function md=loadresultsfromcluster(md)
     1function md=loadresultsfromcluster(md,runtimename)
    22%LOADRESULTSFROMCLUSTER - load results of solution sequence from cluster
    33%
     
    1010%Figure out parameters for this particular cluster
    1111[codepath,executionpath,login,port]=ClusterParameters(md.cluster,cluster_rc_location);
     12
     13
     14if isempty(md.runtimename),
     15        if nargin~=2,
     16                error('supply runtime name for results to be loaded!');
     17        else
     18                md.runtimename=runtimename;
     19        end
     20end
    1221
    1322%Figure out the  directory where all the files are in:
Note: See TracChangeset for help on using the changeset viewer.