Add more info here...


Basic instructions

18/10/07

prendo il reader da Marco Serra... > problemi di AFS: non riesco a copiare.. > uso compact.tgz ricostruito ad hoc e messo in public (

comunque, per ricominciare da zero, copio il tgz da afs di na48: da /afs/cern.ch/user/d/dagos/compact cp /afs/cern.ch/na48/offline/compact/compact-7.2/reader-7.2.2.tar.gz . tar -xzf reader-7.2.2.tar.gz

mv reader reader_orig_7.2.2 chmod -w reader_orig_7.2.2 tar -xzf reader-7.2.2.tar.gz cd reader

scp dagos@ax0rm1NOSPAMPLEASE.roma1.infn.it:log_esercizio_mauro_071017.txt . (inviato per email da marco)

#---- modifiche 1) fuser_init.F - include kine.inc, file con common: -> copiato in userinc - copiati i comandi minimali insegnatici da Mauro Raggi

2) fuser_superCmpEvent.F - include compactF77.h, CompactCommons.h e rlibFunctionsF77.inc, generali e non di utente - le ntuple vengono riempite dalla subroutine di Mauro FUSER_CONFNT, che si trova in fuser_confnt.F (grep -r -i FUSER_CONFNT ../reader-7.2.2_marco_071017/) : copiata in usersrc: cp ../reader-7.2.2_marco_071017/usersrc/fuser_confnt.F usersrc

3) fuser_exit.F - aggiunte le linee per chiudere hbook e paw

4) Makefile - scommentata F77DEF = -DCOMPACT_F77 - aggiunta fuser_confnt.F in UFSRCS

#---- compilazione make -> OK

#--- esecuzione -- innanzitutto bisogna settare delle variabili: export CASTOR_HOME=/castor/cern.ch/user/d/dagos export STAGE_HOST=castorpublic export RFIO_USE_CASTOR_V2=YES [messe in .bashrc]

[ parentesi su castor: 'ls': rfdir, nsls, ad es.: "nsls /castor/cern.ch/user/d/dagos" 'cp': rfcp per altri comandi: http://it-dep-fio-ds.web.cern.ch/it-dep-fio-ds/Documentation/userguide.html ]

-- quindi bisogna definire una lista di file da esaminare, ad es: /castor/cern.ch/na48/data/goldcmp34/2007/09/10/goldcmp34_2007_09_10_18_39_03 messo nel file 'listina'

[per come interrogare cercare i file dei run, vedi appunti del corso di castor con Raggi e Veltri]

-- esecuzione, finalmente: ./compact -l listina -cheat [./compact senza niente, o con -h, da' l'help]

... stampe varie, termina con: ==================================================================

Number of Events : 50454 No. Events Written : 25853
# evts in TS list: 23 # logged in errors : 905
================================================================== COmPACT (Fri Oct 19 16:59:01 2007) - closeCompact: Closing input file COmPACT (Fri Oct 19 16:59:03 2007) - ********** COmPACT finished ********** COmPACT (Fri Oct 19 16:59:03 2007) - Total number of bursts read : 1 COmPACT (Fri Oct 19 16:59:03 2007) - Total number of events read : 25853 COmPACT (Fri Oct 19 16:59:03 2007) - Number of CMP events read : 25853 COmPACT (Fri Oct 19 16:59:03 2007) - Number of KE3 events read : 0 COmPACT (Fri Oct 19 16:59:03 2007) - Number of KMU3 events read : 0 COmPACT (Fri Oct 19 16:59:03 2007) - Number of MC events read : 0 COmPACT (Fri Oct 19 16:59:03 2007) - Number of SCMP events read : 0 COmPACT (Fri Oct 19 16:59:03 2007) - Number of SMC events read : 0 COmPACT (Fri Oct 19 16:59:03 2007) - Number of HCMP events read : 0 COmPACT (Fri Oct 19 16:59:03 2007) - ****************************************

[per mandare anche su un file: ./compact -l listina -cheat | tee `date +'%F_%R'`.log ]

#-- primo sguardo con paw alla prima chiamata protesta: * No default PAWLOGON file "/afs/cern.ch/user/d/dagos/.pawlogon.kumac" found ma forse e' normale

h/fil 1 ciccio.hbook 0 X hi/li nt/lis h/pl 10000 h/pl 10001 h/pl 10002 h/fit 10001 G n/plo 5.kine(5) n/plo 5.kine(6) n/plo 5.kine(7) n/plo 5.kine(8) n/plo 5.kine(7)%kine(8) n/plo 5.kine(7)%kine(8) opt=box quit

#-- per fare lo staging delle cassette: -> vedi /afs/cern.ch/user/r/raggi/public/stage.csh [-> copiato localmente] (usa stager_get e stager_qry)

#-- per eseguire job in batch (su lxbatch) -> vedi /afs/cern.ch/user/r/raggi/public/run_3.sh [-> copiato localmente] (usa comando bsub. Altri comandi: bjobs, bkill, bqueues, bhosts, bacct, )

#-- per avere la lista dei run: http://pcna48g3.cern.ch/runs.html (oppure, su pc del runcontrol, in genere PIU' AGGIORNATA, ma potrebbe essere OFF se non in run: http://dxna48rc1.cern.ch:8080/runs/runs.html )

#-- info su trigger e analisi http://collazug.home.cern.ch/collazug/trigger07.html http://goudzovs.web.cern.ch/goudzovs/ke2/ke2.html

#-- provo a stage-are altro file (il primo del mio turno): - controllo se e' staged: [lxplus240] /afs/cern.ch/user/d/dagos/compact/reader > stager_qry -M /castor/cern.ch/na48/data/goldcmp34/2007/10/02/goldcmp34_2007_10_02_00_00_13 Received 1 responses /castor/cern.ch/na48/data/goldcmp34/2007/10/02/goldcmp34_2007_10_02_00_00_13 155034387@castorns STAGED

[nota: stager_qry richiede che siano settata correttamente $STAGE_HOST]

#-- fatto programmini per listare (e mettere su un file) tutti i file goldcmp34/2007 staged: check_castor_all.sh check_castor_staged.sh [non hanno bisogno di parametri; file in uscita del tipo 'STAGED_2007-10-21_16:53.txt']

quasi OK, ma check_castor_all.sh aggiunge un file inesistente ed esce con errore di sintassi: /castor/cern.ch/na48/data/goldcmp34/2007/10/31/goldcmp34_2007_10_21_17_36_51 ./check_staged.sh: line 27: syntax error near unexpected token `done' ./check_staged.sh: line 27: ` done'

-- PaoloValente - 17 Nov 2007

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2007-11-17 - PaoloValente



Tip, idea TWiki Tip of the Day
Disabling individual WikiWords
Prevent a WikiWord from being linked by prefixing it with an exclamation point. Example: To escape SunOs... Read on Read more

 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    P326 All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback