Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
JiaweiZhuang committed Mar 13, 2018
1 parent f585085 commit 3bf56bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/source/chapter06_appendix/keep-running.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Shared clusters often have job schedulers to handle multiple users' job submissi
.. note::
Have multiple jobs? Why schedule them? Just launch multiple instances to run all of them at the same time. Running 5 instances for 1 hour costs exactly the same as running 1 instance for 5 hours, but the former approach saves you 80% of time without incurring any additional charges.

Thus, instead of using ``qsub`` (with `PBS <https://en.wikipedia.org/wiki/Portable_Batch_System>`_) or ``sbatch`` (with `Slurm <https://en.wikipedia.org/wiki/Slurm_Workload_Manager>`_), you would simply run the executable ``./geos.mp`` from the terminal. To keep the program running after logoff or internet interruption, use simple tools such as the `nohup command <https://en.wikipedia.org/wiki/Nohup>`_, `GNU screen <https://www.gnu.org/software/screen/>`_ or `tmux <https://github.com/tmux/tmux/wiki>`_. I personally like tmux as it is very easy to use and also allow highly advanced terminal management if needed. It is also quite useful for managing other time-consuming computations such as big data processing or training machine learning models, so worth learning.
Thus, instead of using ``qsub`` (with `PBS <https://en.wikipedia.org/wiki/Portable_Batch_System>`_) or ``sbatch`` (with `Slurm <https://en.wikipedia.org/wiki/Slurm_Workload_Manager>`_), you would simply run the executable ``./geos.mp`` from the terminal. To keep the program running after logoff or internet interruption, use simple tools such as the `nohup command <https://en.wikipedia.org/wiki/Nohup>`_, `GNU screen <https://www.gnu.org/software/screen/>`_ or `tmux <https://github.com/tmux/tmux/wiki>`_. I personally like tmux as it is very easy to use and also allows advanced terminal management if needed. It is also quite useful for managing other time-consuming computations such as big data processing or training machine learning models, so worth learning.

Use nohup command (not recommended)
-----------------------------------
Expand Down

0 comments on commit 3bf56bc

Please sign in to comment.