Presentation is loading. Please wait.

Presentation is loading. Please wait.

Geant Simulation Tutorial 2002 년 6 월 26 일 2002 CHEP 여름학교 서울대학교 김복주 웹페이지 :http://susy07.snu.ac.kr/~bockjoo/chep_summerschool_2002/

Similar presentations


Presentation on theme: "Geant Simulation Tutorial 2002 년 6 월 26 일 2002 CHEP 여름학교 서울대학교 김복주 웹페이지 :http://susy07.snu.ac.kr/~bockjoo/chep_summerschool_2002/"— Presentation transcript:

1 Geant Simulation Tutorial 2002 년 6 월 26 일 2002 CHEP 여름학교 서울대학교 김복주 웹페이지 :http://susy07.snu.ac.kr/~bockjoo/chep_summerschool_2002/

2 Setting Up, Compiling, Linking 1.Go to CHEP Summer School directory: /d12/tutor/chep_summerschool_2002/ 2.Look inside of setup_cern.cshrc and edit it if necessary 3.CERN library setup $source setup_cern.cshrc 4.Compiling and linking 1.Method1 $gcc – c – o gxint.o gxint.f ; gcc – c – o uginit.o uginit.f … $gcc -o exercise_1 -O -L/usr/X11R6/lib – L${CERN_ROOT}/lib gxint.o uglast.o uginit.o … -lX11 -lgeant321 -lpawlib -lmathlib -lpacklib - lgraflib -lgrafX11 -lpacklib -lkernlib -lmathlib -lstdc++ -lg2c -lm - ldl -lcrypt – lnsl 1.Method2  This should work for today ’ s exercises $cd /d12/tutor/chep_summerschool_2002/exercise $./build_linux 1.Method3 : use Makefile

3 More compiling and linking (To make Geant++) Now, at exercise directory, do: $cp gxint.f.Motif gxint.f $./build_linux_lesstif

4 Do exercises 1,2,3, and 4 For exercise 1, follow instructions in http://susy07.snu.ac.kr/~bockjoo/chep_summerschool_2002/THETUTOR.txt For exercises 2, 3, and 4, follow instructions in http://wwwinfo.cern.ch/geant/tutorial/manual/tutorial_11.html http://wwwinfo.cern.ch/geant/tutorial/manual/tutorial_15.html http://wwwinfo.cern.ch/geant/tutorial/manual/tutorial_17.html


Download ppt "Geant Simulation Tutorial 2002 년 6 월 26 일 2002 CHEP 여름학교 서울대학교 김복주 웹페이지 :http://susy07.snu.ac.kr/~bockjoo/chep_summerschool_2002/"

Similar presentations


Ads by Google