shapepipe.run

shapepipe.run

SHAPEPIPE RUN.

This module sets up a given run of the shape measurement pipeline.

Author

Samuel Farrens <samuel.farrens@cea.fr>

class ShapePipe[source]

Bases: object

ShapePipe.

ShapePipe runner class.

set_up()[source]

Set Up.

Set up ShapePipe properties.

_set_run_name()[source]

Set Run Name.

Set the name of the current pipeline run.

_create_pipeline_log()[source]

Create Pipeline Log.

Create a general logging instance for the pipeline run.

close_pipeline_log()[source]

Close Pipeline Log.

Close general logging instance for the pipeline run.

Raises

RunTimeError – if error occurs during pipeline run

_get_module_depends(property)[source]

Get Module Dependencies.

List the Python packages and executables needed to run the modules.

Parameters

property (str) – Module property to be checked

Returns

List of python dependencies, list of system executables

Return type

tuple

_check_dependencies()[source]

Check Dependencies.

Check that all pipeline dependencies have been installed.

_check_module_versions()[source]

Check Module Version.

Check versions of the modules.

_check_system_setup()[source]

Check System Set Up.

Check the set up of the machine on which the pipeline is running.

_get_module_run_methods()[source]

Get Module Run Method.

Create a dictionary of modules with corresponding run methods.

_prep_run()[source]

Prepare Run.

Prepare to run the pipeline.

record_mode()[source]

Record Mode.

Log mode in which ShapePipe is running.

run_smp(pipe)[source]

Run SMP.

Run ShapePipe using SMP.

Parameters

pipe (ShapePipe) – ShapePipe instance

run_mpi(pipe, comm)[source]

Run MPI.

Run ShapePipe using MPI.

Parameters
  • pipe (ShapePipe) – ShapePipe instance

  • comm (MPI.COMM_WORLD) – MPI common world instance

run(*args)[source]

Run ShapePipe.

This function runs ShapePipe.