dd if=/dev/sdc1 conv=noerror,sync bs=64k | dd of=/dev/sdi1 bs=64k
9856+0 registros de entrada
9855+0 registros de salida
645857280 bytes (646 MB) copiados, 17,871 s, 36,1 MB/s
frente a
dd if=/dev/sdc1 of=/dev/sdi1
3801513+0 registros de entrada
3801513+0 registros de salida
1946374656 bytes (1,9 GB) copiados, 1055,21 s, 1,8 MB/s
Sunday, December 21, 2008
Wednesday, July 23, 2008
Quitar archivos sobrantes de SIESTA
rm $(find . -name "CHLOCAL.*" -or -name "KB.L*" -or -name "ORB.S*" -or -name "*.ion*" -or -name "*.POT.CONF" -or -name "VNA.*" -or -name "RED_VLOCAL.*" -or -name "INPUT_TMP.*" | head -2000)
Friday, June 06, 2008
PWSCF
$PW_COMMAND < si.scf.in > si.scf.out
$PW_COMMAND < si.band.in > si.band.out
$PLOTBAND_COMMAND < si.plotband.in > si.plotband.out
(plotband.x)
$PW_COMMAND < si.band.in > si.band.out
$PLOTBAND_COMMAND < si.plotband.in > si.plotband.out
(plotband.x)
Wednesday, April 16, 2008
momentos magneticos
grep -A170 "mulliken: Atomic and Orbital Populations:" parallel.output | grep -v '^$' | grep -v Atom | grep -v 4pz> spins.dat
awk 'NR % 3 == 1' spins.dat
awk 'NR % 3 == 1' spins.dat
Tuesday, April 15, 2008
scp alias
in .bashrc:
($1, $2... argumentos en linea de comando)
o
(pa que meta todo)
# mn1 cosa1
Password:
function mn1 { scp $1 user@machine.dom: ;}
($1, $2... argumentos en linea de comando)
o
function mn1 { scp $* user@machine.dom: ;}
(pa que meta todo)
# mn1 cosa1
Password:
Wednesday, April 09, 2008
GFORTRAN buffer issues
export GFORTRAN_UNBUFFERED_ALL=1
(it kills the buffer)
(it kills the buffer)
Subscribe to:
Posts (Atom)