Computing Notes

webpush

To use webpush on a new machine,

  1. on the machine that generates the images, generate a key with no passphrase by doing ssh-keygen -t dsa -f ~/.ssh/imagepush

  2. then copy and edit ~/.ssh/imagepush.pub by pre-pending command="cd /home/jsoishi/public_html/research/images; tar xf -",no-port-forwarding,no-X11-forwarding,no-agent-forwarding

  3. push this to www.jsoishi.org: cat imagepush.pub | ssh -p 7822 jsoishi@www.jsoishi.org 'sh -c "cat - >>~/.ssh/authorized_keys2"'

File Transfer

Transferring files from TG sites is annoying. In order to check that a large file has successfully transferred doing

[remote machine]$ md5sum <file> > file.md5

and then after copying file.md5 and the file, do

[local machine]$ md5sum -c file.md5

and it will check the sums against one another. Fairly fast, even for 47 GB files.

Methods

gets about ~8 MB/sec by default. has a -rst option that i haven't yet tried.

globus-url-copy -vb gsiftp://gridftp.nics.teragrid.org/lustre/scratch/jsoishi/vc/pencil-code/joishi/LargeMRI/B100Re1600Pm4_64.tar B100Re1600Pm4_64.tar

from Pople, do

globus-url-copy -vb -p 2 -tcp-bs 4000000
gsiftp://gridftp.pople.psc.teragrid.org/bessemer/oishi/vc/pencil-code/joishi/LargeMRI/B100Re800Pm4_64.1.tar
B100Re800Pm4_64.1.tar

debugging

Screen

NASA Pleides notes

(this should really be moved somewhere else)

module load comp/intel/10.1.021_64
module load mpi/mpt.1.23.nas

Misc

some_program > logfile 2>&1

Entertainment

$ dmesg

$ sudo eject /dev/[device]


CategoryJsoNotes

JsoNotes/Computing (last edited 2010-04-12 18:18:12 by JsOishi)