Configuring the Execution Options

You can specify the ANSA command and the solver input file that ANSA will generate. You can also set the logging and file options.

Related Topics
Setting ANSA Component Preferences
  1. Double-click the ANSA component icon .

    The ANSA Component Editor appears.

  2. From the ANSA Component Editor, click the Execution tab.

  3. Set the Runtime Options.

    1. Specify the ANSA Command.

      The default command for Windows is ansa.bat -nogui -i ANSA_MODEL -exec "InputDV(\"INPUT_DVFILE\");FEOutputName(\"Isight\");RunAllTasks();".

      After entering the input file the component updates the runtime option to ansa.bat -nogui -i hook_03_ansa -exec "InputDV(\"hook_DV_txt\");FEOutputName(\"hook_03\");RunAllTasks();" where hook_DV_txt is the input file name.

      The default command for Linux is ansa.sh -nogui -i ANSA_MODEL -exec "InputDV(\"INPUT_DVFILE\");FEOutputName(\"Isight\");RunAllTasks();"

      If you set the preference option for the ANSA executable path, Isight uses the path that you entered in the runtime option. If desired, you can edit the argument.

      Isight creates two input file parameters and one output file parameter.

    2. To add a parameter to the command, click in the command argument where you want to place the parameter, and click to add a new parameter or click to add an existing parameter.
    3. In the Time Out field, enter a value (in seconds) to specify how long to wait for execution before determining that execution failed.

      The default value is 300 seconds.

  4. In the Specify Solver Input File field in the Config Options area, enter the solver file name that ANSA will generate.

    The solver type is determined by the .ansa model file.

  5. Set the File Options:

    Option Description
    Store Input File in Model Store in the reference ANSA file stored inside the model (.zmf) file.
    Save Output File to Database Save to the ANSA output database file for each run saved to the results database.

  6. Set the Logging Options:

    Option Description
    Log Standard Output Messages that ANSA writes to standard output will appear in the Logs tab on the Isight Runtime Gateway.
    Log Standard Error Messages that ANSA writes to standard error will appear in the Logs tab on the Isight Runtime Gateway.
    Log at most Specify the limit for the number of lines to be logged.

    Only the number of lines specified by this option will be displayed in the Logs tab on the Isight Runtime Gateway. Half of the lines are taken from the start of the execution process, and half are taken from the current or from the end of the process. Lines from between the two are discarded.

    The default is 5 lines.

  7. Click OK to save your changes and to return to the Design Gateway.