-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
54 changed files
with
4,474 additions
and
1,144 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,36 @@ | ||
Quickstart | ||
------------- | ||
|
||
The CLI tool is called **e4s-cl**. It behaves as a supplementary launcher over regular MPI commands, but can also manage :ref:`profiles<profile>` containing information about a MPI library's dependencies. | ||
The CLI tool is called **e4s-cl**. It behaves as a supplementary launcher over \ | ||
regular MPI commands, but can also manage :ref:`profiles<profile>` containing \ | ||
information about a MPI library's dependencies. | ||
|
||
To begin using **e4s-cl**, the preferred method is to create a profile for the target library. This can be achieved by using the :ref:`init<init>` or :ref:`profile detect<profile_detect>` commands. The resulting profile can be inspected and modified using the :ref:`profile<profile>` sub-commands. | ||
To begin using **e4s-cl**, the preferred method is to create a profile for the \ | ||
target library. The preferred method to achieve this is by using the \ | ||
:ref:`init<init>` or :ref:`profile detect<profile_detect>` commands. | ||
The resulting profile can be inspected and modified using the \ | ||
:ref:`profile<profile>` sub-commands. | ||
|
||
.. highlight:: bash | ||
.. code:: | ||
$ e4s-cl init | ||
$ e4s-cl profile list | ||
== Profile Configurations (/home/user/.local/e4s_cl/user.json) ================= | ||
== Profile Configurations (/home/user/.local/e4s_cl/user.json) ========== | ||
+----------+-----------------------------+---------+-------+-----------+-------+ | ||
| Selected | Name | Backend | Image | Libraries | Files | | ||
+==========+=============================+=========+=======+===========+=======+ | ||
| * | default | N/A | N/A | 6 | 7 | | ||
+----------+-----------------------------+---------+-------+-----------+-------+ | ||
+----------+----------------------+---------+-------+-----------+-------+ | ||
| Selected | Name | Backend | Image | Libraries | Files | | ||
+==========+======================+=========+=======+===========+=======+ | ||
| * | default | N/A | N/A | 6 | 7 | | ||
+----------+----------------------+---------+-------+-----------+-------+ | ||
$ e4s-cl profile edit --backend singularity --image ./image.sif | ||
Once a profile has been created, it can be used to launch an MPI command ! The :ref:`profile select<profile_select>` command marks a profile as the default. Using the :ref:`launch<launch>` command, the program passed as an argument will be launched using the desired library. | ||
Once a profile has been created, it can be used to launch an MPI command ! | ||
The :ref:`profile select<profile_select>` command marks a profile as the \ | ||
default. Using the :ref:`launch<launch>` command, the program passed as an \ | ||
argument will be launched using the desired library. | ||
|
||
.. code:: | ||
$ e4s-cl launch mpirun -np 4 -hosts node1,node2 ./executable | ||
e4s-cl launch mpirun -np 4 -hosts node1,node2 ./executable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
**diff** - Compare profiles | ||
================================= | ||
|
||
Usage | ||
------ | ||
|
||
.. code:: | ||
e4s-cl profile diff <NAME> <OTHER NAME> | ||
Description | ||
------------- | ||
|
||
.. automodule:: e4s_cl.cli.commands.profile.diff |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.