Useful Commands
1. Functionalities
1.1. Ask for a computing node
sdev
sh_dev -p serc
1.2. Check the queue of your jobs
squeue -u bastudil
watch -n 2 squeue -u bastudil
squeue -p serc
squeue -p cee
sacctmgr --acount=bastudil
top
1.3. Cancel your jobs
scancel -u bastudil
1.4. Check the partitions you can use
sh_part
1.5. Check your team usage
squeue -A bsimpson -o "%.18i %.9P %.8j %.8u %.2t %.C %.L"
sacctmgr -show qos format=Name,MaxTRESPerUser,MaxSubmitJobsPerUser,MaxJobsPerUser,MaxTresPerAccount, MaxSubmitJobsPerAccount,MaxJobsPerAccount,MaxWal
1.6. Correct your .sh file.
Sometimes working in Windows and Linux will have formating issues.
# sudo apt install dos2unix # On Debian/Ubuntu-based systems
# sudo yum install dos2unix # On Red Hat-based systems
dos2unix <filename>
2. Other tips
2.1. Other modules for Sherlock
module load slurm
module load anaconda