Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Initiate WolframKernel with a specified entitlement #39

Open
vitrun opened this issue Dec 11, 2023 · 1 comment
Open

Comments

@vitrun
Copy link

vitrun commented Dec 11, 2023

We require the execution of Wolfram in a dynamic cloud environment, where fixed containers, IPs, or machines are not employed. Utilizing entitlements in WolframScript has proven effective, as illustrated by the command wolframscript -entitlement "O-WSDS-....". However, our preference is to integrate Wolfram into our stack using a Python client. Unfortunately, it appears that the Python client does not currently support entitlements.

We express the need for the ability to incorporate entitlements when utilizing the Wolfram client for Python. This enhancement would greatly facilitate the seamless integration of Wolfram into our overall system architecture.

@okofish
Copy link
Member

okofish commented Dec 11, 2023

A workaround for using on-demand licensing in non-WolframScript-based workflows is to pass licensing arguments to the kernel executable using the WOLFRAMINIT environment variable, as described in the Wolfram Web Engine for Python instructions: https://github.com/WolframResearch/WolframWebEngineForPython?tab=readme-ov-file#using-docker

WOLFRAMINIT='-pwfile !cloudlm.wolfram.com -entitlement O-WSTD-DA42-GKX4Z6NR2DSZR'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants