Skip to main content

Ryzen for gurobi

Answered

Comments

5 comments

  • Jaromił Najman
    Gurobi Staff Gurobi Staff

    Hi Cristian,

    This should not happen with Gurobi unless you are using the Barrier algorithm. The Barrier algorithm uses the MKL library which is currently best supported by Intel CPUs. However, in Gurobi, an internal environment variable is set to circumvent this obstacle and activate all features for AMD processors. Still, it might happen that the default environment variable is not set properly blocking some features. For more information, please refer to How to Use MKL with AMD Ryzen and Threadripper CPU's (Effectively) for Python Numpy (And Other Applications).

    Best regards,
    Jaromił
    0
  • Cris
    Gurobi-versary
    Curious
    Conversationalist

    Thanks for your answer Jaromił. I was reading some post and it looks like the environment variable is not useful with the new version of mkl. 

    I am not clear with what you tell me about the environment variable for gurobi. It is the same solution as the publish on the post you have left me? Or is an internal option in gurobi settings. (sorry if I am not clear but I am new with this kind of stuf).

    Best regards and thanks for your help,

    Cristian.

    0
  • Jaromił Najman
    Gurobi Staff Gurobi Staff

    Hi Cristian,

    I am not clear with what you tell me about the environment variable for gurobi. It is the same solution as the publish on the post you have left me?

    Yes, Gurobi just defines its own variable, which does the same as in the post. It is not a Gurobi setting.

    Best regards,
    Jaromił

    0
  • Cris
    Gurobi-versary
    Curious
    Conversationalist

    What version of Intel MKL runs gurobi??

    I read 2020.2 version has removed the environment variable solution.

    Best regards,

    Cristian

    0
  • Jaromił Najman
    Gurobi Staff Gurobi Staff

    Hi Cristian,

    Gurobi currently uses a previous version of MKL, where the environment variable solution is still feasible.

    Best regards,
    Jaromił

    0

Please sign in to leave a comment.