Skip to content

Commit

Permalink
Set flux_executor_nesting in notebook (#526)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
jan-janssen and pre-commit-ci[bot] authored Dec 18, 2024
1 parent c6a7988 commit b37acd6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion notebooks/3-hpc-allocation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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())"
]
Expand Down

0 comments on commit b37acd6

Please sign in to comment.