Ignore:
Timestamp:
10/19/15 12:56:37 (9 years ago)
Author:
Eric.Larour
Message:

CHG: branch on dakota version to write the params section.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/qmu/dakota_in_write.m

    r11642 r19656  
    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
     
    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);
Note: See TracChangeset for help on using the changeset viewer.