Interacting with a Running Job

While your simulation is running, you can run a second instance of Speos HPC to control the first instance using the following command lines:

Command Line

Description

-stop 0

-stop 1

-stop 2

0: stops the simulation without saving results.

1: stops the simulation and saves results.

2: stops the simulation and saves results after the current pass (for Inverse simulation only).

Only use -stop x with -speos speosfullpath.

-next

Stops and saves results for the current sensor and runs the simulation for the next sensor (for Inverse simulation only).

-progress

Displays the progress of the simulation.

-merge

Merges and saves the intermediate results of the simulation (for Monte Carlo simulation only).

How to interact with the running simulation?

  1. Open a second emulated Linux console to interact with the simulation.

  2. From the console run SPEOSHPC.x with the selected command line as shown in the following examples:

    • Stopping and saving the results of file.speos:

      ./SPEOSHPC.x –speos fullpath/file.speos -stop 1
      
    • Displaying the progress of file.speos:

      ./SPEOSHPC.x –speos fullpath/file.speos -progress
      
    • Merging and saving the intermediate results of file.speos:

      ./SPEOSHPC.x –speos fullpath/file.speos -merge