User Tools

Site Tools


comphep:faq

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
comphep:faq [01/01/2017 12:14] – [Q: What kind of OS do you support?] admincomphep:faq [31/10/2026 12:16] (current) – Update for CompHEP 4.6.2 dudko
Line 3: Line 3:
 ===== General questions ===== ===== General questions =====
  
-==== Q: I would like to download CompHEP. How can I register? ====+==== Q: I would like to download CompHEP. Do I need to register? ====
  
-It is a very simple procedure. You need a working email address only.  +No. Registration is not needed. Take the code from the [[:comphep:download:main|Downloads]] page.
-Fill the [[http://comphep.sinp.msu.ru/doku.php?id=downloads&do=register|form]] and enjoy the program.+
  
 ==== Q: How to get an advice? ==== ==== Q: How to get an advice? ====
  
   * Read the FAQ page,   * Read the FAQ page,
-  * Go to [[http://theory.sinp.msu.ru/mailman/listinfo/comphep-common|comphep-common]] mailing list.+  * Check the [[https://gitverse.ru/comphep/comphep/content/master/doc/KNOWN-ISSUES.md|known issues]] and the [[https://gitverse.ru/comphep/comphep/content/master/CHANGELOG.md|changelog]].
   * Write a mail to CompHEP collaboration [[comphep@theory.sinp.msu.ru]]. Unfortunately the number of questions sometimes exceeds our abilities to reply promptly.   * Write a mail to CompHEP collaboration [[comphep@theory.sinp.msu.ru]]. Unfortunately the number of questions sometimes exceeds our abilities to reply promptly.
- 
-==== Q: Why should I register on the CompHEP site? ==== 
- 
-  - We would like to know how many people are using CompHEP and who are they. This information is important for further developments of the package for theoretical and phenomenological applications. 
-  - The registration confirms that the user agrees with CompHEP Licence. 
- 
-The information about CompHEP users will not be transferred to a third party or exploited for any purposes without their permission. 
  
 ==== Q: What kind of OS do you support? ==== ==== Q: What kind of OS do you support? ====
  
-We cannot support all types of UNIX. Recently we prepared and tested CompHEP for several RedHat clones of Linux. Namely, they are Fedora Core 6/7 and Scientific Linux 3/4 (CERN). Old versions of CompHEP (e.g. 33.23, see the 'Downloads' page) could be installed on HP, SUN and DEC platforms.+CompHEP 4.6 is built and tested on Linux. The [[:comphep:install|installation guide]] gives the commands for Debian/Ubuntu and Fedora/RHEL. CompHEP also builds on macOS and other UNIX-like systems, see the [[:comphep:new-mac|macOS notes]]. Old versions of CompHEP (e.g. 33.23, see the 'Downloads' page) could be installed on HP, SUN and DEC platforms.
  
-CompHEP (v 4.5 and later) has also been tested on Mac OS 10.4.X. More information is available on the page of [[:comphep:mac:welcome|MacOS community]].+==== Q: Where can I find old versions? ====
  
-We do not support M$ Windows, but a very old version of CompHEP, compatible with M$ Windows, is still available (see below). +The last release of each old branch is on the [[:comphep:download:main|Downloads]] page. Other old files are on the [[:comphep:archive|archive page]].
  
 ==== Q: Do you support M$ Windows? ==== ==== Q: Do you support M$ Windows? ====
  
-No. However, you can try to use old (not supported now) version CompHEP 3.3 from {{download:b76i.zip|here}}.+No. However, you can try to use old (not supported now) version CompHEP 3.3 from {{:comphep:download:b76i.zip|here}}.
  
  
Line 38: Line 30:
 ===== Installation ===== ===== Installation =====
  
-==== Problem with libg2c library on 64-bit Linux ====+==== Q: How do I install CompHEP? ====
  
-The installation of some versions earlier than 4.4 on 64bit lxplus.cern.ch machines, where 32bit libisajet and libmath from cernlib are found by ./configure in the directory /cern/pro/lib may require the following steps:+See the [[:comphep:install|installation guide]]. Notes for versions before 4.6 are at the end of this page.
  
-(0) make clean +==== Q: CompHEP behaves strangely after I updated the sources ====
- +
-(1) correction of CFLAGS: -Wall -DNUM_LONG -DCOMPHEP -m32 instead of -Wall -DNUM_LONG -DCOMPHEP +
- +
-(2) correction of CLIBS: -L/usr/X11R6/lib instead of -L/usr/X11R6/lib64 +
- +
-then compile by 'make'. In versions 4.5 and later see the configure script options using ./configure --help. Configurations with gcc compiler version 4 (use gcc -dumpversion to see the version number) which does not support -lg2c, should use ./configure --with-gcc4 +
- +
-==== Q: I am using 64-bit SUSE Linux. How to install CompHEP? ==== +
- +
- +
-Use CompHEP version for gcc-4 [[http://comphep.sinp.msu.ru/_media/download/comphep-4.4p3-gcc411.tgz]]. You must correct the file F77 with respect to the name of Fortran compiler in your system. For 64-bit SUSE Linux the correct name is gfortran-4.1. +
- +
- --- //Alexander Kryukov 08/06/2007 16:48// +
- +
-==== Q: FC5 installation problem: can not find g2c library ==== +
- +
-To fix the problem add third line (see below) at the end of //configure// file by the following way: +
-  echo $CC     > CC +
-  echo $CFLAGS > CFLAGS +
-  echo $CLIBS -L/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/ > CLIBS +
- +
-==== Q: How to compile CompHEP in the D0 collaboration environment? ==== +
- +
-For some unknown reasons one needs to unsetup D0 RunII environment before compiling CompHEP.+
  
 +Rebuild from a clean tree: ''make clean && make''.
  
 ===== CompHEP features ===== ===== CompHEP features =====
Line 92: Line 61:
  
  
-===== Known CompHEP probems =====+===== Known CompHEP problems ===== 
 + 
 +The current list is in the [[https://gitverse.ru/comphep/comphep/content/master/doc/KNOWN-ISSUES.md|known issues]] file.
  
  
Line 102: Line 73:
 ==== Q: Is it possible to calculate a process with 8 out-particles (and more)? ==== ==== Q: Is it possible to calculate a process with 8 out-particles (and more)? ====
  
-By default, the parameter MAXINOUT is restricted to 10 (2in+8out particles). You can change this parameter (see the file src/include/model.h) and recompile CompHEP by 'make' command. However, we do not guarantee correct work of the program in this case. The diagrams generator does not support 2->8 images.+By default, the parameter MAXINOUT is restricted to 10 (2in+8out particles). You can change this parameter (see the file src/service2/include/chep_limits.h) and recompile CompHEP by 'make' command. However, we do not guarantee correct work of the program in this case. The diagrams generator does not support 2->8 images.
  
 For decay processes the total number of particles should be strictly less then MAXINOUT value. For decay processes the total number of particles should be strictly less then MAXINOUT value.
Line 119: Line 90:
 In your case some object with low effective mass is produced by protons s_hat=x_1 x_2 s, so the kinematic range for x is of the order of 10^{-7}. Pdf libraries are using some extrapolation based on available data at 10^{-3} to the region 10^{-7} and issue a warning on the reliability of the result. For detailed information you can address the In your case some object with low effective mass is produced by protons s_hat=x_1 x_2 s, so the kinematic range for x is of the order of 10^{-7}. Pdf libraries are using some extrapolation based on available data at 10^{-3} to the region 10^{-7} and issue a warning on the reliability of the result. For detailed information you can address the
 authors of pdf. authors of pdf.
-===== Problems with cpyth and formats of CompHEP event files =====+===== Passing events to other generators =====
  
-==== Q: I have my favourite CompHEP model with new particles and I prepared an event sample with particles in the final state. How can I pass events to PYTHIA? ====+==== Q: How can I pass CompHEP events to PYTHIA or HERWIG? ==== 
 + 
 +CompHEP writes events in the Les Houches Event File format (LHEF), which shower generators read directly. Use a PYTHIA or HERWIG version that reads LHEF. The former interfaces and their notes are on the [[:comphep:archive|archive page]]. 
 + 
 +===== Notes for old versions ===== 
 + 
 +These notes apply to versions before 4.6. 
 + 
 +=== Problem with libg2c library on 64-bit Linux === 
 + 
 +The installation of some versions earlier than 4.4 on 64bit lxplus.cern.ch machines, where 32bit libisajet and libmath from cernlib are found by ./configure in the directory /cern/pro/lib may require the following steps: 
 + 
 +(0) make clean 
 + 
 +(1) correction of CFLAGS: -Wall -DNUM_LONG -DCOMPHEP -m32 instead of -Wall -DNUM_LONG -DCOMPHEP 
 + 
 +(2) correction of CLIBS: -L/usr/X11R6/lib instead of -L/usr/X11R6/lib64 
 + 
 +then compile by 'make'. In versions 4.5 and later see the configure script options using ./configure --help. Configurations with gcc compiler version 4 (use gcc -dumpversion to see the version number) which does not support -lg2c, should use ./configure --with-gcc4 
 + 
 +=== Q: I am using 64-bit SUSE Linux. How to install CompHEP? === 
 + 
 + 
 +Use CompHEP version for gcc-4 {{:comphep:download:comphep-4.4p3-gcc411.tgz}}. You must correct the file F77 with respect to the name of Fortran compiler in your system. For 64-bit SUSE Linux the correct name is gfortran-4.1. 
 + 
 + --- //Alexander Kryukov 08/06/2007 16:48// 
 + 
 +=== Q: FC5 installation problem: can not find g2c library === 
 + 
 +To fix the problem add third line (see below) at the end of //configure// file by the following way: 
 +  echo $CC     > CC 
 +  echo $CFLAGS > CFLAGS 
 +  echo $CLIBS -L/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/ > CLIBS 
 + 
 +=== Q: How to compile CompHEP in the D0 collaboration environment? === 
 + 
 +For some unknown reasons one needs to unsetup D0 RunII environment before compiling CompHEP.
  
-cpyth will stop if you try to pass the events through the default interface. 
-PYTHIA should know the particle code of a new particle. So if a particle has the standard code, correct the routine kfpart in cpyth-*.*.*/src/comphep/kfcodes.c If a particle does not have the code, you can add an artificial number. But this will not work in all cases, if PYTHIA does not know the particle. 
comphep/faq.1483272863.txt.gz · Last modified: by admin