-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Welcome to the PESTO wiki!
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.
Loading resources and saving results happens through a shared drive. The client computers will be connected to this shared drive by PESTO.
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 Installation.
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).
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 the .json file was created and the resource directory is prepared PESTO can be run with the following command:
python [PESTO directory]\PESTO-master\master.py [.json file directory]\<settingsfilename>.json
A complete description of how to run PESTO can be found here.
PESTO can be executed by "double-clicking" on PESTO.exe and the simulations can be started from a GUI. For more Information, see Section Use PESTO with GUI
Multiple possible errors might occur while running PESTO. We were trying to collect some/most of them and tried to indicate possible solutions.