1#@ *: DakotaConfig=HAVE_OPTPP
2#@ *: ExecCmd='dakota_library_mode' Restart=none
3#@
4#@ -------------------------
5#@ serial tests (rosenbrock)
6#@ -------------------------
7#@ s*: Label=FastTest
8#@
9#@ test 0: parsed input file (library mode 1)
10#@ override dakota command; leave input file as dakota_library_mode.in
11#@
12#@ test 1: direct data object insertion (library mode 2)
13#@ override dakota command; override input file to none
14#@ s1: InputFile=''
15#@
16#@ test 2: mixed mode with an input file (library mode 3)
17#@ override dakota command; leave input file as dakota_library_mode.in
18#@ s2: ExecArgs='-mixed'
19#@
20#@ test 3: mixed mode using default input string (library mode 3)
21#@ override dakota command; override input file to none
22#@ s3: ExecArgs='-mixed' InputFile=''
23#@
24#@ --------------------------
25#@ parallel tests (text_book); first 4 use same principles as serial
26#@ --------------------------
27#@ p*: Label=AcceptanceTest
28#@ p0: MPIProcs=2
29#@ p1: MPIProcs=2 InputFile=''
30#@ p2: MPIProcs=2 ExecArgs='-mixed'
31#@ p3: MPIProcs=2 InputFile='' ExecArgs='-mixed'
32#@ p4: MPIProcs=2
33#@ p5: MPIProcs=2
34#@ p6: MPIProcs=4
35#@ p7: MPIProcs=4
36
37# dakota_library_mode.in: tests for DAKOTA's library mode, with various
38# input and parallelism specifications (requires dakota_library_mode binary)
39
40method,
41	optpp_q_newton				#s0,#s1,#s2,#s3,#p0,#p1,#p2,#p3
42	  max_iterations = 50			#s0,#s1,#s2,#s3,#p0,#p1,#p2,#p3
43	  convergence_tolerance = 1e-5		#s0,#s1,#s2,#s3,#p0,#p1,#p2,#p3
44#	polynomial_chaos                            #p4,#p5,#p6,#p7
45#	  expansion_order = 4 collocation_ratio = 2	#p4,#p5,#p6,#p7
46#	  use_derivatives     				              #p4,#p5,#p6,#p7
47#   seed = 74321                              #p4,#p5,#p6,#p7
48
49variables,
50	continuous_design = 2			#s0,#s1,#s2,#s3,#p0,#p1,#p2,#p3
51#	uniform_uncertain = 2				#p4,#p5,#p6,#p7
52	  lower_bounds   -2.0 -2.0
53	  upper_bounds    2.0  2.0
54	  descriptors     'x1' 'x2'
55
56interface,
57	direct
58	  analysis_driver = 'plugin_rosenbrock'		#s0,#s1,#s2,#s3
59#	  analysis_driver = 'plugin_text_book'	#p0,#p1,#p2,#p3,#p4,#p5,#p6,#p7
60#	  asynchronous processors_per_analysis = 2	#p4,#p5,#p6,#p7
61# one server/single pass:
62#	    evaluation_concurrency = 10			#p4
63# one server/multiple passes and two servers/single pass:
64#	    evaluation_concurrency = 5			#p5,#p6
65# two servers/multiple passes:
66#	    evaluation_concurrency = 2	      		#p7
67
68responses,
69	objective_functions = 1			#s0,#s1,#s2,#s3,#p0,#p1,#p2,#p3
70#	nonlinear_inequality_constraints = 2		#p0,#p1,#p2,#p3
71#	response_functions = 3		   		#p4,#p5,#p6,#p7
72	analytic_gradients
73	no_hessians
74