1 #example shell script to setup alien environmnet at GSI
2 # To be used in the proof and batch jobs
3 # The certificate will be automatically prolonged
5 # 1.) init alien environment
7 #export LD_LIBRARY_PATH=/usr/local/pub/debian4.0/x86_64/gcc411-21/alice/alien/v2-17/lib64/:$LD_LIBRARY_PATH
9 # source /d/alice06/wiechula/bin/alienv head640812
11 # 2.) check your pasword file
12 # if not htere create it
13 # it should be read only for owner
14 ls -al $HOME/.globus/.pwd
17 alien proxy-init -valid 24:00 -pwstdin < $HOME/.globus/.pwd
19 source /tmp/gclient_env_$UID
25 export alien_CLOSE_SE=ALICE::GSI::SE
27 # 4.) Do what you need
28 # e.g find the list of files stored at gsi
30 # .b) setSElimit alice::gsi::se
31 # .c) find /alice/data/2009/LHC09c/ root_archive.zip > file://esdalien0.txt
33 # Or use the alien in the aliroot session:
34 # YOU HAVE TO SPECIFY THE STORAGE
35 # gSystem->Setenv("alien_CLOSE_SE","ALICE::GSI::SE")