Skip to main content

Python wrapper around Dakota

Project description

Carolina

Carolina is a pyDAKOTA fork maintained by Equinor. Its raison d'être is to have easier building of a Python Dakota wrapper, without any MPI support.

Installation

Python version: Carolina supports Python version 3.6, 3.7, 3.8, 3.10

In order to build Carolina, Boost, including Boost.Python, and Dakota must be installed. This requires CMake and a C/C++ compiler.

The BOOST_ROOT environment variable can be set to the location of the boost library, if not in a default location.

The BOOST_PYTHON can be set if a given version of boost_python is needed. For instance if Python 3.8 is to be used:

    export BOOST_PYTHON=boost_python38

By default the installation script will try to guess the boost_python version from the minor version of Python, i.e. for Python 3.10, it will try boost_python310.

Carolina can then be installed with:

    pip install .

The library can then be tested by entering the tests directory and execute:

    pytest

Carolina requires Dakota 6.18, but will work with older versions as well. Pathes can be reverted to allow for building against versions prior to 6.13 or 6.16.

From Dakota version 6.13 a different set of boost libraries is needed: instead of boost_signals, boost_program_options is used. From Dakota version 6.16 a small change was made in the Python interface. From Dakota version 6.18 a file was removed from the source and build script was altered.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

carolina-1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25.6 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

carolina-1.0-cp310-cp310-macosx_11_0_x86_64.whl (17.8 MB view hashes)

Uploaded CPython 3.10 macOS 11.0+ x86-64

carolina-1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25.6 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

carolina-1.0-cp39-cp39-macosx_11_0_x86_64.whl (17.8 MB view hashes)

Uploaded CPython 3.9 macOS 11.0+ x86-64

carolina-1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25.6 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

carolina-1.0-cp38-cp38-macosx_11_0_x86_64.whl (17.8 MB view hashes)

Uploaded CPython 3.8 macOS 11.0+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page