Skip to content

Commit 7044201

Browse files
authored
Merge pull request #33 from calculquebec/ssh-login1
Plus d'instructions par rapport à login1
2 parents 4c20ffe + 5563e1f commit 7044201

6 files changed

Lines changed: 14 additions & 0 deletions

File tree

doc/en/slurm/scripts.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ See examples from the Alliance documentation:
2424
Exercise - Simple script
2525
------------------------
2626

27+
#. Log in to the virtual cluster with ``ssh login1``.
2728
#. Go to the exercise directory with
2829
``cd ~/cq-formation-cip201-main/lab/script``.
2930
#. In the ``simple.sh`` file, edit the ``#SBATCH`` options according to the

doc/en/task-types/parallel.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,8 @@ Exercise
153153
#. Run the program in the background with ``./pi &``.
154154
#. While ``pi`` runs, check its CPU usage with ``top -u $USER`` and ``top -u
155155
$USER -H``.
156+
#. If you are not already back on ``login1``, end your interactive job with
157+
``exit``.
156158

157159
.. note::
158160

@@ -322,6 +324,8 @@ Exercise
322324
#. Run the program in the background with ``mpirun ./pi &``.
323325
#. While ``pi`` runs, check its CPU usage with ``top -u $USER`` and ``top -u
324326
$USER -H``.
327+
#. If you are not already back on ``login1``, end your interactive job with
328+
``exit``.
325329

326330
.. note::
327331

doc/en/task-types/serial.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,8 @@ Exercise
163163

164164
**Instructions**
165165

166+
#. If you are not already on the login node ``login1``, log in with
167+
``ssh login1``.
166168
#. Go to the exercise directory with
167169
``cd ~/cq-formation-cip201-main/lab/fibonacci-serial``.
168170
#. Compile the ``fibo`` program with the ``make`` command.

doc/fr/slurm/scripts.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ Voir les exemples de la documentation de l'Alliance :
2525
Exercice en groupe
2626
------------------
2727

28+
#. Connectez-vous à la grappe virtuelle avec ``ssh login1``.
2829
#. Allez dans le répertoire de l’exercice avec
2930
``cd ~/cq-formation-cip201-main/lab/script``.
3031
#. Dans le fichier ``simple.sh``, éditez l'entête d'options

doc/fr/task-types/parallel.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,8 @@ Exercice
161161
#. Exécutez le programme en arrière-plan avec ``./pi &``.
162162
#. Pendant que ``pi`` s’exécute, observez sa consommation CPU avec ``top -u
163163
$USER`` et ``top -u $USER -H``.
164+
#. Si vous n’êtes pas déjà de retour sur ``login1``, terminez votre tâche
165+
interactive avec ``exit``.
164166

165167
.. note::
166168

@@ -339,6 +341,8 @@ Exercice
339341
#. Exécutez le programme en arrière-plan avec ``mpirun ./pi &``.
340342
#. Pendant que ``pi`` s’exécute, observez sa consommation CPU avec ``top -u
341343
$USER`` et ``top -u $USER -H``.
344+
#. Si vous n’êtes pas déjà de retour sur ``login1``, terminez votre tâche
345+
interactive avec ``exit``.
342346

343347
.. note::
344348

doc/fr/task-types/serial.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,8 @@ Exercice
173173

174174
**Instructions**
175175

176+
#. Si vous n’êtes pas déjà sur le nœud de connexion ``login1``, connectez-vous
177+
avec ``ssh login1``.
176178
#. Allez dans le répertoire de l’exercice avec
177179
``cd ~/cq-formation-cip201-main/lab/fibonacci-serial``.
178180
#. Compilez le programme ``fibo`` avec la commande ``make``.

0 commit comments

Comments
 (0)