[20498] | 1 | Index: ../trunk-jpl/src/m/qmu/dakota_in_write.m
|
---|
| 2 | ===================================================================
|
---|
| 3 | --- ../trunk-jpl/src/m/qmu/dakota_in_write.m (revision 19655)
|
---|
| 4 | +++ ../trunk-jpl/src/m/qmu/dakota_in_write.m (revision 19656)
|
---|
| 5 | @@ -82,7 +82,9 @@
|
---|
| 6 |
|
---|
| 7 | % write the strategy section
|
---|
| 8 |
|
---|
| 9 | -strategy_write(fidi,params);
|
---|
| 10 | +if IssmConfig('_DAKOTA_VERSION_') < 6,
|
---|
| 11 | + strategy_write(fidi,params);
|
---|
| 12 | +end
|
---|
| 13 |
|
---|
| 14 | % write the method section
|
---|
| 15 |
|
---|
| 16 | @@ -228,10 +230,16 @@
|
---|
| 17 | param_write(fidi,'\t ','file_save','','\n',params);
|
---|
| 18 | elseif params.direct
|
---|
| 19 | % Error: asynchronous capability not yet supported in direct interfaces.
|
---|
| 20 | +% Update: it is now possible to run in parallel in direct interfaces.
|
---|
| 21 | param_write(fidi,'\t','algebraic_mappings',' = ','\n',params);
|
---|
| 22 | param_write(fidi,'\t','direct','','\n',params);
|
---|
| 23 | param_write(fidi,'\t ','analysis_driver',' = ''','''\n',params);
|
---|
| 24 | - param_write(fidi,'\t ','evaluation_static_scheduling','','\n',params);
|
---|
| 25 | + if IssmConfig('_DAKOTA_VERSION_') < 6,
|
---|
| 26 | + param_write(fidi,'\t ','evaluation_static_scheduling','','\n',params);
|
---|
| 27 | + else
|
---|
| 28 | + param_write(fidi,'\t ','evaluation_scheduling',' ','\n',params);
|
---|
| 29 | + param_write(fidi,'\t ','processors_per_evaluation',' = ','\n',params);
|
---|
| 30 | + end
|
---|
| 31 | if ~isempty(params.analysis_components)
|
---|
| 32 | [pathstr,name,ext] = fileparts(params.analysis_components);
|
---|
| 33 | if isempty(ext)
|
---|