Chapter 2

Remote actions

Here, you will learn how to interact with remote computers, transfer files and send jobs to a cluster.

connection
password
keys
job1
job2
Local computer
credentials?
semi-secure
secure
Server-login node
compute node 1
compute node 2

How you jobs get schedule:

  • According to the requested resources/ available resources
  • According your Fairshare score:
    • number of jobs/resources requested in the past
    • precision of the resources requested vs needed

Summary

  • transfer
    • sshfs to mount remote folders
    • rsync to transfer files
  • cluster
    • srun for interactive or on the spot Jobs
    • sbatch for automatize Jobs
    • -c to aks for number of cores
    • --mem to ask for memory in Mb (2000 is 2GB)
    • --time=d-hh:mm:00 to define limit duration