Dakota Reference Manual  Version 6.16
Explore and Predict with Confidence
 All Pages
legacy_python


Run Python through a deprecated C-based direct interface - requires a special Dakota build

Specification

Alias: none

Argument(s): none

Child Keywords:

Required/Optional Description of Group Dakota Keyword Dakota Keyword Description
Optional numpy Enable the use of numpy in Dakota's Python interface

Description

This interface has been superseded by a Pybind11 implementation python .

Dakota supports a library-linked interface to Python, but it must be explicitly enabled when compiling Dakota from source. The analysis_drivers keyword specifies a Python module:function which implements the parameter to response mapping. List data structures are the default, but NumPy is also supported, if enabled in the build.