Changeset 9614 for issm/trunk/src/m/classes/clusters/castor.m
- Timestamp:
- 09/06/11 12:23:41 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/classes/clusters/castor.m
r9571 r9614 59 59 %retrieve parameters 60 60 modelname=md.name; 61 solution_type=md. solution_type;61 solution_type=md.private.solution; 62 62 63 63 %open file for writing: … … 87 87 88 88 %lauch command, to be executed via ssh 89 launchcommand=['cd ' cluster.executionpath ' && rm -rf ./' md. runtimename ' && mkdir ' md.runtimename ...90 ' && cd ' md. runtimename ' && mv ../' md.runtimename '.tar.gz ./ && tar -zxf ' md.runtimename '.tar.gz && qsub ' modelname '.queue '];89 launchcommand=['cd ' cluster.executionpath ' && rm -rf ./' md.private.runtimename ' && mkdir ' md.private.runtimename ... 90 ' && cd ' md.private.runtimename ' && mv ../' md.private.runtimename '.tar.gz ./ && tar -zxf ' md.private.runtimename '.tar.gz && qsub ' modelname '.queue ']; 91 91 92 92 if ~strcmpi(options.batch,'yes'), 93 93 94 94 %compress the files into one zip. 95 compressstring=['tar -zcf ' md. runtimename '.tar.gz ' md.name '.bin ' md.name '.queue ' md.name '.petsc '];95 compressstring=['tar -zcf ' md.private.runtimename '.tar.gz ' md.name '.bin ' md.name '.queue ' md.name '.petsc ']; 96 96 if md.dakota_analysis, 97 97 compressstring=[compressstring md.name '.qmu.in']; … … 100 100 101 101 disp('uploading input file and queueing script'); 102 issmscpout(md.cluster.name,md.cluster.executionpath,md.cluster.login,md.cluster.port,{[md. runtimename '.tar.gz']});102 issmscpout(md.cluster.name,md.cluster.executionpath,md.cluster.login,md.cluster.port,{[md.private.runtimename '.tar.gz']}); 103 103 104 104 disp('launching solution sequence on remote cluster'); … … 115 115 116 116 %some check 117 if isempty(md. runtimename),117 if isempty(md.private.runtimename), 118 118 error('pfe Download error message: supply runtime name for results to be loaded!'); 119 119 end 120 120 121 121 %Figure out the directory where all the files are in: 122 directory=[cluster.executionpath '/' md. runtimename '/'];122 directory=[cluster.executionpath '/' md.private.runtimename '/']; 123 123 124 124 %What packages are we picking up from remote cluster
Note:
See TracChangeset
for help on using the changeset viewer.