Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/examples' into examples
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-janssen committed Nov 19, 2024
2 parents 103ff06 + e209d8c commit 1481110
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion notebooks/1-local.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,9 @@
}
],
"source": [
"with Executor(backend=\"local\", resource_dict={\"cores\": 2}, block_allocation=True) as exe:\n",
"with Executor(\n",
" backend=\"local\", resource_dict={\"cores\": 2}, block_allocation=True\n",
") as exe:\n",
" fs = exe.submit(calc_mpi, 3)\n",
" print(fs.result())"
]
Expand Down

0 comments on commit 1481110

Please sign in to comment.