... | ... | @@ -976,6 +976,41 @@ Don't forget to enable X11 forwarding. |
|
|
| Cluster status | qhost -q | sinfo |
|
|
|
| GUI | qmon | sview |
|
|
|
|
|
|
### Environmental
|
|
|
|
|
|
| Environmental | SGE | SLURM |
|
|
|
| --- | --- | --- |
|
|
|
| Job ID | $JOB_ID | $SLURM_JOB_ID |
|
|
|
| Submit directory | $SGE_O_WORKDIR | $SLURM_SUBMIT_DIR |
|
|
|
| Submit host | $SGE_O_HOST | $SLURM_SUBMIT_HOST |
|
|
|
| Node list | $PE_HOSTFILE | $SLURM_NODELIST |
|
|
|
| Job Array Index | $SGE_TASK_ID | $SLURM_ARRAY_TASK_ID |
|
|
|
| Number of CPUs | $NSLOTS | $SLURM_NPROCS |
|
|
|
|
|
|
More:
|
|
|
|
|
|
| Slurm | Comment |
|
|
|
| --- | --- |
|
|
|
| $SLURM_CPUS_ON_NODE | processors available to the job on this node |
|
|
|
| $SLURM_LAUNCH_NODE_IPADDR | IP address of node where job launched |
|
|
|
| $SLURM_NNODES | total number of nodes |
|
|
|
| $SLURM_NODEID | relative node ID of current node |
|
|
|
| $SLURM_NTASKS | total number of processes in current job |
|
|
|
| $SLURM_PROCID | MPI rank (or relative process ID) of the current process |
|
|
|
| $SLURM_TASK_PID | process ID of task started |
|
|
|
| $SLURM_TASKS_PER_NODE | number of task to be run on each node. |
|
|
|
| $CUDA_VISIBLE_DEVICES | which GPUs are available for use |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
... | ... | |