Skip to content

Commit

Permalink
examples: remove reference to flux mini
Browse files Browse the repository at this point in the history
Signed-off-by: vsoch <[email protected]>
  • Loading branch information
vsoch committed Feb 26, 2023
1 parent 73f715b commit f62d205
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
Binary file modified auto_examples/auto_examples_jupyter.zip
Binary file not shown.
Binary file modified auto_examples/auto_examples_python.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion auto_examples/example_job_submit_api.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"This is a new jobspec, or a recipe for a flux job. You'll notice we are providing a command\ndirectly, along with tasks, nodes, and cores per task. You could also provide a script here.\nIf we were doing this on the command line, it would be equivalent to what is generated by:\nflux mini submit --ntasks=4 --nodes=2 --cores-per-task=2 sleep 10\n\n"
"This is a new jobspec, or a recipe for a flux job. You'll notice we are providing a command\ndirectly, along with tasks, nodes, and cores per task. You could also provide a script here.\nIf we were doing this on the command line, it would be equivalent to what is generated by:\nflux submit --ntasks=4 --nodes=2 --cores-per-task=2 sleep 10\n\n"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion auto_examples/example_job_submit_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
# This is a new jobspec, or a recipe for a flux job. You'll notice we are providing a command
# directly, along with tasks, nodes, and cores per task. You could also provide a script here.
# If we were doing this on the command line, it would be equivalent to what is generated by:
# flux mini submit --ntasks=4 --nodes=2 --cores-per-task=2 sleep 10
# flux submit --ntasks=4 --nodes=2 --cores-per-task=2 sleep 10
jobspec = JobspecV1.from_command(
command=["sleep", "10"], num_tasks=4, num_nodes=2, cores_per_task=2
)
Expand Down
2 changes: 1 addition & 1 deletion auto_examples/example_job_submit_api.py.md5
Original file line number Diff line number Diff line change
@@ -1 +1 @@
42d8779e36830e8a9638cc47f8657259
507de4b916c5a6b8699199546413f614
8 changes: 4 additions & 4 deletions auto_examples/example_job_submit_api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ connect. If you are testing out on your own, you might need to do flux start --t
This is a new jobspec, or a recipe for a flux job. You'll notice we are providing a command
directly, along with tasks, nodes, and cores per task. You could also provide a script here.
If we were doing this on the command line, it would be equivalent to what is generated by:
flux mini submit --ntasks=4 --nodes=2 --cores-per-task=2 sleep 10
flux submit --ntasks=4 --nodes=2 --cores-per-task=2 sleep 10

.. GENERATED FROM PYTHON SOURCE LINES 26-30
Expand Down Expand Up @@ -135,7 +135,7 @@ Let's submit the job! We will get the job id.

.. code-block:: none
ƒ2a3ptoH
ƒ2G8ZaFZ
Expand All @@ -158,15 +158,15 @@ You can continue submitting jobs to your same handle, even the same job.

.. code-block:: none
ƒ2afQbZZ
ƒ2GsZDRZ
.. rst-class:: sphx-glr-timing

**Total running time of the script:** ( 0 minutes 0.137 seconds)
**Total running time of the script:** ( 0 minutes 0.232 seconds)


.. _sphx_glr_download_auto_examples_example_job_submit_api.py:
Expand Down
Binary file modified auto_examples/example_job_submit_api_codeobj.pickle
Binary file not shown.
4 changes: 2 additions & 2 deletions auto_examples/sg_execution_times.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

Computation times
=================
**00:00.137** total execution time for **auto_examples** files:
**00:00.232** total execution time for **auto_examples** files:

+-----------------------------------------------------------------------------------------+-----------+--------+
| :ref:`sphx_glr_auto_examples_example_job_submit_api.py` (``example_job_submit_api.py``) | 00:00.137 | 0.0 MB |
| :ref:`sphx_glr_auto_examples_example_job_submit_api.py` (``example_job_submit_api.py``) | 00:00.232 | 0.0 MB |
+-----------------------------------------------------------------------------------------+-----------+--------+
2 changes: 1 addition & 1 deletion examples/example_job_submit_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
# This is a new jobspec, or a recipe for a flux job. You'll notice we are providing a command
# directly, along with tasks, nodes, and cores per task. You could also provide a script here.
# If we were doing this on the command line, it would be equivalent to what is generated by:
# flux mini submit --ntasks=4 --nodes=2 --cores-per-task=2 sleep 10
# flux submit --ntasks=4 --nodes=2 --cores-per-task=2 sleep 10
jobspec = JobspecV1.from_command(
command=["sleep", "10"], num_tasks=4, num_nodes=2, cores_per_task=2
)
Expand Down

0 comments on commit f62d205

Please sign in to comment.