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
RevLine 
[20498]1Index: ../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)
Note: See TracBrowser for help on using the repository browser.