How to run Optistruct jobs on Ubuntu terminal

alpha_21885
alpha_21885 Altair Community Member
edited March 2021 in Community Q&A

Hello Optistruct experts,

 

I want to use Linux Ubuntu O.S to calculate Optistruct jobs. Could you help instruct me how to submit the jobs from command line.

I browsered to Altair/HWsolvers/Script folder then typed the below command: sudo ./optistruct.bat 'test.fem' -nt 4

 

But it does not work.

Thank you very much for any advice and recommendation.

 

Answers

  • Q.Nguyen-Dai
    Q.Nguyen-Dai Altair Community Member
    edited November 2017

    Firstly, you have to know that Ubuntu Linux is NOT supported by Altair Hyperworks.

    So try with CentOS Linux, a free distro of RHEL which works well with Hyperworks.

  • alpha_21885
    alpha_21885 Altair Community Member
    edited November 2017

    Firstly, you have to know that Ubuntu Linux is NOT supported by Altair Hyperworks.

    So try with CentOS Linux, a free distro of RHEL which works well with Hyperworks.

    Hello Mr. Dai,

     

    Thank you very much for your information.

    In fact, I can run Hypermesh on Ubuntu then I think Optistruct will work well on Ubuntu.

     

    May I know the command line you use to submit the jobs on CentOS as well?

     

    I search on this forum but there are only few topics on linux O.S.

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited November 2017

    Hi @alpha

     

    Try this instead: 

     <install_dir>/altair/scripts/optistruct 'filename' -option argument
  • Q.Nguyen-Dai
    Q.Nguyen-Dai Altair Community Member
    edited November 2017

    Hello Mr. Dai,

     

    Thank you very much for your information.

    In fact, I can run Hypermesh on Ubuntu then I think Optistruct will work well on Ubuntu.

     

    May I know the command line you use to submit the jobs on CentOS as well?

     

    I search on this forum but there are only few topics on linux O.S.

    Which version of Hypermesh you can run on Ubuntu?

    All scripts are in <INSTALL_DIR>/altair/scripts/

     

  • alpha_21885
    alpha_21885 Altair Community Member
    edited November 2017

    Which version of Hypermesh you can run on Ubuntu?

    All scripts are in <INSTALL_DIR>/altair/scripts/

     

    Thank you Mr. Dai.

    I know where script is placed. I browsered to script folder then try few linux command but it does not work. (Please read my question in the beginning carefully).

    sudo ./optistruct.bat 'test.fem' -nt 4

     

    I just do not know how to run *.bat file in Linux.

    It sounds both you and Prakash are using windows to answer linux questions :)/emoticons/default_smile.png' srcset='/emoticons/smile@2x.png 2x' title=':)' width='20' />

     

  • Q.Nguyen-Dai
    Q.Nguyen-Dai Altair Community Member
    edited November 2017

    Hey, how you can found '*.bat' files within Linux installation?!?!

    .BAT file is Windows's script format.

    No .bat files within my Hyperworks installation under Linux (see screenshot)

    Selection_100.png.b30deaa0644b885fb861f2f52afb73dd.png

     

     

     

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited November 2017

    All,

     

    .bat is Windows file and can't be used on Linux. Use OptiStruct solver command 

     <install_dir>/altair/scripts/optistruct 'filename' -option argument for linux
  • alpha_21885
    alpha_21885 Altair Community Member
    edited November 2017

    Good morning Mr. Dai & Prakash

     

    Based on your advice and comments, I am able to run few Optistruct jobs on my Ubuntu machine successfully. Now I can remote to my Linux machine to run some jobs as well.

    Thank you so much for your help!!!

     

     

  • Q.Nguyen-Dai
    Q.Nguyen-Dai Altair Community Member
    edited November 2017

    So you run Optistruct solver only on Ubuntu?

    Could you run also Hypermesh/Hyperview GUI correctly on Ubuntu?

     

  • Hoan_21498
    Hoan_21498 Altair Community Member
    edited March 2021

    So you run Optistruct solver only on Ubuntu?

    Could you run also Hypermesh/Hyperview GUI correctly on Ubuntu?

     

    I have just installed HW 2021 in Ubuntu 20. It works normally.