@@ -42,18 +42,26 @@ The resource dictionary parameter `resource_dict` can contain one or more of the
4242* ` threads_per_core ` (int): number of OpenMP threads to be used for each function call
4343* ` gpus_per_core ` (int): number of GPUs per worker - defaults to 0
4444* ` cwd ` (str/None): current working directory where the parallel python task is executed
45- * ` openmpi_oversubscribe ` (bool): adds the ` --oversubscribe ` command line flag (OpenMPI and SLURM only) - default False
45+ * ` cache_key ` (str): Rather than using the internal hashing of executorlib the user can provide an external ` cache_key `
46+ to identify tasks on the file system. The initial file name is going to be ` cache_key ` + ` _i.h5 ` and the final file
47+ name is going to be ` cache_key ` + ` _o.h5 ` .
48+ * ` num_nodes ` (int): number of compute nodes used for the evaluation of the Python function.
49+ * ` exclusive ` (bool): boolean flag to reserve exclusive access to selected compute nodes - do not allow other tasks to
50+ use the same compute node.
51+ * ` error_log_file ` (str): path to the error log file, primarily used to merge the log of multiple tasks in one file.
52+ * ` run_time_limit ` (int): the maximum time the execution of the submitted Python function is allowed to take in seconds.
53+ * ` priority ` (int): the queuing system priority assigned to a given Python function to influence the scheduling.
4654* ` slurm_cmd_args ` (list): Additional command line arguments for the srun call (SLURM only)
4755
4856For the special case of the [ HPC Job Executor] ( https://executorlib.readthedocs.io/en/latest/3-hpc-job.html )
4957the resource dictionary parameter ` resource_dict ` can also include additional parameters define in the submission script
5058of the [ Python simple queuing system adatper (pysqa)] ( https://pysqa.readthedocs.io ) these include but are not limited to:
51- * ` run_time_max ` (int): the maximum time the execution of the submitted Python function is allowed to take in seconds.
5259* ` memory_max ` (int): the maximum amount of memory the Python function is allowed to use in Gigabytes.
5360* ` partition ` (str): the partition of the queuing system the Python function is submitted to.
5461* ` queue ` (str): the name of the queue the Python function is submitted to.
5562
56- All parameters in the resource dictionary ` resource_dict ` are optional.
63+ All parameters in the resource dictionary ` resource_dict ` are optional. When ` pydantic ` is installed as optional
64+ dependency the ` resource_dict ` is validated using ` pydantic ` .
5765
5866## SSH Connection
5967While the [ Python simple queuing system adatper (pysqa)] ( https://pysqa.readthedocs.io ) provides the option to connect to
0 commit comments