-
Run Jupyterq notebook with limit CPU cores
Hi guys, I try to use Jupyter kernel for kdb+ but meet following “License check failed” problem. I think this is because my non-commercial license has a constraint on max CPU cores.<div>
<div>
When I directly run q in the command line, it raised “license error: cores” error. And “taskset -c 0-15 ~/q/l64/q” solves this issue. My question is: is there anyway I can limit my cpu cores when starting a KDB+ jupyter kernel, so that I can use q with jupyter notebook normally on my machine?
Thank you very much!
~$ ~/q/l64/q
KDB+ 4.1 2024.07.08 Copyright (C) 1993-2024 Kx Systems
l64/ 48(24)core 579514MB xxxx ubuntu-xxxxx-amd64-base xx.xx.xx.xx xxxxx@gmail.com KDB PLUS TRIAL #5020784
'license error: cores
~$ taskset -c 0-15 ~/q/l64/q
KDB+ 4.1 2024.07.08 Copyright (C) 1993-2024 Kx Systems
l64/ 16(24)core 579514MB xxxx ubuntu-xxxxx-amd64-base xx.xx.xx.xx xxxxx@gmail.com KDB PLUS TRIAL #5020784
q)
</div></div>
github.com
GitHub - KxSystems/jupyterq: Jupyter kernel for kdb+
Jupyter kernel for kdb+. Contribute to KxSystems/jupyterq development by creating an account on GitHub.
Log in to reply.