Changeset 6084


Ignore:
Timestamp:
09/29/10 18:06:34 (15 years ago)
Author:
Eric.Larour
Message:

now allowing several interactive directories

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/classes/clusters/pfe.m

    r6074 r6084  
    5353                         disp(sprintf('    codepath: %s',cluster.codepath));
    5454                         disp(sprintf('    executionpath: %s',cluster.executionpath));
     55                         disp(sprintf('    interactive: %i',cluster.interactive));
    5556                 end
    5657                 %}}}
     
    130131                                        ' && cd ' md.runtimename ' && mv ../' md.runtimename '.tar.gz ./ && tar -zxf ' md.runtimename '.tar.gz  && qsub ' md.name '.queue '];
    131132                        else
    132                                 launchcommand=['cd ' cluster.executionpath '/Interactive && tar -zxf ' md.runtimename '.tar.gz'];
     133                                launchcommand=['cd ' cluster.executionpath '/Interactive' num2str(cluster.interactive) ' && tar -zxf ' md.runtimename '.tar.gz'];
    133134                        end
    134135
     
    149150                                        issmscpout(cluster.name,cluster.executionpath,cluster.login,cluster.port,{[md.runtimename '.tar.gz']});
    150151                                else
    151                                         issmscpout(cluster.name,[cluster.executionpath '/Interactive'],cluster.login,cluster.port,{[md.runtimename '.tar.gz']});
     152                                        issmscpout(cluster.name,[cluster.executionpath '/Interactive' num2str(cluster.interactive)],cluster.login,cluster.port,{[md.runtimename '.tar.gz']});
    152153                                end
    153154                               
     
    178179                                directory=[cluster.executionpath '/' md.runtimename '/'];
    179180                        else
    180                                 directory=[cluster.executionpath '/Interactive/'];
     181                                directory=[cluster.executionpath '/Interactive' num2str(cluster.interactive) '/'];
    181182                        end
    182183
Note: See TracChangeset for help on using the changeset viewer.