source: issm/oecreview/Archive/19101-20495/ISSM-19655-19656.diff

Last change on this file was 20498, checked in by Mathieu Morlighem, 9 years ago

CHG: done with Archive/19101-20495

File size: 1.3 KB
  • ../trunk-jpl/src/m/qmu/dakota_in_write.m

     
    8282
    8383%  write the strategy section
    8484
    85 strategy_write(fidi,params);
     85if IssmConfig('_DAKOTA_VERSION_') < 6,
     86        strategy_write(fidi,params);
     87end
    8688
    8789%  write the method section
    8890
     
    228230    param_write(fidi,'\t  ','file_save','','\n',params);
    229231elseif params.direct
    230232%  Error: asynchronous capability not yet supported in direct interfaces.
     233%  Update: it is now possible to run in parallel in direct interfaces.
    231234    param_write(fidi,'\t','algebraic_mappings',' = ','\n',params);
    232235    param_write(fidi,'\t','direct','','\n',params);
    233236    param_write(fidi,'\t  ','analysis_driver','     = ''','''\n',params);
    234     param_write(fidi,'\t  ','evaluation_static_scheduling','','\n',params);
     237    if IssmConfig('_DAKOTA_VERSION_') < 6,
     238                param_write(fidi,'\t  ','evaluation_static_scheduling','','\n',params);
     239        else
     240                param_write(fidi,'\t  ','evaluation_scheduling',' ','\n',params);
     241                param_write(fidi,'\t  ','processors_per_evaluation',' = ','\n',params);
     242        end
    235243    if ~isempty(params.analysis_components)
    236244        [pathstr,name,ext] = fileparts(params.analysis_components);
    237245        if isempty(ext)
Note: See TracBrowser for help on using the repository browser.