Skip to content
Snippets Groups Projects
Commit dc81f42b authored by Oleg Kalashev's avatar Oleg Kalashev
Browse files

build instructions updated

parent f6a6e751
No related branches found
No related tags found
No related merge requests found
...@@ -12,3 +12,12 @@ Framework for Monte Carlo simulation of ultra-high energy cosmic rays and electr ...@@ -12,3 +12,12 @@ Framework for Monte Carlo simulation of ultra-high energy cosmic rays and electr
### Applications ### Applications
[CRbeam](src/app/crbeam) - cosmic ray beam simulation [CRbeam](src/app/crbeam) - cosmic ray beam simulation
### Installation
- Install required libraries to [external](src/external) folder
<pre><code>
cd bin
cmake -S ../src/app/crbeam -B .
make
</code></pre>
\ No newline at end of file
# CRbeam # CRbeam
Monte Carlo simulation of the the cosmic ray and EM cascade beam propagation. Monte Carlo simulation of the cosmic ray and EM cascade beam propagation.
### Authors: ### Authors:
Oleg Kalashev and Alexander Korochkin Oleg Kalashev and Alexander Korochkin
......
# Installing external libraries
<pre><code>
mkdir SOPHIA
mkdir nr</code></pre>
- download SOPHIA event generator sources from https://elsevier.digitalcommonsdata.com/datasets/pkx5j87mgn/1 and extract in **SOPHIA** folder
- download Numerical Recipes 3rd ed. C++ source code from http://numerical.recipes/com/storefront.html and extract to **nr** folder
...@@ -43,10 +43,7 @@ IF(${CMAKE_SYSTEM_NAME} MATCHES "Linux") ...@@ -43,10 +43,7 @@ IF(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -rdynamic") set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -rdynamic")
endif (${CMAKE_SYSTEM_NAME} MATCHES "Linux") endif (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
#FIND_LIBRARY(FORTRAN_LIBRARY gfortran PATHS OS/lib)
#FIND_LIBRARY(OMP_LIBRARY gomp PATHS OS/lib)
FIND_LIBRARY(C_LIBRARY c) FIND_LIBRARY(C_LIBRARY c)
FIND_LIBRARY(XERCES_LIBRARY xerces-c)
FIND_LIBRARY(GSL_LIBRARY gsl) FIND_LIBRARY(GSL_LIBRARY gsl)
FIND_LIBRARY(GSLCBLAS_LIBRARY gslcblas) FIND_LIBRARY(GSLCBLAS_LIBRARY gslcblas)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment