Tags:
view all tags
%TOC% ---+ ILCSoftv01-17-05のインストール方法 Reconstructionに必要なEutelescopeをインストールするための手順。 1. EUTelescopeをインストールしたい場所で: <verbatim>export ILCSOFT=$PWD/ILCSOFT mkdir -p $ILCSOFT</verbatim> 2. ILCSoft Installer の最新版をチェック: <verbatim>cd $ILCSOFT svn co https://svnsrv.desy.de/public/ilctools/ilcinstall/branches/eutel-git ilcinstall_eutel-git</verbatim> 3. Eudaqのバージョンをv1.5.1に変更 -> $ILCSOFT/ilcinstall_eutel-git/releases/v01-17-05/release-versions.py <Strike>NEW 最近のEUtelescopeとのCompativility がないのでEudaqもtrunkにする必要がある。:</Strike> <Strike> <verbatim>Eudaq_version = "tags/v1.5.1" EUdaq_version = "trunk"</verbatim> </Strike> %RED%2016年5月時点では、%ENDCOLOR%<br />Eudaq_version = "tags/v1.5.1"<br />Eutelescope_version = "tags/v1.0" 4. root のレポジトリのURLが間違っているので、$ILCSOFT/ilcinstall_eutel-git/ilcsoft/root.py NEW rootのレポジトリが変わったので、urlを以下の様にする。 <verbatim> self.download.url = 'https://root.cern.ch/download/root_v%s.source.tar.gz' % self.version</verbatim> <Strike> root5.34.18のところにリンクを貼る =ln -s /afs/ [[http://cern.ch/sw/lcg/app/releases/ROOT/5.34.18/x86_64-scl6-gcc48-opt/root][cern.ch/sw/lcg/app/releases/ROOT/5.34.18/x86_64-scl6-gcc48-opt/root]] 5.34.18= </Strike> 5. gcc version 4.8をつかう(4.8は4.8.Xの新しいバージョンへのシンボリックリンク): <verbatim>source /afs/cern.ch/sw/lcg/contrib/gcc/4.8/x86_64-slc6/setup.sh</verbatim> 6. Installationを走らせる: <verbatim>cd $ILCSOFT/ilcinstall_eutel-git ./ilcsoft-install -i examples/eutelescope/release-standalone.cfg</verbatim> 7. (For 1 hour...) Grab a cup of coffee and chat with the people around you ;) 8. 終わると$ILCSOFT/v01-17-05というファイルができる -> エラーが出ていなければインストール完了! 9. 次回以降にログインした際は、 #####################################<br />#! /bin/bash<br />EUTELESCOPEVERSION=trunk<br />ILCSOFTVERSION=v01-17-05<br />export TB_ANALYSIS=~/work/ITKTB/Reconstruction/ #directory where you're doing reconstruction<br />export ILCSOFT=${TB_ANALYSIS}/ilcosft-20150702 <br />export TB_RECDIR=$ILCSOFT/v01-17-05<br />source $ILCSOFT/$ILCSOFTVERSION/Eutelescope/${EUTELESCOPEVERSION}/build_env.sh<br />##################################### こんなものをsetup.shとしておいて、source setup.shとする。 ---+ ---+ 実際にReconstructionを走らせてみる ${ILCSOFT}/v01-17-05/Eutelescope/trunk/jobsubにあるjobsub.pyというのが実際にjobを投げるスクリプト。<br />これらのファイルを持ってきて作業するためのdirectoryを作り、実際に走らせてみる。 1. Reconstructionのための場所を作り、テストビームごとのdirectoryを作る: * mkdir -p ~/work/ITKTB/Reconstruction/runarea/ * この中で更に、run_cern_2015_jun_itk/などのdirectoryを作る 2. 作ったdirectoryの中に必要なファイルは: * サブミットスクリプト jobsub.py * コンフィグファイル config.cfg * ギアファイル gear.xml * ランリスト runlist.csv * steeringファイル steering-templates/の中にあるファイル 3. ちゃんとインストールできているか確認するためにも、exampleをreconstructionしてみよう。 例)4chipのランをreconstructionしてみる↓↓<br />Reconstructionのための場所として"4chip_example"などのディレクトリを作り... * $ILCSOFT/v01-17-05/Eutelescope/trunk/jobsub/examples/aconite-4chipLocalの中にあるファイルをコピー * $ILCSOFT/v01-17-05/Eutelescope/trunk/jobsub/jobsub.pyをコピー * mkdir -p output/{database,histograms,lcio,logs} 走らせるときは、次のように。 * ./jobsub.py -c ./config.cfg [reco-step] 1085 -csv ./runlist.csv<br />([reco-step] は、 converter, clustering, hitmaker, align, fitter など) 毎回これを書くのが面倒なので [[%ATTACHURL%/run.sh][run.sh]]というスクリプトを書いている。<br />run.sh 上の方にある、<br />DOCONVERTER=1<br />DOCLUSTERING=0<br />DOHITMAKER=0<br />DOALIGN=0<br />DOFITTER=0<br />このスイッチでどのステップを走らせるかが選べる。 (全部1にすると全部走る)<br />./run.sh -c config.cfg -r 1085とかで走らせる。 結果は、output/histogramsにrootファイルとして作られる。clusteringなどでヒットマップが確認できるはず。 4. 5. -- %USERSIG{HiromiSawai - 2016-03-15}% ---++ Comments <br />%COMMENT%
Attachments
Attachments
Topic attachments
I
Attachment
History
Action
Size
Date
Who
Comment
sh
run.sh
r1
manage
3.1 K
2016-03-28 - 09:31
HiromiSawai
run.sh
Edit
|
Attach
|
Watch
|
P
rint version
|
H
istory
:
r15
|
r13
<
r12
<
r11
<
r10
|
B
acklinks
|
V
iew topic
|
Raw edit
|
More topic actions...
Topic revision: r11 - 2017-05-22
-
KojiNakamura
Home
Site map
Main web
Sandbox web
TWiki web
Main Web
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
Edit
Attach
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback