Changeset 22943
- Timestamp:
- 07/13/18 14:23:46 (7 years ago)
- Location:
- issm/trunk-jpl/src/m/solve
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/solve/solveslm.m
r21227 r22943 24 24 end 25 25 26 %Default settings for debugging 27 valgrind=0; 28 %slm.cluster.interactive=0; valgrind=1; 29 26 30 %check consistency: 27 31 slm.checkconsistency(solutionstring); … … 30 34 options=pairoptions(varargin{:},'solutionstring',solutionstring); 31 35 32 % figure out if the sum of cluster processors requested sums up correctly:36 %make sure we request sum of cluster processors 33 37 totalnp=0; 34 38 for i=1:length(slm.icecaps), totalnp=totalnp+slm.icecaps{i}.cluster.np; end … … 42 46 cluster=slm.cluster; 43 47 batch=0; 44 45 48 %now, go through icecaps, glacies and earth, and upload all the data independently: 49 disp('solving ice caps first'); 46 50 for i=1:length(slm.icecaps), 47 51 slm.icecaps{i}=solve(slm.icecaps{i},solutionstringi,'batch','yes'); 48 52 end 53 disp('solving earth now'); 49 54 slm.earth=solve(slm.earth,solutionstringi,'batch','yes'); 50 55 … … 66 71 nps{end+1}=slm.earth.cluster.np; 67 72 68 BuildQueueScriptMultipleModels(cluster,slm.private.runtimename,slm.miscellaneous.name,slm.private.solution, privateruntimenames,miscellaneousnames,nps);73 BuildQueueScriptMultipleModels(cluster,slm.private.runtimename,slm.miscellaneous.name,slm.private.solution,valgrind,privateruntimenames,miscellaneousnames,nps); 69 74 70 75 %Upload all required files, given that each individual solution for icecaps and earth model already did:
Note:
See TracChangeset
for help on using the changeset viewer.