Changeset 22943


Ignore:
Timestamp:
07/13/18 14:23:46 (7 years ago)
Author:
Eric.Larour
Message:

CHG: some minor mods on solveslm + loading of results from cluster.

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  
    2424end
    2525
     26%Default settings for debugging
     27valgrind=0;
     28%slm.cluster.interactive=0; valgrind=1;
     29
    2630%check consistency:
    2731slm.checkconsistency(solutionstring);
     
    3034options=pairoptions(varargin{:},'solutionstring',solutionstring);
    3135
    32 %figure out if the sum of cluster processors requested sums up correctly:
     36%make sure we request sum of cluster processors
    3337totalnp=0;
    3438for i=1:length(slm.icecaps), totalnp=totalnp+slm.icecaps{i}.cluster.np; end
     
    4246cluster=slm.cluster;
    4347batch=0;
    44 
    4548%now, go through icecaps, glacies and earth, and upload all the data independently:
     49disp('solving ice caps first');
    4650for i=1:length(slm.icecaps),
    4751        slm.icecaps{i}=solve(slm.icecaps{i},solutionstringi,'batch','yes');
    4852end
     53disp('solving earth now');
    4954slm.earth=solve(slm.earth,solutionstringi,'batch','yes');
    5055
     
    6671nps{end+1}=slm.earth.cluster.np;
    6772
    68 BuildQueueScriptMultipleModels(cluster,slm.private.runtimename,slm.miscellaneous.name,slm.private.solution,privateruntimenames,miscellaneousnames,nps);
     73BuildQueueScriptMultipleModels(cluster,slm.private.runtimename,slm.miscellaneous.name,slm.private.solution,valgrind,privateruntimenames,miscellaneousnames,nps);
    6974
    7075%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.