7. How to run Vortex OpenSplice — OpenSplice Evaluation and Benchmarking Guide

### Navigation

- index
- next |
- previous |
- OpenSplice Evaluation and Benchmarking Guide »

. How to run Vortex OpenSplice:

# 7. How to run Vortex OpenSplice

## 7.1. The Vortex OpenSplice Environment

A release file is provided with the Vortex OpenSplice installation which contains the environment variables that are required.

Create an Vortex OpenSplice environment as follows.

First:

> Open a shell and source the `release.com` file from the Vortex OpenSplice installation directory.

> Open a Windows Command prompt and run the `release.bat` file in the Vortex OpenSplice installation directory.

> Alternatively, use the Vortex OpenSplice Command Prompt that can be accessed from the Windows Start menu (this will implicitly run `release.bat`).

  Note that the Vortex OpenSplice Launcher tool also provides a `Console` option which sets up the Vortex OpenSplice environment.

Next:

Set the `OSPL_URI` variable to refer to the Vortex OpenSplice configuration that is required (see the section How to select the Architectural Mode).

## 7.2. Running Single Process and Shared Memory Modes

- With an `OSPL_URI` variable referring to a Single Process deployment, you just need to start the DDS application process. The `create_participant()` operation, which is the entry into the DDS Domain, will create the entire DDS infrastructure within the application process and the services will be started as threads.
- With an `OSPL_URI` variable referring to a Shared Memory deployment, it is necessary to start the DDS infrastructure before starting your DDS application processes. That is done by using the `ospl` utility tool:

    ospl start
    # now run the DDS application processes as normal
    ospl stop

### Navigation

- index
- next |
- previous |
- OpenSplice Evaluation and Benchmarking Guide »