User Tools

Site Tools


cluster:managing_jobs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
cluster:managing_jobs [2021/05/03 02:57] abraslavcluster:managing_jobs [2024/11/11 20:30] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ======Managing Jobs====== ======Managing Jobs======
-=====Managing Jobs on the Cluster===== 
-The above commands work well when you have not logged out of the cluster while running the job.  Because of the cluster's [[Hardware_Configuration|setup]], there are many nodes that could be running your job.  When you log in to the cluster, you are automatically sent to a particular node //econ7// through //econ18// This might not be the same node that is running your job. To get to a particular nod use 
- <code>ssh econ7</code> 
  
-And then to see processes that are running under your username in this node: 
- <code>ps ux</code> 
- 
-======Renice-ing===== 
-You can change how many CPU cycles are given to your job by using the command <code>renice</code> Once you know the process id, you can use the command: 
- <code>renice -n <priority> -p <process id></code> 
-to change the [[nice]]ness of your process.  If you are running a computationally intensive job, please set your job to a high niceness level, so that you don't monopolize cluster resources :) 
 =====General Job Management===== =====General Job Management=====
  
-Once you have a job running, you might want to change it'priority (<code>renice</code>or stop it.  To check on the list of running jobs, use the command <code>htop</code>  +Once you have a job running, you might want to change its priority or stop it.  To check on the list of running jobs, use the command <code>htop</code>  
  
 You can also see all running jobs statically with You can also see all running jobs statically with
Line 26: Line 16:
 Alternatively, press 'q' to stop top.  Then, type use the <code>kill</code> command. Alternatively, press 'q' to stop top.  Then, type use the <code>kill</code> command.
  <code>kill <process id></code>  <code>kill <process id></code>
 +
 +======Renice-ing=====
 +You can change how many CPU cycles are given to your job by using the command <code>renice</code> Once you know the process id, you can use the command:
 + <code>renice -n <priority> -p <process id></code>
 +to change the niceness of your process.  If you are running a computationally intensive job, please set your job to a high niceness level, so that you don't monopolize cluster resources :)
  
cluster/managing_jobs.1620010652.txt.gz · Last modified: 2021/05/03 02:57 by abraslav