Optimization 达科他州6.1无法识别的标识符';模板目录';
我得到一个错误:Optimization 达科他州6.1无法识别的标识符';模板目录';,optimization,Optimization,我得到一个错误: unrecognized identifier 'template_directory' 当我启动命令时 dakota -check dakota_of.in 我使用的是Dakota版本6.1;通过查看下面报告的dakota_of.in文件,你能告诉我我遗漏了什么吗 dakota_of.in文件内容: # Usage: # dakota -i dakota_of.in -o run.out > stdout.out environment #strategy
unrecognized identifier 'template_directory'
当我启动命令时
dakota -check dakota_of.in
我使用的是Dakota版本6.1;通过查看下面报告的dakota_of.in文件,你能告诉我我遗漏了什么吗
dakota_of.in文件内容:
# Usage:
# dakota -i dakota_of.in -o run.out > stdout.out
environment #strategy
#graphics
tabular_graphics_data
tabular_graphics_file = 'table_out.dat'
#single_method
model
single
method
id_method = 'method1'
dace oa_lhs
#POSSIBLE OPTIONS FOR DACE EXPERIMENT
#box_behnken
#central_composite
#grid
#lhs
#oa_lhs
#oas
#random
samples = 20
seed = 52
model
single
variables,
continuous_design = 2
#cdv_initial_point 6.0 4.0
cdv_initial_point 4.0 6.0
cdv_lower_bounds 1.0 1.0
#cdv_upper_bounds 9.0 6.0
cdv_upper_bounds 8.0 6.0
cdv_descriptors 'x1' 'x2'
interface,
fork
asynchronous
evaluation_concurrency = 4
analysis_driver = 'simulator_script'
parameters_file = 'params.in'
results_file= 'results.out'
work_directory directory_tag
template_directory = 'templatedir'
# more info from https://dakota.sandia.gov/sites/default/files/docs/6.0/html-ref/interface-analysis_drivers-fork-work_directory.html
# uncomment to leave params.in and results.out files in work_dir subdirectories
named 'workdir' file_save directory_save
aprepro
## when using conmin_frcg (above) with analytic_gradients (below),
## need to turn off the active set vector as rosenbrock_bb does not parse it.
deactivate active_set_vector
responses,
num_objective_functions = 1
no_gradients
no_hessians
附加信息:上面的代码取自为DAKOTA 5.4.0版开发的DAKOTA教程(由提供)。我只是复制了文件,并尝试使用DAKOTA 6.1启动。可能需要更改某些语法输入参数?在较新版本的Dakota中,work_目录的语法已更改。您可以在此处看到Dakota 6.1的特定关键字:。
这里还有一些培训材料:,幻灯片28 简短的总结是,您可能需要以下内容:
work_directory directory_tag
link_files = 'templatedir/*'
请参见此处的示例:
[布莱恩在桑迪亚实验室的礼遇]