How To Run OLGA Simulation Without Using GUI - 7798996 - 02
How To Run OLGA Simulation Without Using GUI - 7798996 - 02
Objective: To understand how to run OLGA simulation without using the GUI.
There are a few options that allows user to run OLGA simulation without using GUI including
OLGA Command Shell (opi.exe) is extended windows command prompt that allows you to run OLGA
input files type including .opi, .key, and .genkey without using the OLGA GUI.
1. Go to a folder where you keep OLGA input files (.opi and .genkey will be used in this example)
2. Press Shift and right click. Then, select “Open PowerShell Window here”. Then you will get the
right directory in command line for your OLGA case.
Note: If you understand basic commands, you also can use Command Prompt Window, then
write command to change the directory for your OLGA case. This will be shown in the next
option as example.
Schlumberger-Private
3. Write opi /? to see the guideline how to use each syntax.
4. To run OLGA simulation, write opi.exe .\<name>.genkey or opi.exe .\<name>.opi. Then, press
enter. The simulation will be running. For example opi.exe .\Example.opi or opi.exe
.\Example.genkey
When using .opi file, OLGA will generate .genkey file to use as input file for the simulation.
With this option, it will run a default of OLGA version in your laptop/PC.
Note: If you have more than one version in your laptop/PC, you can change default of OLGA version in
Environment Variables > User Variables > Path.
At the back end, this option will read OlgaExecutables path automatically as default path in your
laptop/PC, so you don’t need to write the entire folder path of the engine.
Schlumberger-Private
Another option is to use “OlgaExecutables” directly. Only .genkey can be used for this option.
These options enable you to run the simulation without GUI. These are useful when you would like to
apply OLGA with other external tool such as Python Application.
Schlumberger-Private