Ugly way to list the files you modified in the CMSSW tree
cvs status | grep -i -A 3 locally | grep -i repository | cut -f3 | sed 's-/cvs/CMSSW/CMSSW/--g' | sed 's/,v//g' > ! modified.txt
martedì 12 aprile 2011
lunedì 4 aprile 2011
trcor
/data/argiro/trcor
142051-142318-eb-3
142051-142318-eb-3
146417-149442-eb-3
barrel con scalibrazione (-0.01,0.01) in 21 step
142051-142318-eb-4
142051-142318-eb-4
146417-149442-eb-4
barrel con scalibrazione (-0.04,0.04) in 41 step
142051-142318-eb-3
142051-142318-eb-3
146417-149442-eb-3
barrel con scalibrazione (-0.01,0.01) in 21 step
142051-142318-eb-4
142051-142318-eb-4
146417-149442-eb-4
barrel con scalibrazione (-0.04,0.04) in 41 step
martedì 29 marzo 2011
martedì 15 marzo 2011
trcor
Changed philosophy: extract one file per xtal from the output of each job. Then we can add on the fly. Extraction code:
/afs/cern.ch/cms/CAF/CMSALCA/ALCA_ECALCALIB/phisym/trcor
output to be found in:
/data/argiro/trcor/140158-142040
note: it would have been probably faster to split one channel per root file directly in the CMSSW job
Procedure:
1. submit crab job to create histograms:
histoadd-submit.py -r eech-140158-142040.flst -e pccmsto04:/data/argiro/trcor/140158-142040 -q 2nd
3. re-unite files interactively (four at a time or more)
./reSum.sh 0 2000 > & log1.log &
./reSum.sh 2001 4000 > & log2.log &
etc..
/afs/cern.ch/cms/CAF/CMSALCA/ALCA_ECALCALIB/phisym/trcor
output to be found in:
/data/argiro/trcor/140158-142040
note: it would have been probably faster to split one channel per root file directly in the CMSSW job
Procedure:
1. submit crab job to create histograms:
- code in scratch0/splitcode/CMSSW_3_8_7
- crab submission stuff in /afs/cern.ch/cms/CAF/CMSALCA/ALCA_ECALCALIB/phisym/trcor/{phisym-cfg.crab.cfg,phisym-cfg.py}
histoadd-submit.py -r eech-140158-142040.flst -e pccmsto04:/data/argiro/trcor/140158-142040 -q 2nd
3. re-unite files interactively (four at a time or more)
./reSum.sh 0 2000 > & log1.log &
./reSum.sh 2001 4000 > & log2.log &
etc..
venerdì 11 marzo 2011
Transparency correction
code:
scratch0/splitcode/CMSSW_3_8_7
submission machinery
/afs/cern.ch/cms/CAF/CMSALCA/ALCA_ECALCALIB/phisym/trcor
output data
/castor/cern.ch/cms/store/caf/user/argiro/trcor
scratch0/splitcode/CMSSW_3_8_7
submission machinery
/afs/cern.ch/cms/CAF/CMSALCA/ALCA_ECALCALIB/phisym/trcor
output data
/castor/cern.ch/cms/store/caf/user/argiro/trcor
mercoledì 29 dicembre 2010
Reassemble linux software raid device
In event of loss of madadm.conf:
echo DEVICE partitions > /etc/mdadm.conf
mdadm -Es >> /etc/mdadm.conf
mdadm -As --auto=yes
it might be necessary to set the nodmraid kernel boot option
martedì 7 dicembre 2010
Apple Mail ssh tunneling
http://www.ok-labs.com/blog/entry/ssh-tunneling-smtp-on-mac-os-x/
Library/LaunchDaemon/mailtunnel.plist
create key:
ssh -i tunnel_key -q -T mail.example-com
in authorized_keys2 :
command="nc smtp.to.infn.it 25",no-X11-forwarding,no-agent-forwarding,no-port-forwarding
testing:
SSH_AUTH_SOCK= ssh -i .ssh/tunnel_key mail.example.com
Library/LaunchDaemon/mailtunnel.plist
create key:
ssh -i tunnel_key -q -T mail.example-com
in authorized_keys2 :
command="nc smtp.to.infn.it 25",no-X11-forwarding,no-agent-forwarding,no-port-forwarding
testing:
SSH_AUTH_SOCK= ssh -i .ssh/tunnel_key mail.example.com
Iscriviti a:
Post (Atom)