Changeset 2115


Ignore:
Timestamp:
09/06/09 16:18:41 (15 years ago)
Author:
Eric.Larour
Message:

Fixed bug in dakota: no restart file present

Location:
issm/trunk/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/Qmux/SpawnCoreParallel.cpp

    r2112 r2115  
    175175        /*Now process the outputs, before computing the dakota responses: */
    176176        if(debug)_printf_("process results:\n");
     177
    177178        ProcessResults(&processed_results,results,model,analysis_type);
    178        
     179
    179180        /*compute responses on cpu 0: dummy for now! */
    180181        if(debug)_printf_("compute dakota responses:\n");
  • issm/trunk/src/m/classes/public/loadresultsfromcluster.m

    r2009 r2115  
    1212
    1313%What packages are we picking up from remote cluster
    14 packages={[md.name '.outlog'],[md.name '.errlog'], [md.name '.outbin']};
     14packages={[md.name '.outlog'],[md.name '.errlog']};
    1515if md.qmu_analysis,
    1616        packages{end+1}=[md.name '.qmu.err'];
    1717        packages{end+1}=[md.name '.qmu.out'];
    18         packages{end+1}='dakota_tabular.dat';
     18        %packages{end+1}='dakota_tabular.dat'; not for now.
     19else
     20        packages{end+1}=[md.name '.outbin'];
    1921end
    2022
  • issm/trunk/src/m/classes/public/loadresultsfromdisk.m

    r2032 r2115  
    1111end
    1212
    13 %load result onto model
    14 if ~isstruct(md.results),
    15         md.results=struct();
    16 end
     13if ~md.qmu_analysis,
     14        %load result onto model
     15        if ~isstruct(md.results),
     16                md.results=struct();
     17        end
    1718
    18 structure=parseresultsfromdisk(filename);
    19 md.results.(structure.analysis_type)=structure;
     19        structure=parseresultsfromdisk(filename);
     20        md.results.(structure.analysis_type)=structure;
    2021
    21 %Check result is consistent, only if it exists
    22 disp(sprintf('%s\n','checking result consistency'));
    23 if ~isresultconsistent(md,md.analysis_type),
    24         %it would be very cruel to put an error, it would kill the computed results (even if not consistent...)
    25         disp('!! results not consistent correct the model !!')
     22        %Check result is consistent, only if it exists
     23        disp(sprintf('%s\n','checking result consistency'));
     24        if ~isresultconsistent(md,md.analysis_type),
     25                %it would be very cruel to put an error, it would kill the computed results (even if not consistent...)
     26                disp('!! results not consistent correct the model !!')
     27        end
    2628end
    2729
  • issm/trunk/src/m/solutions/dakota/dakota_in_data.m

    r1014 r2115  
    136136
    137137%Write m file
    138 dakota_m_write(dmeth.method,dmeth,dvar,dresp,params,filei,package,varargin{:});
     138%dakota_m_write(dmeth.method,dmeth,dvar,dresp,params,filei,package,varargin{:});
    139139
    140140end
Note: See TracChangeset for help on using the changeset viewer.