Skip to content

Commit 85c3391

Browse files
authored
Merge pull request #34 from calculquebec/gmx-results
Révision des instructions pour les résultats Gromax
2 parents 7044201 + fbd26f0 commit 85c3391

2 files changed

Lines changed: 14 additions & 6 deletions

File tree

doc/en/resources/cpu.rst

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -172,16 +172,20 @@ Exercise
172172
#. Go to the exercise directory with ``cd
173173
~/cq-formation-cip201-main/lab/gmx-scaling``.
174174
#. Prepare the input files with ``bash gmx-prepare.sh``.
175-
#. Edit the job script with ``nano gmx-job.sh``. Ask for 1, 2, 4, or 8 CPU cores
176-
with the ``--cpus-per-task`` option.
175+
#. Edit the job script with ``nano gmx-job.sh``. Ask for 1, 2, 4, or 8 CPU
176+
cores with the ``--cpus-per-task`` option.
177177
#. Submit the job.
178178
#. Once the job has completed, get the program’s performance with ``grep
179179
^Performance slurm-<jobid>.out``.
180+
181+
- Note the first of the two values obtained and enter it in
182+
``gmx-scaling.txt`` in the :math:`P` (ns/day) column on the row where
183+
:math:`n` corresponds to the number of CPU cores used.
184+
180185
#. Change the number of requested CPU cores and repeat the job. (Do not prepare
181186
the input files again.)
182-
#. Fill the table in ``gmx-scaling.txt``.
187+
#. Fill and analyze the rest of the table in ``gmx-scaling.txt``.
183188

184-
#. Note the measured performance in the :math:`P` (ns/day) column.
185189
#. Calculate speedup :math:`S` and efficiency :math:`E` (%) for 2, 4, and 8
186190
cores.
187191
#. How many CPU cores would you use for similar jobs?

doc/fr/resources/cpu.rst

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,11 +189,15 @@ Exercice
189189
#. Soumettez la tâche.
190190
#. Une fois la tâche terminée, obtenez la performance du programme avec ``grep
191191
^Performance slurm-<jobid>.out``.
192+
193+
- Notez la première des deux valeurs obtenues et inscrivez-la dans
194+
``gmx-scaling.txt`` dans la colonne :math:`P` (ns/day) sur la ligne où
195+
la valeur de :math:`n` correspond au nombre de cœurs CPU utilisés.
196+
192197
#. Changez le nombre de cœurs demandés et répétez la tâche. (Ne préparez pas à
193198
nouveau les fichiers d’entrée.)
194-
#. Remplissez le tableau dans ``gmx-scaling.txt``.
199+
#. Remplissez et analysez le reste du tableau dans ``gmx-scaling.txt``.
195200

196-
#. Rapportez les performances obtenues dans la colonne :math:`P` (ns/day).
197201
#. Calculez l’accélération :math:`S` et l’efficacité :math:`E` (%) pour 2, 4
198202
et 8 cœurs.
199203
#. Combien de cœurs CPU utiliseriez-vous pour des tâches similaires ?

0 commit comments

Comments
 (0)