Skip to content

Commit f61bccc

Browse files
committed
explicitly describe submitting the job (fix #7)
1 parent ce60234 commit f61bccc

File tree

1 file changed

+61
-2
lines changed

1 file changed

+61
-2
lines changed

_episodes/04-gnu-parallel.md

Lines changed: 61 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -358,8 +358,67 @@ The changes that we have made:
358358
`goostats` script from the Sotware Carpentry shell lesson
359359

360360
Set the reservation ID correctly (or remove it if you do not have a
361-
reservation) and submit this job, and you should see a collection of PDF
362-
files fill up your working directory.
361+
reservation) and submit this job.
362+
363+
~~~
364+
$ sbatch submit_fourier.sh
365+
$ squeue -u $USER
366+
~~~
367+
{: .language-bash}
368+
369+
~~~
370+
JOBID PARTITION NAME USER ST TIME NODES NODELIST(REASON)
371+
7166510 compute submit_f s.e.j.be R 0:00:14 1 scs0098
372+
~~~
373+
{: .output}
374+
375+
Checking the queue status, we can see that this job is running. Once the program has
376+
had a few seconds to run, you should see a collection of PDF files fill up your
377+
working directory.
378+
379+
~~~
380+
$ ls
381+
~~~
382+
{: .language-bash}
383+
384+
~~~
385+
einstein1_7.jpg noise_isolation_Hendrik_lorentz.jpg.pdf
386+
files_to_process.txt noise_isolation_Landau.jpg.pdf
387+
fourier_new.py noise_isolation_Louis_de_Broglie.jpg.pdf
388+
fourier_orig.py noise_isolation_Mariecurie.jpg.pdf
389+
fourier.out.7166510 noise_isolation_Michael_Faraday_001.jpg.pdf
390+
fourier_restricted_Abdus_Salam.jpg.pdf noise_isolation_Murray_Gell-Mann.png.pdf
391+
fourier_restricted_Bardeen.jpg.pdf noise_isolation_Oppenheimer.jpg.pdf
392+
fourier_restricted_Bethe.jpg.pdf noise_isolation.pdf
393+
fourier_restricted_Boltzmann.jpg.pdf noise_isolation_Schrödinger.jpg.pdf
394+
fourier_restricted_Dirac_4.jpg.pdf noise_isolation_Wigner.jpg.pdf
395+
fourier_restricted_Enrico_Fermi.jpg.pdf out.gv
396+
fourier_restricted_Feynman.jpg.pdf parallel_joblog
397+
fourier_restricted_Gauss.jpg.pdf phase_contrast_Abdus_Salam.jpg.pdf
398+
fourier_restricted_Heisenberg_10.jpg.pdf phase_contrast_Bardeen.jpg.pdf
399+
fourier_restricted_Hendrik_lorentz.jpg.pdf phase_contrast_Bethe.jpg.pdf
400+
fourier_restricted_Landau.jpg.pdf phase_contrast_Boltzmann.jpg.pdf
401+
fourier_restricted_Louis_de_Broglie.jpg.pdf phase_contrast_Dirac_4.jpg.pdf
402+
fourier_restricted_Mariecurie.jpg.pdf phase_contrast_Enrico_Fermi.jpg.pdf
403+
fourier_restricted_Michael_Faraday_001.jpg.pdf phase_contrast_Feynman.jpg.pdf
404+
fourier_restricted_Murray_Gell-Mann.png.pdf phase_contrast_Gauss.jpg.pdf
405+
fourier_restricted_Oppenheimer.jpg.pdf phase_contrast_Heisenberg_10.jpg.pdf
406+
fourier_restricted.pdf phase_contrast_Hendrik_lorentz.jpg.pdf
407+
fourier_restricted_Schrödinger.jpg.pdf phase_contrast_Landau.jpg.pdf
408+
fourier_restricted_Wigner.jpg.pdf phase_contrast_Louis_de_Broglie.jpg.pdf
409+
mc.dat phase_contrast_Mariecurie.jpg.pdf
410+
mc.py phase_contrast_Michael_Faraday_001.jpg.pdf
411+
noise_isolation_Abdus_Salam.jpg.pdf phase_contrast_Murray_Gell-Mann.png.pdf
412+
noise_isolation_Bardeen.jpg.pdf phase_contrast_Oppenheimer.jpg.pdf
413+
noise_isolation_Bethe.jpg.pdf phase_contrast.pdf
414+
noise_isolation_Boltzmann.jpg.pdf phase_contrast_Schrödinger.jpg.pdf
415+
noise_isolation_Dirac_4.jpg.pdf phase_contrast_Wigner.jpg.pdf
416+
noise_isolation_Enrico_Fermi.jpg.pdf __pycache__
417+
noise_isolation_Feynman.jpg.pdf solutions
418+
noise_isolation_Gauss.jpg.pdf submit_fourier.py
419+
noise_isolation_Heisenberg_10.jpg.pdf
420+
~~~
421+
{: .output}
363422

364423
> ## Getting more parallel
365424
>

0 commit comments

Comments
 (0)