Class AMSStageJob¶
Defined in File ams_jobs.py
Inheritance Relationships¶
Base Type¶
public ams_jobs.AMSJob(Class AMSJob)
Derived Types¶
public ams_jobs.AMSFSStageJob(Class AMSFSStageJob)public ams_jobs.AMSNetworkStageJob(Class AMSNetworkStageJob)
Class Documentation¶
- ams_jobs.AMSStageJob : public ams_jobs.AMSJob
A Job description for stating data from the application to the database. This class is internal and should be either inheritted by ``AMSFSTempStageJob`` or ``AMSNetworkStageJob``
Subclassed by ams_jobs.AMSFSStageJob, ams_jobs.AMSNetworkStageJob
Public Functions
- __init__(self, Union[Dict[str, Union[str, int]], AMSJobResources] resources, str dest, str url, str db_type="dhdf5", str policy="process", Optional[str] prune_module_path=None, Optional[str] prune_class=None, Optional[Mapping[str, str]] environ=None, Optional[str] stdout=None, Optional[str] stderr=None, Optional[str] profile_monitoring=None, List[str] cli_args=[], Mapping[str, str] cli_kwargs={})¶
Attaches a callable that will be called when the future finishes. :param name: An arbitary name for every job. This can be an arbitary string. :param executable: A string pointing to the executable to be executed :param environ: The environment to be used when scheduling the job. :param resources: The resources dedicated to this job. :param stdout File to redirect the stdout. :param stderr File to redirect the stderr. :param ams_log: A boolean value to enable the logging of AMS printouts :param is_mpi: Whether the job is an mpi job. :param cli_args: positional arguments of the cli command :param cli_kwargs: key-word arguments of the cli command :return: ``self``