Execution Functions¶
The core execution functions for running on a node.
These are all called from iceprod.core.i3exec
.
The fundamental design of the core is to run a task composed of trays and modules. The general heirarchy looks like:
task
|
|- tray1
|
|- module1
|
|- module2
|
|- tray2
|
|- module3
|
|- module4
Parameters can be defined at every level, and each level is treated as a scope (such that inner scopes inherit from outer scopes). This is accomplished via an internal evironment for each scope.
Environment Functions¶
The internal IceProd environment, designed to be nested and clean up after itself.
- class iceprod.core.exe.Config(config=None, parser=None, rpc=None, logger=None)[source]¶
Contain the configuration and related methods
- parseValue(value, env={})[source]¶
Parse a value from the available env and global config.
Uses the
Meta Parser
on any string value. Pass-through for any other object.- Parameters:
value – The value to parse
env – The environment to use, optional
- Returns:
The parsed value
Run Functions¶
The main execution flow goes through here.
Object Setup¶
Download/upload and setup the main IceProd objects (Resources, Data, Classes).
- async iceprod.core.exe.downloadResource(env, resource, remote_base=None, local_base=None, checksum=None, logger=None)[source]¶