Difference between revisions of "Sig Numerical Optimization / Compatibility issues"

From OpenFOAMWiki
(Switching from Dakota 6.0.0 to Dakota 6.1.0)
(Switching from Dakota 6.0.0 to Dakota 6.1.0)
 
Line 18: Line 18:
  
  
The following changes have to be applied to Dakota 6.0.0 input files (for example, dakota_of.in in the Blunt Body case) in order to use them with Dakota 6.1.0:
+
The following changes have to be applied to Dakota 6.0.0 input files (for example, dakota_of.in in the [http://openfoamwiki.net/index.php/Sig_Numerical_Optimization_/_Tutorials Blunt Body case]) in order to use them with Dakota 6.1.0:
  
  
In the interface block change the template_directory keyword to copy_files, e.g.,
+
In the interface block change the template_directory keyword to copy_files as follows:
  
 
+
*In version 6.0.0 you do like this,
In version 6.0.0 you do like this,
+
 
               template_directory = 'templatedir'
 
               template_directory = 'templatedir'
  
In version 6.1.0 you should do like this,
+
*In version 6.1.0 you should do like this,
 
               copy_files = 'templatedir/*'
 
               copy_files = 'templatedir/*'
  
  
 
The rest of the input file remains unchanged.
 
The rest of the input file remains unchanged.

Latest revision as of 19:53, 26 November 2014

1 Switching from Dakota 5.* to Dakota 6.0.0

Since the release of Dakota 6.0.0, few modifications have to be made in order to run cases made with Dakota 5.*.

The following changes have to be applied to Dakota 5.* input files (for example, dakota_of.in in the Blunt Body case):


  • In the first specification block, change the keyword "strategy with "environment";
  • In the same block, remove the line "single_method";
  • In the specifications block 4 and 5, remove commas from the keyword: change "variables," to "variables and "interface," to "interface".


With these simple but necessary changes, you should be able to run cases made with the previous versions of Dakota smoothly.

2 Switching from Dakota 6.0.0 to Dakota 6.1.0

The following changes have to be applied to Dakota 6.0.0 input files (for example, dakota_of.in in the Blunt Body case) in order to use them with Dakota 6.1.0:


In the interface block change the template_directory keyword to copy_files as follows:

  • In version 6.0.0 you do like this,
              template_directory = 'templatedir'
  • In version 6.1.0 you should do like this,
              copy_files = 'templatedir/*'


The rest of the input file remains unchanged.