Diferență între revizuiri ale paginii „Using ACS Cluster”

De la WikiLabs
Jump to navigationJump to search
(Pagină nouă: 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 (q...)
 
Linia 1: Linia 1:
 
Steps:
 
Steps:
  
1: copy files on the cluster (scp -r <path to local folder> <moodle id>@fep.grid.pub.ro:~)
+
# 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)
+
# log in with moodle id (ssh <moodle id>@fep.grid.pub.ro)
3: log in gpu queue (qlogin -q ibm-dp.q)
+
# log in gpu queue (qlogin -q ibm-dp.q)
4: module load 1 (module load libraries/cuda)
+
# module load 1 (module load libraries/cuda)
5: module load 2 (module load utilities/opencl)
+
# module load 2 (module load utilities/opencl)
6: compile opencl project (make)
+
# compile opencl project (make)
7: get back to fep (exit)
+
# get back to fep (exit)
8: submit job on gpgpu queue for execution (qsub -q ibm-dp.q -b y <path to executable>)
+
# 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>)
+
# wait for the job to finish (qstat -j <job id>)
10: check the files made in local directory (<executable name>.o/e<job id>)
+
# check the files made in local directory (<executable name>.o/e<job id>)
  
 
For more info see:
 
For more info see:
 +
 
[ACS ASC Lab]: cs.curs.pub.ro/wiki/asc/asc:lab7:index
 
[ACS ASC Lab]: 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
 
[Cluster cheat sheet]: http://cs.curs.pub.ro/wiki/asc/_media/asc:resurse:cluster-cheat-sheet.pdf

Versiunea de la data 26 aprilie 2018 16:02

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:

[ACS ASC Lab]: 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