Changeset 9614
- Timestamp:
- 09/06/11 12:23:41 (14 years ago)
- Location:
- issm/trunk/src/m
- Files:
-
- 1 added
- 15 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 -
issm/trunk/src/m/classes/clusters/cosmos.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: … … 86 86 87 87 %lauch command, to be executed via ssh 88 launchcommand=['cd ' cluster.executionpath ' && rm -rf ./' md. runtimename ' && mkdir ' md.runtimename ...89 ' && cd ' md. runtimename ' && mv ../' md.runtimename '.tar.gz ./ && tar -zxf ' md.runtimename '.tar.gz && qsub -S/bin/sh ' modelname '.queue '];88 launchcommand=['cd ' cluster.executionpath ' && rm -rf ./' md.private.runtimename ' && mkdir ' md.private.runtimename ... 89 ' && cd ' md.private.runtimename ' && mv ../' md.private.runtimename '.tar.gz ./ && tar -zxf ' md.private.runtimename '.tar.gz && qsub -S/bin/sh ' modelname '.queue ']; 90 90 91 91 if ~strcmpi(options.batch,'yes'), 92 92 93 93 %compress the files into one zip. 94 compressstring=['tar -zcf ' md. runtimename '.tar.gz ' md.name '.bin ' md.name '.queue ' md.name '.petsc '];94 compressstring=['tar -zcf ' md.private.runtimename '.tar.gz ' md.name '.bin ' md.name '.queue ' md.name '.petsc ']; 95 95 if md.dakota_analysis, 96 96 compressstring=[compressstring md.name '.qmu.in']; … … 99 99 100 100 disp('uploading input file and queueing script'); 101 issmscpout(md.cluster.name,md.cluster.executionpath,md.cluster.login,md.cluster.port,{[md. runtimename '.tar.gz']});101 issmscpout(md.cluster.name,md.cluster.executionpath,md.cluster.login,md.cluster.port,{[md.private.runtimename '.tar.gz']}); 102 102 103 103 disp('launching solution sequence on remote cluster'); … … 114 114 115 115 %some check 116 if isempty(md. runtimename),116 if isempty(md.private.runtimename), 117 117 error('pfe Download error message: supply runtime name for results to be loaded!'); 118 118 end 119 119 120 120 %Figure out the directory where all the files are in: 121 directory=[cluster.executionpath '/' md. runtimename '/'];121 directory=[cluster.executionpath '/' md.private.runtimename '/']; 122 122 123 123 %What packages are we picking up from remote cluster -
issm/trunk/src/m/classes/clusters/gemini.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 -
issm/trunk/src/m/classes/clusters/generic.m
r9571 r9614 73 73 %retrieve parameters 74 74 modelname=md.name; 75 solution_type=md. solution_type;75 solution_type=md.private.solution; 76 76 isvalgrind=md.debug.valgrind; 77 77 isgprof=md.debug.gprof; … … 116 116 117 117 %lauch command, to be executed via ssh 118 launchcommand=['cd ' cluster.executionpath ' && rm -rf ./' md. runtimename ' && mkdir ' md.runtimename ...119 ' && cd ' md. runtimename ' && mv ../' md.runtimename '.tar.gz ./ && tar -zxf ' md.runtimename '.tar.gz && source ' md.name '.queue '];118 launchcommand=['cd ' cluster.executionpath ' && rm -rf ./' md.private.runtimename ' && mkdir ' md.private.runtimename ... 119 ' && cd ' md.private.runtimename ' && mv ../' md.private.runtimename '.tar.gz ./ && tar -zxf ' md.private.runtimename '.tar.gz && source ' md.name '.queue ']; 120 120 121 121 if ~strcmpi(options.batch,'yes'), 122 122 123 123 %compress the files into one zip. 124 compressstring=['tar -zcf ' md. runtimename '.tar.gz ' md.name '.bin ' md.name '.queue ' md.name '.petsc '];124 compressstring=['tar -zcf ' md.private.runtimename '.tar.gz ' md.name '.bin ' md.name '.queue ' md.name '.petsc ']; 125 125 if md.dakota_analysis, 126 126 compressstring=[compressstring md.name '.qmu.in']; … … 132 132 133 133 disp('uploading input file and queueing script'); 134 issmscpout(cluster.name,cluster.executionpath,cluster.login,cluster.port,{[md. runtimename '.tar.gz']});134 issmscpout(cluster.name,cluster.executionpath,cluster.login,cluster.port,{[md.private.runtimename '.tar.gz']}); 135 135 136 136 disp('launching solution sequence on remote cluster'); … … 145 145 146 146 %some check 147 if isempty(md. runtimename),147 if isempty(md.private.runtimename), 148 148 error('supply runtime name for results to be loaded!'); 149 149 end 150 150 151 151 %Figure out the directory where all the files are in: 152 directory=[cluster.executionpath '/' md. runtimename '/'];152 directory=[cluster.executionpath '/' md.private.runtimename '/']; 153 153 154 154 %What packages are we picking up from remote cluster -
issm/trunk/src/m/classes/clusters/pfe.m
r9604 r9614 109 109 %retrieve parameters 110 110 modelname=md.name; 111 solution_type=md. solution_type;111 solution_type=md.private.solution; 112 112 isvalgrind=md.debug.valgrind; 113 113 … … 172 172 %lauch command, to be executed via ssh 173 173 if ~cluster.interactive, 174 launchcommand=['cd ' cluster.executionpath ' && rm -rf ./' md. runtimename ' && mkdir ' md.runtimename ...175 ' && cd ' md. runtimename ' && mv ../' md.runtimename '.tar.gz ./ && tar -zxf ' md.runtimename '.tar.gz && qsub ' md.name '.queue '];176 else 177 launchcommand=['cd ' cluster.executionpath '/Interactive' num2str(cluster.interactive) ' && tar -zxf ' md. runtimename '.tar.gz'];174 launchcommand=['cd ' cluster.executionpath ' && rm -rf ./' md.private.runtimename ' && mkdir ' md.private.runtimename ... 175 ' && cd ' md.private.runtimename ' && mv ../' md.private.runtimename '.tar.gz ./ && tar -zxf ' md.private.runtimename '.tar.gz && qsub ' md.name '.queue ']; 176 else 177 launchcommand=['cd ' cluster.executionpath '/Interactive' num2str(cluster.interactive) ' && tar -zxf ' md.private.runtimename '.tar.gz']; 178 178 end 179 179 … … 181 181 182 182 %compress the files into one zip. 183 compressstring=['tar -zcf ' md. runtimename '.tar.gz ' md.name '.bin ' md.name '.queue ' md.name '.petsc '];183 compressstring=['tar -zcf ' md.private.runtimename '.tar.gz ' md.name '.bin ' md.name '.queue ' md.name '.petsc ']; 184 184 if md.dakota_analysis, 185 185 compressstring=[compressstring md.name '.qmu.in ']; … … 198 198 199 199 if ~cluster.bbftp, 200 issmscpout(cluster.name,directory,cluster.login,cluster.port,{[md. runtimename '.tar.gz']});200 issmscpout(cluster.name,directory,cluster.login,cluster.port,{[md.private.runtimename '.tar.gz']}); 201 201 else 202 issmbbftpout(cluster.name,directory,cluster.login,cluster.port,cluster.numstreams,{[md. runtimename '.tar.gz']});202 issmbbftpout(cluster.name,directory,cluster.login,cluster.port,cluster.numstreams,{[md.private.runtimename '.tar.gz']}); 203 203 end 204 204 … … 215 215 216 216 %some check 217 if isempty(md. runtimename),217 if isempty(md.private.runtimename), 218 218 if ~cluster.interactive, 219 219 error('pfe Download error message: supply runtime name for results to be loaded!'); … … 223 223 %Figure out the directory where all the files are in: 224 224 if ~cluster.interactive, 225 directory=[cluster.executionpath '/' md. runtimename '/'];225 directory=[cluster.executionpath '/' md.private.runtimename '/']; 226 226 else 227 227 directory=[cluster.executionpath '/Interactive' num2str(cluster.interactive) '/']; -
issm/trunk/src/m/classes/clusters/pollux.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 -
issm/trunk/src/m/classes/model/model.m
r9612 r9614 18 18 basalforcings = modelfield('default',0,'marshall',true); 19 19 friction = modelfield('default',0,'marshall',true); 20 private = modelfield('default',0,'marshall',false); 20 21 21 22 %FIXME: all other fields should belong to other classes … … 24 25 notes = modelfield('default','','marshall',false); 25 26 name = modelfield('default','','marshall',true,'format','String'); 26 runtimename = modelfield('default','','marshall',false); %name used when running a parallel job27 27 28 28 %Mesh 29 bamg = modelfield('default',struct(),'marshall',false);30 29 dim = modelfield('default',0,'marshall',true,'format','Integer'); 31 30 numberofelements = modelfield('default',0,'marshall',true,'format','Integer'); … … 224 223 dummy = modelfield('default',NaN,'marshall',false); 225 224 226 %Analysis227 solution_type = modelfield('default','','marshall',false);228 229 225 %radar power images 230 226 sarpwr = modelfield('default',NaN,'marshall',false); … … 549 545 md.basalforcings=basalforcings; 550 546 md.friction=friction; 547 md.private=private; 551 548 552 549 %Materials parameters -
issm/trunk/src/m/model/bamg.m
r9451 r9614 253 253 %bamg_geometry=processgeometry(bamg_geometry,getfieldvalue(options,'tol',NaN),domain(1)); 254 254 255 elseif isstruct(md. bamg),256 257 bamg_geometry=bamggeom(md. bamg.geometry); %TEST255 elseif isstruct(md.private.bamg), 256 257 bamg_geometry=bamggeom(md.private.bamg.geometry); %TEST 258 258 259 259 else … … 267 267 if (~exist(options,'domain') & md.numberofnodes~=0 & md.dim==2), 268 268 269 if isstruct(md. bamg),270 bamg_mesh=bamgmesh(md. bamg.mesh);269 if isstruct(md.private.bamg), 270 bamg_mesh=bamgmesh(md.private.bamg.mesh); 271 271 else 272 272 bamg_mesh.Vertices=[md.x md.y ones(md.numberofnodes,1)]; … … 314 314 315 315 % plug results onto model 316 md. bamg=struct();317 md. bamg.mesh=bamgmesh(bamgmesh_out);318 md. bamg.geometry=bamggeom(bamggeom_out);316 md.private.bamg=struct(); 317 md.private.bamg.mesh=bamgmesh(bamgmesh_out); 318 md.private.bamg.geometry=bamggeom(bamggeom_out); 319 319 md.x=bamgmesh_out.Vertices(:,1); 320 320 md.y=bamgmesh_out.Vertices(:,2); … … 335 335 md.elementonsurface=ones(md.numberofelements,1); 336 336 md.nodeonboundary=zeros(md.numberofnodes,1); md.nodeonboundary(md.segments(:,1:2))=1; 337 md.elementconnectivity=md. bamg.mesh.ElementConnectivity;337 md.elementconnectivity=md.private.bamg.mesh.ElementConnectivity; 338 338 md.elementconnectivity(find(isnan(md.elementconnectivity)))=0; 339 339 -
issm/trunk/src/m/model/ismodelselfconsistent.m
r9612 r9614 19 19 % Flaim doesn't need the entire model, so take an early return 20 20 %FLAIM {{{1 21 if (md. solution_type== FlaimSolutionEnum),21 if (md.private.solution == FlaimSolutionEnum), 22 22 if ~exist(md.flaim.tracks,'file') 23 23 message(['model not consistent: flaim.tracks file ''' md.flaim.tracks ''' must exist.']); … … 229 229 230 230 %OBSERVED VELOCITIES 231 if md. solution_type==BalancethicknessSolutionEnum231 if md.private.solution==BalancethicknessSolutionEnum 232 232 fields={'thickness_obs'}; 233 233 checksize(md,fields,[md.numberofnodes 1]); … … 278 278 end 279 279 280 if strcmpi(md. solution_type,'qmu'),280 if strcmpi(md.private.solution,'qmu'), 281 281 if ~strcmpi(md.cluster.name,'none'), 282 282 if md.waitonlock==0, … … 289 289 %Solution specific check 290 290 %TRANSIENT {{{1 291 if (md. solution_type==TransientSolutionEnum),291 if (md.private.solution==TransientSolutionEnum), 292 292 293 293 if md.dt<=0, … … 312 312 %}}} 313 313 %STEADYSTATE{{{1 314 if md. solution_type==SteadystateSolutionEnum,314 if md.private.solution==SteadystateSolutionEnum, 315 315 316 316 %NDT … … 326 326 %}}} 327 327 %GROUNDINGLINEMIGRATION2D{{{1 328 if md. solution_type==GroundinglineMigration2DSolutionEnum,328 if md.private.solution==GroundinglineMigration2DSolutionEnum, 329 329 if strcmpi(md.cluster.name,'none'), 330 message(['model not consistent: ' md. solution_type' is only implemented in parallel mode !'])330 message(['model not consistent: ' md.private.solution ' is only implemented in parallel mode !']) 331 331 end 332 332 … … 336 336 337 337 if (md.dim~=2), 338 message(['model not consistent: for a ' md. solution_type' computation, the grounding line module is only implemented in 2d !'])338 message(['model not consistent: for a ' md.private.solution ' computation, the grounding line module is only implemented in 2d !']) 339 339 end 340 340 … … 347 347 %Now check all analyses called for a given solution 348 348 %ANALYSESCHECKS {{{1 349 [analyses,numanalyses]=AnalysisConfiguration(md. solution_type);349 [analyses,numanalyses]=AnalysisConfiguration(md.private.solution); 350 350 for i=1:numanalyses, 351 351 checkforanalysis(md,analyses(i)); … … 480 480 %EXTRUSION 481 481 if (md.dim==2), 482 if md. solution_type==TransientSolutionEnum,482 if md.private.solution==TransientSolutionEnum, 483 483 return; 484 484 else 485 message(['model not consistent: for a ' EnumToString(md. solution_type) ' computation, the model must be 3d, extrude it first!'])485 message(['model not consistent: for a ' EnumToString(md.private.solution) ' computation, the model must be 3d, extrude it first!']) 486 486 end 487 487 end … … 528 528 %EXTRUSION 529 529 if (md.dim==2), 530 if md. solution_type==TransientSolutionEnum,530 if md.private.solution==TransientSolutionEnum, 531 531 return; 532 532 else 533 message(['model not consistent: for a ' EnumToString(md. solution_type) ' computation, the model must be 3d, extrude it first!'])533 message(['model not consistent: for a ' EnumToString(md.private.solution) ' computation, the model must be 3d, extrude it first!']) 534 534 end 535 535 end -
issm/trunk/src/m/model/loadresultsfromcluster.m
r9571 r9614 9 9 10 10 if nargin==2, 11 md. runtimename=runtimename;11 md.private.runtimename=runtimename; 12 12 end 13 13 … … 43 43 delete([md.name '.errlog']); 44 44 delete([md.name '.outbin']); 45 delete([md. runtimename '.tar.gz']);45 delete([md.private.runtimename '.tar.gz']); 46 46 end 47 47 -
issm/trunk/src/m/model/loadresultsfromdisk.m
r9571 r9614 23 23 24 24 %recover solution_type from results 25 md. solution_type=structure(1).SolutionType;25 md.private.solution=structure(1).SolutionType; 26 26 27 27 %post processes qmu results if necessary 28 28 else 29 29 30 if isscalar(md. solution_type),31 md. solution_type =EnumToString(md.solution_type);30 if isscalar(md.private.solution), 31 md.private.solution=EnumToString(md.private.solution); 32 32 end 33 33 md=postqmu(md); -
issm/trunk/src/m/model/mesh/meshconvert.m
r9451 r9614 25 25 26 26 % plug results onto model 27 md. bamg=struct();28 md. bamg.mesh=bamgmesh(bamgmesh_out);29 md. bamg.geometry=bamggeom(bamggeom_out);27 md.private.bamg=struct(); 28 md.private.bamg.mesh=bamgmesh(bamgmesh_out); 29 md.private.bamg.geometry=bamggeom(bamggeom_out); 30 30 md.x=bamgmesh_out.Vertices(:,1); 31 31 md.y=bamgmesh_out.Vertices(:,2); -
issm/trunk/src/m/model/solve.m
r9571 r9614 32 32 33 33 %recover some fields 34 md. solution_type=options.solution_type;34 md.private.solution=options.solution_type; 35 35 36 36 %check model consistency … … 51 51 52 52 %flaim analysis 53 if (md. solution_type== FlaimSolutionEnum)53 if (md.private.solution == FlaimSolutionEnum) 54 54 md=flaim(md,options); 55 md. solution_type=EnumToString(options.solution_type);55 md.private.solution=EnumToString(options.solution_type); 56 56 return; 57 57 end … … 71 71 72 72 %Launch correct solution sequence 73 md=issm(md,md. solution_type);73 md=issm(md,md.private.solution); 74 74 75 75 %post processes qmu results if necessary … … 82 82 end 83 83 84 %Check result is consistent85 %disp('checking result consistency');86 %if ~isresultconsistent(md,options.solution_type),87 % disp('!! results not consistent correct the model !!') %it would be very cruel to put an error, it would kill the computed results (even if not consistent...)88 %end89 90 84 %convert analysis type to string finally 91 md. solution_type=EnumToString(options.solution_type);85 md.private.solution=EnumToString(options.solution_type); -
issm/trunk/src/m/model/solveparallel.m
r9571 r9614 14 14 %First, build a runtime name that is unique, that we will use to create 15 15 %directories, name jobs, etc ... 16 c=clock; md. runtimename=sprintf('%s-%i-%i-%i-%i-%i-%i-%i',md.name,c(2),c(3),c(1),c(4),c(5),floor(c(6)),feature('GetPid'));16 c=clock; md.private.runtimename=sprintf('%s-%i-%i-%i-%i-%i-%i-%i',md.name,c(2),c(3),c(1),c(4),c(5),floor(c(6)),feature('GetPid')); 17 17 18 18 %Now, we need to build the queuing script, used by the cluster to launch the job. -
issm/trunk/src/m/model/waitonlock.m
r7984 r9614 14 14 port=md.cluster.port; 15 15 timelimit=md.waitonlock; 16 filename=[executionpath '/' md. runtimename '/' md.name '.lock'];16 filename=[executionpath '/' md.private.runtimename '/' md.name '.lock']; 17 17 18 18 %waitonlock will work if the lock is on the same machine only:
Note:
See TracChangeset
for help on using the changeset viewer.