executorlib.standalone.inputcheck#
Functions
Check if command_line_argument_lst is not empty and raise a ValueError if it is. |
|
|
Check if executor is not None and raise a ValueError if it is. |
|
Check if file exists and raise a ValueError if it does not or file_name is None. |
|
Check if flux_log_files is True and raise a ValueError if it is. |
|
Check if gpus_per_worker is not 0 and raise a TypeError if it is. |
|
Check that hostname_localhost is not set when using a pysqa-based backend. |
|
Check if block_allocation is False and init_function is not None, and raise a ValueError if it is. |
|
Check if log_obj_size is True and raise a ValueError if it is. |
|
Check that neither max_workers nor max_cores is set when using a pysqa-based backend. |
|
Check if nested_flux_executor is True and raise a ValueError if it is. |
|
Check if oversubscribe is True and raise a ValueError if it is. |
Check if plot_dependency_graph is True and raise a ValueError if it is. |
|
|
Check if pmi is valid for the selected backend and raise a ValueError if it is not. |
|
Check that pmi_mode is not set on a local workstation without SLURM or flux. |
Check if pysqa_config_directory is None and raise a ValueError if it is not. |
|
|
Check if refresh_rate is not 0.01 and raise a ValueError if it is. |
|
Check if the function has a parameter named 'resource_dict' and raise a ValueError if it does. |
|
Check if resource_dict is not empty and raise a ValueError if it is. |
|
Check that restart_limit is only used together with block_allocation. |
|
Check if wait_on_shutdown is False and raise a ValueError if it is. |
|
Validate the number of cores and return the number of workers to use. |