Surrogates python package Windows #209
Unanswered
leonardoungureanu6-jpg
asked this question in
Q&A
Replies: 1 comment
|
Dakota’s Python surrogates module (import dakota.surrogates as daksurr) is not included in the official Windows binaries of Dakota 6.21.0. Only the Linux distribution ships with the compiled extension file (surrogates.cpython-312-x86_64-linux-gnu.so), which is why you can import it on Linux but cannot find a .pyd or .dll equivalent on Windows. Key points:
If you need the module on Windows, you have two practical options:
In summary: the surrogates module is officially available only on Linux, and Windows users must either compile it themselves or run Dakota inside a Linux environment. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello, I'm building a surrogate and I wanted to construct and evaluate it following the example at 'dakota_install\share\dakota\examples\official\surrogates\library'. To the example is attached an html link, where it is stated 'The surrogates module is located within the dakota package', so it can be used as 'import dakota.surrogates as daksurr'.
I have downloaded the windows version of Dakota 6.21.0, and I don't have that library. I noticed that in the linux version the 'surrogates.cpython-312-x86_64-linux-gnu.so' file is available.
Is it available for the Windows version too? If yes, where can I find/download it?
All reactions