# pSeven Runner¶

This page describes the pSeven Runner environment that is intended to run existing workflows and does not require a full pSeven license.

## About pSeven Runner¶

The main interface of pSeven described in Introduction has four separate screens, or interface modes, which serve different purposes. These screens represent the four general stages in a typical pSeven pSeven scenario:

1. Create a project and prepare required resource files. Depending on the task, these files can include data samples, models, input and output templates for integrated applications, scripts, and other resources. These files are usually gathered into a project directory, but in general this is not necessary — that is, files can be stored at different locations on the disk. Projects and their contents are managed on the Workspace screen.
2. Create and configure a workflow that automates data processing and collects results. Workflows are edited on the Edit screen. Workflow configuration is a set of features that allow to add parameters to the workflow and specify what data can be collected (monitored) during its run. Parameter values and monitoring settings can then be changed quickly without editing the workflow.
3. Specify workflow parameters, select which data to save, and run the workflow. This part of the workflow setup is done on the Run screen. When creating a new workflow, you will usually switch between Edit and Run several times to test how it works, add error handling where needed, fix errors and warnings and so on. However note that once the workflow is tested and configured properly, it can be used as a ready tool for some specific (even if complex) task. The Run screen can also show brief results or status information so they can be accessed fast without analyzing the collected data in detail.
4. Post-process the data collected from the workflow. Results are managed on the Analyze screen which provides a number of tools for interactive data analysis and visualization. Results analysis can be finalized by saving a report — a special pSeven document that complements a workflow or even consolidates data from multiple workflows, representing it in an easily comprehensible form.

In practice, a disadvantage of this general usage scenario is that the third stage (that is, the final workflow run) can actually take much time. Indeed, if the workflow integrates various CAD and CAE tools, even one simulation run can last several minutes. And since such tasks as optimization or sensitivity analysis commonly require hundreds of simulations, total run-time will be measured in hours. During this time the pSeven process remains active and consumes a license while certain features, like workflow editing or switching to another project, are disabled for safety reasons. You can, however, switch to the Analyze screen while the workflow runs to begin with post-processing, but this option is useful only if you want to monitor new results as they appear.

When using a full version of pSeven, project and workflow editing function become unavailable while you run a workflow.

A more effective solution is to use the pSeven Runner in addition to the full pSeven version. Using pSeven Runner does not require a full license: this feature is available as an add-on to any of the pSeven editions and can reduce pSeven usage costs for up to 25% depending on your design practices. pSeven Runner provides a limited environment intended for working with existing projects and preconfigured workflows. It allows managing project contents (for example, adding new source data), running workflows with different parameter settings, and collecting their results.

You can use pSeven Runner as a workflow execution engine, and switch to the full version only when you need to make major changes in your workflow or to post-process the collected data. Thus pSeven Runner enables the alternative usage scenario like the following.

1. Use the full version of pSeven to create a project, make and test a new workflow.
2. Use pSeven Runner to add resource data to the project and specify workflow run settings such as parameter values and paths to data or model files. Run the workflow one or more times, allowing pSeven to collect and store results for further analysis. While pSeven Runner executes the workflow, you can continue using the full version of pSeven to work on another project or to analyze data from previous runs.
3. Use pSeven full version to post-process the data collected by pSeven Runner and prepare a report with final results.

Note that pSeven Runner can also be used as a simplified interface for users with less knowledge of pSeven and those software tools that are integrated into the workflow: effectively it opens workflows in read-only mode, so you can avoid the risk of accidentally changing the workflow structure or corrupting the project.

## Using pSeven Runner¶

The pSeven Runner can be started:

• Using a shortcut from the system menu. For example Start ‣ All Programs ‣ pSeven ‣ pSeven Runner.

• From the command line by specifying the --runner option:

p7gui --runner


The Edit and Analyze screens are disabled in pSeven Runner.

You can open a project and manage its contents in Workspace. Opening a workflow in pSeven Runner takes you directly to the Run screen.

Here you can specify parameters and start the workflow, same as in the full pSeven version (see section Run). However, real-time data analysis is not possible when using pSeven Runner — you cannot switch to Analyze in pSeven Runner or open the same project in the full pSeven version. While the workflow runs, you can work on another project in the full version of pSeven or another instance of pSeven Runner. After the workflow finishes, you can reopen the project in the full version and use to process results in Analyze.