Skip to content

Use PySIT

LaPoule edited this page Nov 13, 2020 · 3 revisions

Use PySIT

First activate the environment you created at installation step:

conda activate pysitenv

You can find several example into the test directory. The easiest way to execute them is to copy one of these example and to run it with:

python <name.py>

For the parallel examples

mpirun -n <nb_process> <name>.py

Visualization

A visualization script can be used to generate plots of the results of the layer-sd-ref.py example. Simply run the script with the directory of the results as argument:

python visualize.py <res_dir>

It will create a folder into <res_dir> filled with the generated plots.

Clone this wiki locally