Start OptiStruct from Command Line → How to set RADFLEX_PATH env variable?

Willi Stork_21755
Willi Stork_21755 Altair Community Member
edited September 2021 in Community Q&A

Hello Altair Community,

I try to start OptiStruct through the following command:

Path\to\optistruct_2019_win64.exe Path\to\Solverdeck.fem -analysis

then I get the following error-message:

**************************************************
RADFLEX not found

 
 *** FATAL ERROR # 9174 ***

 *** Error starting Radflex licensing utility.
 *** Please check RADFLEX_PATH env variable.
 *** License checkout could not be initialized.
...
**************************************************


As I can read in the error-message there should be a RADFLEX_PATH env variable set.

This env variable doesn't exist on my stystem.

So my question is, how do I set this env variable correctly, so I can run OptiStruct from the commandline?


Additional Info:

  • OS:         Windows 10 Version 10.0.19042 Build 19042
  • HyperWorks: Version 2019
  • I wasn't able to follow the sollution provided here, as it's for a linux-system.

 

Best regards
Willi Stork



Edit: Mods in case this belongs into the OptiStruct-forum please move it there.

Best Answer

  • Adriano A. Koga
    Adriano A. Koga
    Altair Employee
    edited September 2021 Answer ✓

    hi,

     

    you should call optistruct.bat instead.

     

    D:/Program Files/Altair/2020.1/hwdesktop/../hwsolvers/scripts/optistruct.bat your_file.fem -youroptions...

Answers

  • Adriano A. Koga
    Adriano A. Koga
    Altair Employee
    edited September 2021 Answer ✓

    hi,

     

    you should call optistruct.bat instead.

     

    D:/Program Files/Altair/2020.1/hwdesktop/../hwsolvers/scripts/optistruct.bat your_file.fem -youroptions...

  • Willi Stork_21755
    Willi Stork_21755 Altair Community Member
    edited September 2021

    hi,

     

    you should call optistruct.bat instead.

     

    D:/Program Files/Altair/2020.1/hwdesktop/../hwsolvers/scripts/optistruct.bat your_file.fem -youroptions...

    Hello,

    thank you very much, now it works!