You can use the head node to develop, compile and test a sample of your job before submitting to the queue. Users cannot run computationally intensive jobs on the head nodes. If such jobs are running on the head node, they will killed without notice.
All jobs have to be submitted on the head node via Slurm scheduler which will schedule your jobs to run on the compute nodes.