IAP GITLAB

Commit b4c6935d authored by Colin Baus's avatar Colin Baus

updated README installation instructions. added math.h to CRMCoptions. thx to Zhukov, Valery

git-svn-id: https://devel-ik.fzk.de/svn/mc/crmc/trunk@5072 c7a5e08c-de06-0410-9364-b41cf42a0b17
parent a9add3f4
......@@ -18,7 +18,8 @@ C++ interface : Colin Baus (colin.baus@kit.edu)
Ralf Ulrich (ralf.ulrich@kit.edu)
Fortran interface : Tanguy Pierog (tanguy.pierog@kit.edu)
"crmc" is based on the first epos-root interface by X. Garrido (2009)
"crmc" is loosely based on the first epos-root interface
by X. Garrido (2009)
**********************************************************
References
......@@ -26,8 +27,8 @@ Fortran interface : Tanguy Pierog (tanguy.pierog@kit.edu)
-- CRMC :
Reference : C. Baus, T. Pierog and R. Ulrich. To be published (2015)
(please ask colin.baus@kit.edu when needed)
Reference : C. Baus, T. Pierog and R. Ulrich. To be published (2016)
(please ask colin.baus@alumni.kit.edu when needed)
-- Hadronic interaction models :
......@@ -67,7 +68,7 @@ SIBYLL2.1 (-m6) : R. Engel, T.K. Gaisser, P. Lipari, and T. Stanev,
**********************************************************
To install please get the latest version from the authors and
install the following pre-requisites: BOOST, HEPMC, CMAKE.
install the following pre-requisites: BOOST, HEPMC, CMAKE (*).
The next optional step is to modify the CMakeLists.txt file to
your needs of which models should be compiled. After you have
done so, you can compile the program:
......@@ -76,8 +77,8 @@ done so, you can compile the program:
mkdir -p installed
cd installed
cmake DIRECTORY_WHERE_YOUR_SOURCE_IS
make --jobs=8
make install
make install #you can compile faster with option --jobs=8
To test the installation you can use
make test ARGS=-V
......@@ -85,6 +86,15 @@ or
bin/crmc -T <your options>
if you want to test some specific set of options.
(*) On CERN lxplus HEPMC is preinstalled. Try setting
SET(HEPMC_PREFIX /afs/cern.ch/sw/lcg/external/HepMC/2.06.08/x86_64-slc6-gcc48-opt/)
in your CMakeLists.txt
**********************************************************
Troubleshoot
**********************************************************
......@@ -97,6 +107,8 @@ Sometime it can happen that the CMake cache still contains
old options or set paths that should be updated. In this
case the issues can be resolved by doing that.
On MacOS, please switch to STATIC libraries in CMakeLists.txt.
**********************************************************
Run
**********************************************************
......@@ -210,7 +222,7 @@ The number of loops is hard-coded (20000 check models.F) and does not depend on
The HepMC (2.06) IO library has a default limitation of the number of produced particles of 10000.
Thus, events with more than that number of secondaries are either truncated or skipped. For heavy ion
collisions this easily can become a problem in crmc. Please consider changing thie limiation to a
collisions this easily can become a problem in crmc. Please consider changing thie limitation to a
higher value. We suggest 200000, which works for all models at LHC energies so far. We are happy for
feedback on this issue if problems are encountered.
The CRMC code automatically checks for the
......
......@@ -9,26 +9,11 @@
*) fix or disable many fortran compiler warnings for DPMJet/Pyhtia
*) change logic to stop job if tables in epos and qgsjet are not found.
Only if option "--produce-tables" is provided: generate tables.
DONE, AND VALIDATED
*) read zipped qgsjetii-4 input data. I can do this, or Colin do you
want to work on it?
DONE, AND VALIDATED
*) add crossing angle to the beams (request by Menjo-san)
------ not critical -------
*) make ROOT optional package.
-) remove us of TSystem, use standard tools to read environment
-) don't use TStopwatch
DONE
*) messages at installation about FastJet are confusing
*) disable epos, too <-- from TP : not completely possible without rewritting a lot (it is done in CONEX)
......@@ -5,6 +5,7 @@
#include <iomanip>
#include <fstream>
#include <cstdlib>
#include <math.h>
#include <boost/program_options.hpp>
namespace po = boost::program_options;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment