Error code 9 when openning HyperWorks from Linux

Alberto Casas
Alberto Casas Altair Community Member
edited March 2023 in Community Q&A

Hello all!

I have followed the installation guide for installing HyperWorks in Linux. When I try to open hypermesh by the next code : /home/cima/2021/altair/scripts/hmdesktop

I have the error code 9. I reckon it is related to the altair license path but I don´t know how to work it out. For setting the license path, I am using the next code:

ALTAIR_LICENSE_PATH=6200@XXX.XX.XX.XX        where X are numbers but it still doesn´t work.

Any help will be handy!!!Thank you in advance

image

Best Answer

  • PaulAltair
    PaulAltair
    Altair Employee
    edited March 2023 Answer ✓

    I guess from your other message you got this working, but you need to set/export the license path environment variable somewhere (eg in your .bashrc or similar)

    export ALTAIR_LICENSE_PATH=6200@xxx.xx.xx.xx

Answers

  • PaulAltair
    PaulAltair
    Altair Employee
    edited March 2023 Answer ✓

    I guess from your other message you got this working, but you need to set/export the license path environment variable somewhere (eg in your .bashrc or similar)

    export ALTAIR_LICENSE_PATH=6200@xxx.xx.xx.xx

  • Alberto Casas
    Alberto Casas Altair Community Member
    edited March 2023

    Dear Paul,

    Thank you for the answer. I got this working but I didn´t export the license path environment. I worked out the problem by the next code: /home/cima/2021/altair/security/bin/linux64/almutil setting up the authorization license so I don´t know if I still need to do that.

    In case of having to do that, in which directory should I write: export ALTAIR_LICENSE_PATH=6200@xxx.xx.xx.xx because I am trying to do it in the command window but I don´t get any result.

     

    Sorry for my lack of awareness but I am a linux beginner. Any help will be really appreciate!!

     

    Thank you so much Paul!!

  • PaulAltair
    PaulAltair
    Altair Employee
    edited March 2023

    Dear Paul,

    Thank you for the answer. I got this working but I didn´t export the license path environment. I worked out the problem by the next code: /home/cima/2021/altair/security/bin/linux64/almutil setting up the authorization license so I don´t know if I still need to do that.

    In case of having to do that, in which directory should I write: export ALTAIR_LICENSE_PATH=6200@xxx.xx.xx.xx because I am trying to do it in the command window but I don´t get any result.

     

    Sorry for my lack of awareness but I am a linux beginner. Any help will be really appreciate!!

     

    Thank you so much Paul!!

    If you fixed it another way and it works, you don't need to do this too, that is fine, if you were setting as an env var, you need to save the line:

    export ALTAIR_LICENSE_PATH=6200@xxx.xx.xx.xx

    in your /home/user/.bashrc file, or, I think from your other post you may be using ksh, in which case I think it would be /home/user/.kshrc these are read when a shell is opened

  • Alberto Casas
    Alberto Casas Altair Community Member
    edited March 2023

    Great, thank you for the information Paul!!