diff --git a/notebooks/examples.ipynb b/notebooks/examples.ipynb index 7334e486..1546dcb8 100644 --- a/notebooks/examples.ipynb +++ b/notebooks/examples.ipynb @@ -205,7 +205,7 @@ " with Executor(\n", " # Resource definition on the executor level\n", " max_workers=2, # total number of cores available to the Executor\n", - " backend=\"flux\", # optional in case the backend is not recognized\n", + " backend=\"flux_allocation\", # optional in case the backend is not recognized\n", " # Optional resource definition\n", " resource_dict={\n", " \"cores\": 1,\n", @@ -627,7 +627,7 @@ " return parameter_a + parameter_b\n", "\n", "\n", - "with Executor(max_cores=2, backend=\"flux\") as exe:\n", + "with Executor(max_cores=2, backend=\"flux_allocation\") as exe:\n", " future_1 = exe.submit(\n", " calc_function,\n", " 1,\n", @@ -672,7 +672,7 @@ "```\n", "from executorlib import Executor\n", "\n", - "with Executor(max_cores=1, backend=\"slurm\") as exe:\n", + "with Executor(max_cores=1, backend=\"slurm_allocation\") as exe:\n", " future = exe.submit(sum, [1,1])\n", " print(future.result())\n", "```"