From b37acd628accc09b820fe210fe3a9f62de9f84a9 Mon Sep 17 00:00:00 2001 From: Jan Janssen Date: Wed, 18 Dec 2024 09:57:05 -0700 Subject: [PATCH] Set flux_executor_nesting in notebook (#526) * Set flux_executor_nesting in notebook * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- notebooks/3-hpc-allocation.ipynb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/notebooks/3-hpc-allocation.ipynb b/notebooks/3-hpc-allocation.ipynb index 9f33b53b..1d4ef3cf 100644 --- a/notebooks/3-hpc-allocation.ipynb +++ b/notebooks/3-hpc-allocation.ipynb @@ -322,7 +322,9 @@ } ], "source": [ - "with Executor(backend=\"flux_allocation\", flux_executor_pmi_mode=\"pmix\") as exe:\n", + "with Executor(\n", + " backend=\"flux_allocation\", flux_executor_pmi_mode=\"pmix\", flux_executor_nesting=True\n", + ") as exe:\n", " fs = exe.submit(calc_nested)\n", " print(fs.result())" ]