KX Community

Find answers, ask questions, and connect with our KX Community around the world.
KX Community Guidelines

Home Forums KX Solutions Run Jupyterq notebook with limit CPU cores

  • Run Jupyterq notebook with limit CPU cores

    Posted by Darren on August 17, 2024 at 1:50 pm

    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>

    Darren replied 4 months ago 2 Members · 2 Replies
  • 2 Replies

Log in to reply.