]>
Commit | Line | Data |
---|---|---|
2518a4db | 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 | |
4 | ||
5 | # 1.) init alien environment | |
6 | . .alienv217login | |
7 | #export LD_LIBRARY_PATH=/usr/local/pub/debian4.0/x86_64/gcc411-21/alice/alien/v2-17/lib64/:$LD_LIBRARY_PATH | |
8 | # or your update alien | |
9 | # source /d/alice06/wiechula/bin/alienv head640812 | |
10 | ||
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 | |
15 | ||
16 | # 3.) enable alien | |
17 | alien proxy-init -valid 24:00 -pwstdin < $HOME/.globus/.pwd | |
18 | alien-token-init | |
19 | source /tmp/gclient_env_$UID | |
20 | ||
21 | ||
22 | # | |
23 | # | |
24 | # | |
25 | export alien_CLOSE_SE=ALICE::GSI::SE | |
26 | # | |
27 | # 4.) Do what you need | |
28 | # e.g find the list of files stored at gsi | |
29 | # 4.a) alien | |
30 | # .b) setSElimit alice::gsi::se | |
31 | # .c) find /alice/data/2009/LHC09c/ root_archive.zip > file://esdalien0.txt | |
32 | # | |
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") | |
36 |