Overview
Teaching: 10 min
Exercises: 5 minQuestions
How can I be a responsible cluster user?
Objectives
Be a good person and be nice to other users.
You now have everything you need to run jobs, transfer files, use/install software, and monitor how many resources your jobs are using.
So here are a couple final words to live by:
Login Node Etiquette
Which of these commands would probably be okay to run on the login node? python physics_sim.py make create_directories.sh molecular_dynamics_2 tar -xzf R-3.3.0.tar.gz
Use a VCS system like git to keep track of your code. Though most systems have some form of backup/archival system, you shouldn’t rely on it for something as key as your research code. The best backup system is one you manage yourself.
Eventually, your data will need to leave the cluster. You should have a plan of where you’ll store all your results before you run jobs.
Compress files before transferring to save file transfer times with large datasets.
The less resources you ask for, the faster your jobs will find a slot in which to run. Lots of small jobs generally beat a couple big jobs.
You can generally install software yourself, but if you want a shared installation of some kind, it might be a good idea to message an administrator.
Always use the default compilers if possible. Newer compilers are great, but older stuff generally has less compatibility issues.
Key Points
Don’t run stuff on the login node.
Again, don’t run stuff on the login node.
Don’t be a bad person and run stuff on the login node.