Using ACS Cluster

De la WikiLabs
Jump to navigationJump to search

Steps:

  1. copy files on the cluster (scp -r <path to local folder> <moodle id>@fep.grid.pub.ro:~)
  2. log in with moodle id (ssh <moodle id>@fep.grid.pub.ro)
  3. log in gpu queue (qlogin -q ibm-dp.q)
  4. module load 1 (module load libraries/cuda)
  5. module load 2 (module load utilities/opencl)
  6. compile opencl project (make)
  7. get back to fep (exit)
  8. submit job on gpgpu queue for execution (qsub -q ibm-dp.q -b y <path to executable>)
  9. wait for the job to finish (qstat -j <job id>)
  10. check the files made in local directory (<executable name>.o/e<job id>)

For more info see:

[Laboratory of ASC from ACS faculty]: http://cs.curs.pub.ro/wiki/asc/asc:lab7:index

[Cluster cheat sheet]: http://cs.curs.pub.ro/wiki/asc/_media/asc:resurse:cluster-cheat-sheet.pdf