The NextGen cluster |
andy@macomp001:~ $ ssh-keygen Generating public/private rsa key pair. Enter file in which to save the key (/home/ma/a/andy/.ssh/id_rsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /home/ma/a/andy/.ssh/id_rsa. Your public key has been saved in /home/ma/a/andy/.ssh/id_rsa.pub. The key fingerprint is: 80:d9:2c:2d:d7:4e:57:7f:a1:68:6a:d1:79:02:bc:18 andy@macomp001.ma.ic.ac.uk
andy@macomp001:~ $ ls -l .ssh total 64 -rw------- 1 andy mastaff 883 Nov 10 14:50 id_rsa -rw-r--r-- 1 andy mastaff 222 Nov 10 14:50 id_rsa.pub
andy@macomp001:~ $ cd .ssh andy@macomp001:~/.ssh $ cp id_rsa.pub authorized_keys
update-ssh-known-hosts
and wait for the script to complete. Now you are ready to start using the cluster.
andy@macomp001:~/pbs_tests $ cat queue.test4 #!/bin/bash #PBS -N R_job #PBS -m be #PBS -q standard cd ${HOME}/pbs_tests /usr/bin/R --vanilla < test.r > test_r.out
#PBS -N R_job
#PBS -m be
#PBS -q standard
qsub queue.test4
andy@macomp001:~/pbs_tests $ qstat Job id Name User Time Use S Queue ------------------------- ---------------- --------------- -------- - ----- 1.macomp001.mathscluster time-waster_job andy 0 Q standard 2.macomp001.mathscluster examplejob andy 0 Q standard 3.macomp001.mathscluster recursive-ls andy 0 Q standard
andy@macomp001:~/pbs_tests $ qstat Job id Name User Time Use S Queue ------------------------- ---------------- --------------- -------- - ----- 52.openpbs.mathscluster R_job andy 0 R standard
andy@macomp001:~/pbs_tests $ qstat Job id Name User Time Use S Queue ------------------------- ---------------- --------------- -------- - ----- 52.openpbs.mathscluster R_job andy 00:00:23 R standard
andy@macomp001:~/pbs_tests $ qstat -f Job Id: 51.ma-queue Job_Name = R_job Job_Owner = andy@macomp001 job_state = R queue = standard server = ma-queue Checkpoint = u ctime = Fri Feb 12 12:01:35 2010 Error_Path = macomp001.mathscluster.ma.ic.ac.uk:/home/ma/a/andy/pbs_tests/R_job.e51 exec_host = macomp04/0 Hold_Types = n Join_Path = n Keep_Files = n Mail_Points = be mtime = Fri Feb 12 12:01:36 2010 Output_Path = macomp001.mathscluster.ma.ic.ac.uk:/home/ma/a/andy/pbs_tests/R_job.o51 Priority = 0 qtime = Fri Feb 12 12:01:35 2010 Rerunable = True Resource_List.mem = 2000mb Resource_List.ncpus = 1 Resource_List.nodect = 1 Resource_List.nodes = 1 session_id = 1531 Variable_List = PBS_O_HOME=/home/ma/a/andy,PBS_O_LANG=en_GB.UTF-8, PBS_O_LOGNAME=andy, PBS_O_PATH=/usr/local_machine/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/local_machine/bin:/usr/local_machine/sbin:/usr/local/ apache/bin:/usr/local/mysql/bin,PBS_O_MAIL=/var/spool/mail/andy, PBS_O_SHELL=/bin/bash,PBS_O_HOST=macomp001.mathscluster.ma.ic.ac.uk PBS_SERVER=openpbs.mathscluster.ma.ic.ac.uk PBS_O_WORKDIR=/home/ma/a/andy/pbs_tests,PBS_O_QUEUE=standard etime = Fri Feb 12 12:01:35 2010 submit_args = queue.test4 start_time = Fri Feb 12 12:01:36 2010 start_count = 1 fault_tolerant = False
andy@macomp001:~/pbs_tests $ showq ACTIVE JOBS-------------------- JOBNAME USERNAME STATE PROC REMAINING STARTTIME 52 andy Running 1 00:00:00 Fri Feb 12 12:24:55 1 Active Job 1 of 40 Processors Active (2.50%) 1 of 5 Nodes Active (20.00%) IDLE JOBS---------------------- JOBNAME USERNAME STATE PROC WCLIMIT QUEUETIME 0 Idle Jobs BLOCKED JOBS---------------- JOBNAME USERNAME STATE PROC WCLIMIT QUEUETIME Total Jobs: 1 Active Jobs: 1 Idle Jobs: 0 Blocked Jobs: 0
andy@macomp001:~/pbs_tests $ qdel 52
andy@macomp001:~/pbs_tests $ canceljob 52 job '52' cancelled
Date: Fri, 12 Feb 2010 12:00:57 +0000 From: "root@openpbs.ma.ic.ac.uk"To: "Thomas, Andy D" Subject: PBS JOB 50.openpbs PBS Job Id: 50.ma-queue Job Name: R_job Exec host: macomp04.mathscluster.ma.ic.ac.uk/0 Begun execution
Date: Fri, 12 Feb 2010 12:01:08 +0000 From: "root@openpbs.ma.ic.ac.uk"To: "Thomas, Andy D" Subject: PBS JOB 50.ma-queue PBS Job Id: 50.openpbs Job Name: R_job Exec host: macomp04.mathscluster.ma.ic.ac.uk/0 Execution terminated Exit_status=0 resources_used.cput=00:00:09 resources_used.mem=0kb resources_used.vmem=0kb resources_used.walltime=00:00:10
Warning: No display specified. You will not be able to display graphics on the screen. < M A T L A B (R) > Copyright 1984-2009 The MathWorks, Inc. Version 7.8.0.347 (R2009a) 64-bit (glnxa64) February 12, 2009 To get started, type one of these: helpwin, helpdesk, or demo. For product information, visit www.mathworks.com.
Fatal error: you must specify '--save', '--no-save' or '--vanilla'
chk_tree printjob pbsdsh qhold qselect hostn printserverdb pbsnodes qmove qsig nc-config printtracking qalter qmsg qstart ncdump pbs_queue_attributes qchkpt qorder qstat ncgen pbs_resources qdel qrerun qstop nqs2pbs pbs_server qdisable qrls qsub pbs-config pbs_track qenable qrun tracejob
canceljob checkjob showbf showq showstart showstats
Research Computing Manager, Department of Mathematics
last updated: 5.9.2024