Skip to content
benpesen edited this page Sep 26, 2017 · 47 revisions

Welcome to the PESTO wiki!

About

PESTO - Parallel Execution Simulation Tool - was developed at AIT-IES with the purpose of executing simulations in parallel distributed on multiple computers coordinated through one main computer (in the following refered to as master).

PESTO was written in Python 3 for Windows and uses PsExec (and PsKill) from PsTools

PsTools has to be ran by the Administrator account, not only an user with administrator rights but the actual Administrator account. The Administrator account must therefore be activated and access to it is a main requirement to run PESTO.

Installation

Installing PESTO on your machine involves the following steps:

  • Python 3 must be installed and added to the Windows PATH
  • PsExec must be installed
  • the Administrator account must be activated
  • all computers must have the same Administrator password
  • changing Windows Firewall settings
  • PESTO must be copied to the computers
  • a shared drive has to be prepared

A complete description of these steps can be found in Section link.

Example

After succesfully following these steps it is highly recommended to test your installation of PESTO with a simple example as described in Section example. This example executes a batch file on the clients that emulates a simulation run (including the output of files).

Running PESTO

After PESTO was installed on all computers and tested with the above example, there are just few more steps to run it:

  • create a resources directory with all the resources needed to run your tasks
  • prepare the list of tasks that have to be run in parallel
  • write all parameter settings and tasks to a .json file which forms the single input for PESTO:
    • clients
    • working directory
    • resources directory
    • results directory
    • shared drive
    • adminpassword
    • tasks
    • system variables (optional)
    • windows users (optional)
    • port (optional)
    • pesto-client_path
    • loglevel (optional)
    • user (optional)

After .json file was created and all resources were prepared, you can run PESTO:

python ..\master.py ..\<settingsfilename>.json

A complete description can be found here.

Troubleshooting

There are several possible errors while running PESTO. We were trying to collect some/most of them with possible solutions.

Clone this wiki locally