Документ взят из кэша поисковой машины. Адрес оригинального документа : http://theory.sinp.msu.ru/comphep_html/doc/INSTALL
Дата изменения: Thu Jul 3 18:45:40 2003
Дата индексирования: Mon Oct 1 21:13:53 2012
Кодировка:
####################################################
# Copyright (C) 2001-2003, CompHEP COllaboration
# Author: Sherstnev Alexandre
# INSTALL, v1.5 11/01/2003
#---------------------------------------------------
# $Id: INSTALL,v 1.11 2003/06/25 18:46:41 kryukov Exp $
####################################################


Most fresh news about CompHEP you can find in Web:

http://theory.sinp.msu.ru/comphep

Please send all you remarks to A.Kryukov by e-mail:

kryuko@theory.sinp.msu.ru


Content:
========================================
0. Preliminary remarks and notations.
1. Compilation of package from source distributive.
2. Install a user directory:
3. Additional services are provided.
4. Installation from binary distributive.
5. Previousr version uncompatibilities.



0. Preliminary remarks and notations.
=======================================

In this document we suppose that the OS is Linux.
So, if you have another OS on the computer, please
adopt the procedure as you need.


Below, we use the following notations:

XXXX - CompHEP version number;
comphep-XXXX - directory where CompHEP files will live;
comphep-XXXX.tgz - distributive tar-file with sources;
comphep-XXXX-linux.tgz - distributive tar-file with binaries;


The installation from binary distributive see in section 4.


1. Compilation of package from source distributive.
=====================================================

1) Untar gzip-tar distributive archive:

tar xzvf comphep-XXXX.tgz

The directory with name comphep-XXXX will be created
with all files of CompHEP distributive.

2) Pass to the comphep-XXXX directory:

cd comphep-XXXXX

3) If necessary correct a configure script to setup proper
value of compiler options (CFLAGS) and name of compiler (CC).
Default value (for Linux):
CC = gcc
CFLAGS = -Wall -DCOMPHEP
CLIBS = -L{path_to_x-libs} -L{path_to_cern_libs} -I{path_to_x-includes} \
-lisajet751 -lmathlib -lX11 -lm

NOTE:
a) {path_to_x-libs} and {path_to_x-includes} are included
by CompHEP automatically.

b) CERNlib is used for MSSM models only. They do not necessary for other
models.

4) Launch configure script:

./configure

5) Compile the CompHEP package:

make

NOTE:
All CompHEP binaries are ready for use. But for proper
working with CompHEP you have to make your own user
directory. All needed files will live there.




2. Install a user directory:
==========================================

make setup WDIR=path_to_user_work_directory

NOTE:

1) WDIR The value of it has to be the path to the user
working directory (the default value is
../comphep_XXXX_usr_test relatively of $COMPHEP).

2) Do not use '~' (tilde) to point home directory.
Use ${HOME} variable instead of.

After installation the user directory pointed by
WDIR variable will be created and all
needed files will be copied to it.



3. Additional services are provided.
=============================================

- Clean up CompHEP :
make clean

- make tar gzip archive of CompHEP:
make dist

NOTE:
Archive will be in directory {comphep-XXXX}/.. and have name
comphep-XXXX.tgz




4. Installation from binary distributive.
==============================================

The binary distributive have been prepared under RedHat-7.3 Linux.
To install them, it is necessary to unpack tar-file:

tar xzf comphep-XXXX-linux.tgz

and setup working directory:

cd comphep-XXXX-linux
make setup WDIR=path_to_user_working_directory

The binary distributive include libisajetNNN.a and libmathlib.a from CERN
library. These libraries are necessary for MSSM models. If you want to use
another version of these libraries, please edit file comphep-XXXX-linux/CLIBS
at this moment.

Go to the working directory and start CompHEP as usual.


5. Previousr version uncompatibilities.
========================================

1) New models have onother scheme of lepron notation. For example
Electron(anti-electron): e,E instead of e1,E1

2) In debug mode the environment variable COMPHEP that define in startup
scripts like ~/.cshrc can interfer with run time environment define in
scropt comphep