Index of /~fujiik/mklinux/Packages/dr3/jlc

[ICO]NameLast modifiedSizeDescription

[PARENTDIR]Parent Directory   -  
[   ]lclib-97a-bin.tar.gz 1998-05-15 17:46 4.3M 
[   ]lclib-97a.tar.gz 1998-05-15 17:48 1.9M 
[   ]phys97a-bin.tar.gz 1998-05-16 01:34 18M 

MkLinux Installation Notes(English)

Descriptions of the Current Directory

JLC Physics Program Libraries


News

Files

	lclib-97a-bin.tar.gz: precompiled lclib (the linear collider physics library)
	                    : including the source tree.
	lclib-97a.tar.gz    : the lclib source tree.
	phys97a-bin.tar.gz  : K.Fujii's JLC related programs including the source tree
	README.html         : this file.

Installation

In order to use phys97a, you have to first install cernlib. See the README file for the CERNLIB for installation instructions.

Then install lclib:

# tar -zxvf lclib-97a-bin.tar.gz -C /
# cd /proj/phys/lclib
# ln -s 97a pro
You may want to add /proj/phys/lclib/pro/bin to your PATH.

Then you can install my physics programs:

$ tar -zxvf phys97a-bin.tar.gz -C <somewhere>
$ cd <somewhere>
$ ln -s phys97a phys
$ cp phys/config/dot_buildrc ~/.buildrc
$ vi ~/.buildrc
BASESV51/ <somewhere>/phys/basesv51/
dkin_lib/ <somewhere>/phys/dkin_lib/dkin/include/
gen_lib/sm/ <somewhere>/phys/gen_lib/sm/include/
gen_lib/ss/ <somewhere>/phys/gen_lib/ss/include/
gen_lib/hg/ <somewhere>/phys/gen_lib/hg/include/
T#PR.FULL.FORT/ /proj/phys/lclib/pro/util/lcfull/src/
T#PR.P#STER.FORT/ /proj/phys/lclib/pro/util/lcfull/src/
TKSF.A#LTKCL.FORT/ /proj/phys/lclib/pro/util/ltkcl
T#FP.S#JLC.FORT/ /proj/phys/lclib/pro/simjlc/src
T#PB.FORTLIB.FORT/ /proj/phys/lclib/pro/util/fortlib/src
$ cd phys
$ vi config/lclib.tmpl
....
KFLIBDIR = <somewhere>/phys/lib
....

The last two steps configuring ".buildrc" and "lclib.tmpl" are necessary when you want to modify and recompile source programs. ".buildrc" specifies which directory to look for an iclude file given in an "=EXPAND" statement.

Rebuilding Phys97a from Source Files

You may want to rebuild the phys97a library. In this case do the following:
$ <somewhere>/phys
$ (cd anl_lib; xmkmf; make install)
$ (cd dkin_lib; make)
$ (cd g_beam; make)
$ (cd gen_lib; make)
$ (cd helas_v1; make)
$ (cd precision_phys; make)
$ (cd smbg_phys; make)
$ (cd susy_phys; make)
$ (cd top_phys; make)

The rest are Monte Carlo generators and their corresponding analysis programs that can be built separately after building required libraries as above.

Typically what you have to do is to go to a target directory and do "xmkmf; make" and then go to the "prod" subdirectory in it to run scripts (go_bases for integration and go_spring for event generation). Be aware that some generators have some associated library directory. In this case, you have to build the library first.


Back to Keisuke Fujii's MkLinux Page
fujiik@jlcuxf.kek.jp Jun 1, 1998