Changeset 15379


Ignore:
Timestamp:
07/01/13 17:40:20 (12 years ago)
Author:
Eric.Larour
Message:

CHG: added interactivity choice to cloud.m

File:
1 edited

Legend:

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

    r15378 r15379  
    7878                        issmstscpout(cluster.name,cluster.executionpath,cluster.login,{[dirname '.tar.gz']});
    7979
    80                         disp('launching solution sequence on remote cluster');
    81                         launchcommand=['cd ' cluster.executionpath ' && rm -rf ./' dirname ' && mkdir ' dirname ...
    82                                 ' && cd ' dirname ' && mv ../' dirname '.tar.gz ./ && tar -zxf ' dirname '.tar.gz  && source  ' modelname '.queue '];
     80                        if ~cluster.interactive,
     81                                disp('sending files to remote cluster. once done, please log into cluster and launch job');
     82                                launchcommand=['cd ' cluster.executionpath ' && rm -rf ./' dirname ' && mkdir ' dirname ...
     83                                        ' && cd ' dirname ' && mv ../' dirname '.tar.gz ./ && tar -zxf ' dirname '.tar.gz '];
     84                        else
     85                                disp('launching solution sequence on remote cluster');
     86                                launchcommand=['cd ' cluster.executionpath ' && rm -rf ./' dirname ' && mkdir ' dirname ...
     87                                        ' && cd ' dirname ' && mv ../' dirname '.tar.gz ./ && tar -zxf ' dirname '.tar.gz  && source  ' modelname '.queue '];
     88                        end
    8389                        issmstssh(cluster.name,cluster.login,launchcommand);
    8490                end %}}}
Note: See TracChangeset for help on using the changeset viewer.