From 8ebb63cd7c141f72e7b369e62c8c80a9f9b57049 Mon Sep 17 00:00:00 2001 From: Stephen Hudson Date: Wed, 27 Sep 2023 14:36:21 -0500 Subject: [PATCH 1/3] Update CI badge Target CI run on develop - for PR into main --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 6ea75d6bb5..4de2b463ef 100644 --- a/README.rst +++ b/README.rst @@ -15,7 +15,7 @@ | -.. image:: https://github.com/Libensemble/libensemble/workflows/libEnsemble-CI/badge.svg?branch=main +.. image:: https://github.com/Libensemble/libensemble/actions/workflows/ci.yml/badge.svg?branch=develop :target: https://github.com/Libensemble/libensemble/actions .. image:: https://coveralls.io/repos/github/Libensemble/libensemble/badge.svg?branch=main From f013911965b9bba5406461e7449d84aabfc6a51d Mon Sep 17 00:00:00 2001 From: Stephen Hudson Date: Wed, 27 Sep 2023 14:57:36 -0500 Subject: [PATCH 2/3] Update CI badge in welcome.rst --- docs/welcome.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/welcome.rst b/docs/welcome.rst index e85aac87f0..0fd4c29618 100644 --- a/docs/welcome.rst +++ b/docs/welcome.rst @@ -14,7 +14,7 @@ | - .. image:: https://github.com/Libensemble/libensemble/workflows/libEnsemble-CI/badge.svg?branch=main + .. image:: https://github.com/Libensemble/libensemble/actions/workflows/ci.yml/badge.svg?branch=develop :target: https://github.com/Libensemble/libensemble/actions .. image:: https://coveralls.io/repos/github/Libensemble/libensemble/badge.svg?branch=main From e89a434aeae3e906ce310bb58d6ce84898c6bb4d Mon Sep 17 00:00:00 2001 From: Stephen Hudson Date: Thu, 28 Sep 2023 15:43:24 -0500 Subject: [PATCH 3/3] Fix line number refs in forces tutorial --- docs/tutorials/executor_forces_tutorial.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/tutorials/executor_forces_tutorial.rst b/docs/tutorials/executor_forces_tutorial.rst index ce325027a6..500d572ed4 100644 --- a/docs/tutorials/executor_forces_tutorial.rst +++ b/docs/tutorials/executor_forces_tutorial.rst @@ -44,7 +44,7 @@ generation functions and call libEnsemble. Create a Python file called .. code-block:: python :linenos: - :emphasize-lines: 17,25, 28 + :emphasize-lines: 16,24,27 #!/usr/bin/env python import os @@ -74,13 +74,13 @@ generation functions and call libEnsemble. Create a Python file called # Parse number of workers, comms type, etc. from arguments ensemble = Ensemble(parse_args=True, executor=exctr) -On line 15, we instantiate our :doc:`MPI Executor<../executor/mpi_executor>`. +On line 16, we instantiate our :doc:`MPI Executor<../executor/mpi_executor>`. Registering an application is as easy as providing the full file-path and giving it a memorable name. This Executor will later be used within our simulation function to launch the registered app. -On line 22, we initialize the ensemble. The :meth:`parse_args` +On line 27, we initialize the ensemble. The :meth:`parse_args` parameter is used to read `comms` and `nworkers` from the command line. This sets the respective `libE_specs` options.