Difference between revisions of "Janus Cheat Sheet"
From PHASTA Wiki
Line 1: | Line 1: | ||
== Login == | == Login == | ||
ssh your_identikey_user@login.rc.colorado.edu | ssh your_identikey_user@login.rc.colorado.edu | ||
− | pin | + | [pin][token] |
== Running Jobs == | == Running Jobs == |
Revision as of 15:12, 29 November 2011
Login
ssh your_identikey_user@login.rc.colorado.edu [pin][token]
Running Jobs
Environment Setup:
use Torque use Moab use Git use .openmpi-1.4.3_intel-12.0_ib use Graphviz use Subversion
available nodes/cores:
pbsnodes -a
Jobscript Template:
#!/bin/bash #PBS -N name_of_job #PBS -l walltime=0:20:00 #PBS -l nodes=1:ppn=12 . /curc/tools/utils/dkinit reuse .openmpi-1.4.3_intel-12.0_ib mpirun /path/to/executable
Submission:
qsub -q janus-debug jobscript.sh
Status
checkjob job_id showq -u $USER
Cancel:
qdel job_id
Large Memory, Interactive:
qsub -I -l nodes=1:ppn=32,walltime=1:00:00 -q himem
GridFTP
export MYPROXY_SERVER_DN=$MYPROXY_SERVER_DN"/C=US/O=Globus Consortium/OU=Globus Connect Service/CN=55c7f552-e235-11e0-bc85-12313804ec2a" myproxy-logon -T -b -s gridftp-00.rc.colorado.edu -v -l bema1643
globus-url-copy -v -r -cd -rst -rst-retries 0 -fast -vb -p 64 -stripe -tcp-bs 4M -g2 -ss '/C=US/O=Globus Consortium/OU=Globus Connect Service/CN=55c7f552-e235-11e0-bc85-12313804ec2a' gsiftp://gridftp-00.rc.colorado.edu/lustre/janus_scratch/bema1643/test.img sshftp://matthb2@jumpgate-phasta.colorado.edu/scratch/matthb2/foo/
globus-url-copy -v -r -cd -rst -rst-retries 0 -fast -vb -p 64 -stripe -tcp-bs 4M -g2 -ds '/C=US/O=Globus Consortium/OU=Globus Connect Service/CN=55c7f552-e235-11e0-bc85-12313804ec2a' sshftp://matthb2@jumpgate-phasta.colorado.edu/scratch/mrasquin/416M/ gsiftp://gridftp-00.rc.colorado.edu/lustre/janus_scratch/bema1643/
(note: -ss to specify that the source server has a non-standard DN, -ds for the destination)