![]() |
|
|||
File indexing completed on 2025-08-03 08:19:50
0001 #!/usr/bin/env bash 0002 0003 ############################################################################### 0004 # Copyright (c) The JETSCAPE Collaboration, 2018 0005 # 0006 # For the list of contributors see AUTHORS. 0007 # 0008 # Report issues at https://github.com/JETSCAPE/JETSCAPE/issues 0009 # 0010 # or via email to bugs.jetscape@gmail.com 0011 # 0012 # Distributed under the GNU General Public License 3.0 (GPLv3 or later). 0013 # See COPYING for details. 0014 ############################################################################## 0015 0016 # 1) Download the SMASH code 0017 git clone --depth=1 https://github.com/smash-transport/smash.git --branch SMASH-3.0 smash/smash_code 0018 0019 # 2) Compile SMASH 0020 cd smash/smash_code 0021 mkdir build 0022 cd build 0023 cmake .. -DPythia_CONFIG_EXECUTABLE=${PYTHIA8DIR}/bin/pythia8-config 0024 number_of_cores=`nproc --all` 0025 number_of_cores_to_compile=$(( ${number_of_cores} > 20 ? 20 : ${number_of_cores} )) 0026 echo "Compiling SMASH using ${number_of_cores_to_compile} cores." 0027 make -j${number_of_cores} smash_shared
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
![]() ![]() |