eon.communicator¶
Module Contents¶
Classes¶
Functions¶
Turn a string into a list of string and number chunks. “z23a” -> [“z”, 23, “a”] |
|
Sort the given list in the way that humans expect. |
|
Data¶
API¶
- eon.communicator.logger¶
‘getLogger(…)’
- eon.communicator.alphanum_key(s)[source]¶
Turn a string into a list of string and number chunks. “z23a” -> [“z”, 23, “a”]
- eon.communicator.get_communicator(config: eon.config.ConfigClass = EON_CONFIG)[source]¶
- exception eon.communicator.EONClientError[source]¶
Bases:
ExceptionAn eOn client finished without outputting results, it probably crashed.
Initialization
Initialize self. See help(type(self)) for accurate signature.
- class eon.communicator.Communicator(scratchpath, bundle_size=1, config: eon.config.ConfigClass = EON_CONFIG)[source]¶
Initialization
- abstractmethod cancel_state(statenumber)[source]¶
Returns the number of workunits that were canceled.
- class eon.communicator.MPI(scratchpath, bundle_size, config: eon.config.ConfigClass = EON_CONFIG)[source]¶
Bases:
eon.communicator.CommunicatorInitialization
- class eon.communicator.Local(scratchpath, client, ncpus, bundle_size, config: eon.config.ConfigClass = EON_CONFIG)[source]¶
Bases:
eon.communicator.CommunicatorInitialization
- class eon.communicator.Script(scratch_path, bundle_size, name_prefix, scripts_path, queued_jobs_cmd, cancel_job_cmd, submit_job_cmd, config: eon.config.ConfigClass = EON_CONFIG)[source]¶
Bases:
eon.communicator.CommunicatorInitialization