---+ ILCSoftv01-17-05のインストール方法 Reconstructionに必要なEutelescopeをインストールするための手順。 1. EUTelescopeをインストールしたい場所で: * %BROWN%export ILCSOFT=$PWD/ILCSOFT%ENDCOLOR% * %BROWN%mkdir -p $ILCSOFT%ENDCOLOR% 2. ILCSoft Installer の最新版をチェック: * %BROWN%cd $ILCSOFT%ENDCOLOR% * %BROWN%svn co <a href="https://svnsrv.desy.de/public/ilctools/ilcinstall/branches/eutel-git" target="_blank">https://svnsrv.desy.de/public/ilctools/ilcinstall/branches/eutel-git<img alt="" border="0" height="12" src="https://twiki.cern.ch/twiki/pub/TWiki/TWikiDocGraphics/external-link.gif" width="13" /></a> ilcinstall_eutel-git%ENDCOLOR% 3. Eudaqのバージョンをv1.5.1に変更 -> $ILCSOFT/ilcinstall_eutel-git/releases/v01-17-05/release-versions.py: * %BROWN%Eudaq_version = "tags/v1.5.1%ENDCOLOR% 4. root のレポジトリのURLが間違っているので、$ILCSOFT/ilcinstall_eutel-git/ilcsoft/root.py<br />"http://"で始まっているのを"https://"に変える 5. gcc version 4.8をつかう(4.8は4.8.Xの新しいバージョンへのシンボリックリンク): * %BROWN%source /afs/cern.ch/sw/lcg/contrib/gcc/4.8/x86_64-slc6/setup.sh%ENDCOLOR% 6. Installationを走らせる: * %BROWN%cd $ILCSOFT/ilcinstall_eutel-git%ENDCOLOR% * %BROWN%./ilcsoft-install -i examples/eutelescope/release-standalone.cfg%ENDCOLOR% 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としておいて、<span style="color: brown;">source setup.sh</span>とする。 ---+ ---+ 実際にReconstructionを走らせてみる ${ILCSOFT}/v01-17-05/Eutelescope/trunk/jobsubにあるjobsub.pyというのが実際にjobを投げるスクリプト。<br />これらのファイルを持ってきて作業するためのdirectoryを作り、実際に走らせてみる。 1. Reconstructionのための場所を作り、テストビームごとのdirectoryを作る: * %BROWN%mkdir -p ~/work/ITKTB/Reconstruction/runarea/%ENDCOLOR% * この中で更に、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をコピー * %BROWN%mkdir -p output/{database,histograms,lcio,logs}%ENDCOLOR% 走らせるときは、次のように。 * <span class="WYSIWYG_COLOR" style="color: brown;">./jobsub.py -c ./config.cfg [reco-step] 1085 -csv ./runlist.csv</span><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 />%BROWN%<span>./run.sh -c config.cfg -r 1085</span>%ENDCOLOR%とかで走らせる。 結果は、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
This topic: Main
>
PlanerPixelTestBeam
>
HowToInstallEUTelescope
Topic revision: r6 - 2016-04-15 - HiromiSawai
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