File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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?
Original file line number Diff line number Diff 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 ?
You can’t perform that action at this time.
0 commit comments