This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
quick:loadshedding [2022/07/15 12:04] wikiadmin |
quick:loadshedding [2022/07/15 13:31] (current) wikiadmin |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ======Electrical Power and Load Shedding====== | ======Electrical Power and Load Shedding====== | ||
| - | Unfortunately, | + | Unfortunately, |
| - | While the CHPC has a 1000 kVA generator this is not sufficient to power the entire cluster during blackouts and only 10 of the compute racks will be available. | + | While the CHPC has a 1000 kVA generator, this is not sufficient to power the entire cluster during blackouts and only 10 of the compute racks will be available. |
| **Please plan accordingly.** | **Please plan accordingly.** | ||
| Line 11: | Line 11: | ||
| There are steps you can take to make more effective use of the cluster when it is operating at reduced capacity. Many of these are also useful outside of load-shedding events as well. | There are steps you can take to make more effective use of the cluster when it is operating at reduced capacity. Many of these are also useful outside of load-shedding events as well. | ||
| - | **The following actions will allow your job to start running sooner and remain queued for a shorter time:** | + | **The following actions will help your job to start running sooner and remain queued for a shorter time:** |
| - | ====1. | + | ====1. |
| - | Please plan your work so that only the needed jobs are run. Making your workflow more efficient will help you make more effective use of the cluster. | + | Please plan your work so that only the most urgently |
| ====2. Choose as short a walltime as appropriate.==== | ====2. Choose as short a walltime as appropriate.==== | ||
| - | Select the walltime such that your job will have passed and written checkpoint files, so that you can then submit subsequent jobs to continue your calculation. It will help if you increase the frequency of checkpoint file outputs when possible. You can also choose the walltimes according to your working hours and schedule. | + | Select the walltime such that your job will have passed and written checkpoint files, so that you can then submit subsequent jobs to continue your calculation. It will help if you increase the frequency of checkpoint file outputs when possible. You can also choose the walltimes according to your working hours and schedule. **Please** put extra effort into estimating walltimes. |
| ====3. Select fewer nodes for your job.==== | ====3. Select fewer nodes for your job.==== | ||
| Line 37: | Line 37: | ||
| When there are a surplus of nodes on the cluster, one might choose to use 6 nodes (8 nodes would be a very poor choice as it's inefficient and wasteful). During load-shedding when the cluster is oversubscribed, | When there are a surplus of nodes on the cluster, one might choose to use 6 nodes (8 nodes would be a very poor choice as it's inefficient and wasteful). During load-shedding when the cluster is oversubscribed, | ||
| - | ====4. | + | ====4. |
| - | It will help if you increase the frequency of checkpoint file outputs when possible, to submit shorter jobs. | + | Breaking a very long running job into shorter job runs using checkpoints will help with queuing times. If you already use checkpoints, |
| - | ====5. Testing of a new type of job/ | + | ====5. Testing of a new type of job/ |
| + | |||
| + | When testing a new job script, either use an [[quick: | ||
| + | |||
| + | ====6. Check how well your job is running. ==== | ||
| + | Always check to see if your job is working correctly: | ||
| + | - Is it producing the expected output at the expected rate? | ||
| + | - Are you fully using all the compute cores that you requested? | ||
| + | |||
| + | You can ssh into your assigned nodes once your job has started running and monitor activity with '' | ||
| + | |||
| + | So to determine which node number/s your job is using: | ||
| + | qstat -u yourusername -n | ||
| + | |||
| + | Then ssh into this node/s, for example | ||
| + | ssh cnode0123 | ||
| + | htop | ||
| - | When testing a new job script, either use an interactive job, on a single node, or a very very short job (maybe 15 mins). This way you will know your job will work, and then you can submit your actual longer job thereafter. You can thus avoid waiting hours or even days to find your job failed, due to perhaps a small error in your input file. | ||