File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ See examples from the Alliance documentation:
2424Exercise - 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
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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.
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ Voir les exemples de la documentation de l'Alliance :
2525Exercice 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
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 ``.
You can’t perform that action at this time.
0 commit comments