- CompHEP-3.3 Manual (pdf)
New: For Mac users the installation instruction is here
Please send all you remarks to A.Kryukov by e-mail: firstname.lastname@example.org
In this document we suppose that Linux is used. Thus, if you have another OS on the computer, please adjust this installation procedure according requirements of your OS.
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;
See section 4 for the installation from binary distributive.
tar xzvf comphep-XXXX.tgz
The directory with name comphep-XXXX will be created with all files of CompHEP distributive.
This script has several options. In order to get help for the options execite ./configure –help
CC = gcc CFLAGS = -Wall -DNUM_DOUBLE -DCOMPHEP CLIBS = -Llib -lX11 -lm F77 = gfortran F77FLAGS = F77LIBS = -lgfortran -lgcc RANLIB = ranlib
If user wants to have an interface with ROOT the option –with-root must be used. In this case, two files ROOTFLAGS and ROOTLIBS will have options and libriaries necessary for the interface.
NOTE: All CompHEP binaries are ready to use. But for convenient work with CompHEP we recommend to create a user directory, which will contain necessary scripts, model files, and directories for results of your calculation.
In order to create a user working directory execute:
make setup WDIR=path_to_user_work_directory
../comphep_XXXX_usr_test (relatively to $COMPHEP).
After that go to WDIR and enjoy CompHEP!
NOTE: Archives will be in directory comphep-XXXX/.. with the name comphep-XXXX.tgz
e,E/ne,Ne instead of e1,E1/n1,N1; m,M/nm,Nm instead of e2,E2/n2,N2; and l,L/nl,Nl instead of e3,E3/n3,N3.