Changeset 26996
- Timestamp:
- 05/06/22 12:21:36 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/classes/clusters/discovery.m
r26995 r26996 13 13 numnodes = 1; 14 14 cpuspernode = 16; 15 port = 0;16 15 codepath = ''; 17 16 executionpath = ''; … … 43 42 disp(sprintf(' memory: %i Gb',cluster.memory)); 44 43 disp(sprintf(' email: %s (notifications: BEGIN,END,FAIL)',cluster.email)); 45 disp(sprintf(' port: %i',cluster.port));46 44 disp(sprintf(' codepath: %s',cluster.codepath)); 47 45 disp(sprintf(' executionpath: %s',cluster.executionpath)); … … 146 144 147 145 disp('uploading input file and queueing script'); 148 issmscpout(cluster.name,cluster.executionpath,cluster.login, cluster.port,{[dirname '.tar.gz']});146 issmscpout(cluster.name,cluster.executionpath,cluster.login,0,{[dirname '.tar.gz']}); 149 147 150 148 end %}}} … … 158 156 ' && cd ' dirname ' && mv ../' dirname '.tar.gz ./ && tar -zxf ' dirname '.tar.gz && hostname && sbatch ' modelname '.queue ']; 159 157 end 160 issmssh(cluster.name,cluster.login, cluster.port,launchcommand);158 issmssh(cluster.name,cluster.login,0,launchcommand); 161 159 end %}}} 162 160 function Download(cluster,dirname,filelist) % {{{ … … 164 162 %copy files from cluster to current directory 165 163 directory=[cluster.executionpath '/' dirname '/']; 166 issmscpin(cluster.name,cluster.login, cluster.port,directory,filelist);164 issmscpin(cluster.name,cluster.login,0,directory,filelist); 167 165 168 166 end %}}}
Note:
See TracChangeset
for help on using the changeset viewer.