hexagon logo

How can I run quasar in batch mode?

Built model in Lunar and saved project to get Simulation.qsr file but want to run next step outside of Lunar.
 
C:\WORK\Test is my project folder, the csv files are created and ready.
 
Running from the installed directory and using the argument list results in import error:
quasarengine_2.exe c:\WORK\Test\Simulation.qsr c:\WORK\Test X_FILE.csv VALIDATION_FILE.csv XN_FILE.csv -2
 
Parents
  • Thanks Benjamin,
     
    I have Lunar, not CAE so when I run the corrected script in a command prompt it show the same import error as before:
     
    Error at line 48:8 in Simulation_mod.qsr : Unable to find library "QuasarMatrix". Note that environement variable QUASAR_LIBS have not been set
     import "QuasarMatrix"
         ^
    An error occured while script compilation. Please correct it and try again.
     
    If I add the QUASAR_LIBS environmental variable I can get a bit further, but new error being:
     
    Computing results of Dataset #1 with POD solver
    INTEL MKL ERROR: The specified module could not be found. mkl_avx2.dll.
    Intel MKL FATAL ERROR: Cannot load mkl_avx2.dll or mkl_def.dll.
     
    Is there something else needed to setup the environment?
     
    Thanks!
Reply
  • Thanks Benjamin,
     
    I have Lunar, not CAE so when I run the corrected script in a command prompt it show the same import error as before:
     
    Error at line 48:8 in Simulation_mod.qsr : Unable to find library "QuasarMatrix". Note that environement variable QUASAR_LIBS have not been set
     import "QuasarMatrix"
         ^
    An error occured while script compilation. Please correct it and try again.
     
    If I add the QUASAR_LIBS environmental variable I can get a bit further, but new error being:
     
    Computing results of Dataset #1 with POD solver
    INTEL MKL ERROR: The specified module could not be found. mkl_avx2.dll.
    Intel MKL FATAL ERROR: Cannot load mkl_avx2.dll or mkl_def.dll.
     
    Is there something else needed to setup the environment?
     
    Thanks!
Children
No Data