Difference: BDsimInstall (1 vs. 54)

Revision 5430 Aug 2017 - LaurieNevay

Line: 1 to 1
 
META TOPICPARENT name="BdSim"

BDSIM Install

Line: 6 to 6
  This page is left for now since it contains some additional information on how to install dependent packages.
Changed:
<
<
Please send any comments to Jochem.Snuverink at rhul.ac.uk
>
>
Please send any comments to laurie.nevay at rhul.ac.uk
 

Revision 5312 Sep 2016 - LaurieNevay

Line: 1 to 1
 
META TOPICPARENT name="BdSim"

BDSIM Install

Changed:
<
<
This page is no longer maintained. For the most up to date installation instructions see http://www.pp.rhul.ac.uk/bdsim/manual/installation.html
>
>
*This page is no longer maintained. For the most up to date installation instructions see http://www.pp.rhul.ac.uk/bdsim/manual/installation.html*
  This page is left for now since it contains some additional information on how to install dependent packages.
Line: 191 to 191
 If the clone gets stuck with "error: RPC failed; result=22, HTTP code = 405" then just CTRL-C. The checkout will have been successful.
Changed:
<
<
git clone --recursive https://bitbucket.org/stewartboogert/bdsim
>
>
git clone --recursive https://bitbucket.org/jairhul/bdsim
 cd bdsim

Revision 5213 Oct 2015 - JsnuverinkSnuverink

Line: 1 to 1
 
META TOPICPARENT name="BdSim"

BDSIM Install

Line: 186 to 186
 

Get BDSIM

Changed:
<
<
The recommended possibility is to clone the git repository
>
>
The recommended possibility is to clone the git repository
  If the clone gets stuck with "error: RPC failed; result=22, HTTP code = 405" then just CTRL-C. The checkout will have been successful.

Revision 5131 Jul 2015 - JsnuverinkSnuverink

Line: 1 to 1
 
META TOPICPARENT name="BdSim"

BDSIM Install

Line: 47 to 47
 sudo port install geant4.10.1
Deleted:
<
<
BDSIM uses the boost libraries (if not available, these can be installed from macports).
sudo port install boost
 CLHEP can also be installed from macports (or from source, see below)
sudo port install clhep
Line: 151 to 146
 

No AFS

Changed:
<
<
>
>
 Move and unpack to a suitable place:

Revision 5024 Jun 2015 - JsnuverinkSnuverink

Line: 1 to 1
 
META TOPICPARENT name="BdSim"

BDSIM Install

Added:
>
>
This page is no longer maintained. For the most up to date installation instructions see http://www.pp.rhul.ac.uk/bdsim/manual/installation.html

This page is left for now since it contains some additional information on how to install dependent packages.

 Please send any comments to Jochem.Snuverink at rhul.ac.uk

Revision 4911 Jun 2015 - JsnuverinkSnuverink

Line: 1 to 1
 
META TOPICPARENT name="BdSim"

BDSIM Install

Line: 338 to 338
  This means compiler version for BDSIM is different from the one used to compile Geant4. Make sure it is the same compiler version. Remember to start from a clean build directory otherwise cmake does NOT update the compiler version.
Added:
>
>
CLHEP undefined symbols from HepRandom

Undefined symbols for architecture x86_64:
  "CLHEP::HepRandom::saveFullState(std::__1::basic_ostream<char, std::__1::char_traits<char> >&)", referenced from:

Make sure the manual installed CLHEP is linked to.

 

Revision 4803 Jun 2015 - JsnuverinkSnuverink

Line: 1 to 1
 
META TOPICPARENT name="BdSim"

BDSIM Install

Line: 71 to 71
 
mkdir build
cd build
Changed:
<
<
cmake ../CLHEP
>
>
cmake ../2.1.3.1
 make sudo make install
Line: 114 to 114
 

Configure

Changed:
<
<
Configure and select C/C++ compiler (optional). Switch on GDML support and visualisation drivers in Geant4 as preferred (not all supported in BDSIM, please submit a request if your favourite is missing. A full list of options can be found on the Geant website.
>
>
Configure and select C/C++ compiler (optional). Switch on GDML support and visualisation drivers in Geant4 as preferred. A full list of options can be found on the Geant website.
  4.10:
Changed:
<
<
cmake -DCMAKE_INSTALL_PREFIX=/opt/geant4/geant4.10.1 -DCMAKE_CXX_COMPILER=g++ -DCMAKE_C_COMPILER=gcc -DGEANT4_INSTALL_DATA=ON -DGEANT4_USE_GDML=ON -DGEANT4_USE_OPENGL=ON -DGEANT4_USE_OPENGL_X11=ON -DGEANT4_USE_QT=ON -DGEANT4_USE_RAYTRACER_X11=ON -DGEANT4_USE_XM=ON ..
>
>
cmake -DGEANT4_INSTALL_DATA=ON -DGEANT4_USE_GDML=ON -DGEANT4_USE_OPENGL=ON -DGEANT4_USE_OPENGL_X11=ON -DGEANT4_USE_QT=ON -DGEANT4_USE_RAYTRACER_X11=ON -DGEANT4_USE_XM=ON ..
 

4.9.6:

Changed:
<
<
cmake -DCMAKE_CXX_COMPILER=g++ -DCMAKE_C_COMPILER=gcc -DGEANT4_INSTALL_DATA=ON -DGEANT4_USE_GDML=ON -DGEANT4_USE_OPENGL=ON -DGEANT4_USE_OPENGL_X11=ON -DGEANT4_USE_QT=ON -DGEANT4_USE_RAYTRACER_X11=ON -DGEANT4_USE_XM=ON ..
>
>
cmake -DGEANT4_INSTALL_DATA=ON -DGEANT4_USE_GDML=ON -DGEANT4_USE_OPENGL=ON -DGEANT4_USE_OPENGL_X11=ON -DGEANT4_USE_QT=ON -DGEANT4_USE_RAYTRACER_X11=ON -DGEANT4_USE_XM=ON ..
 
Changed:
<
<
Check if options are alright (some users reported problems here), or if you want to switch some:
>
>
Check if options are alright (some users reported problems here), or if you want to switch some (for example the installation directory):
 
ccmake .
Changed:
<
<
If not correct, then change manually, press 'c' and then 'q' (configure and quit)
>
>
If not correct, then change manually (by pressing return), press 'c' and then 'q' (configure and quit)
 

Build and install

Revision 4719 May 2015 - JsnuverinkSnuverink

Line: 1 to 1
 
META TOPICPARENT name="BdSim"

BDSIM Install

Line: 40 to 40
 Geant4 is available on Macports also:
Changed:
<
<
sudo port install geant4.10.0
>
>
sudo port install geant4.10.1
 

BDSIM uses the boost libraries (if not available, these can be installed from macports).

Line: 62 to 62
  Move and unpack to a suitable place:
Changed:
<
<
tar -xzf clhep-2.1.0.1.tgz
>
>
tar -xzf clhep-2.1.3.1.tgz
 cd 2.1.3.1
Line: 96 to 96
 

Geant4

Changed:
<
<
BDSIM now builds with the most recent versions of Geant4, but only the BDSIM develop branch. A new official version will be released soon (January 2015).

If not built with MacPorts then download the 4.10.01 version or an older version from the Geant archive.

>
>
If not built with MacPorts then download Geant4.10.1 or an older version from the Geant archive.
  Move and unpack to a suitable place:
Changed:
<
<
tar -xzf geant4.10.01.tar.gz cd geant4.10.01
>
>
tar -xzf geant4.10.01.p01.tar.gz cd geant4.10.01.p01
 

Make build directory

Line: 149 to 147
 

No AFS

Changed:
<
<
  • tested on SLC5. Download Geant4.10.1 or an older version from the
Geant archive.
>
>
  Move and unpack to a suitable place:
Changed:
<
<
tar -xzf geant4.10.01.tar.gz cd geant4.10.01
>
>
tar -xzf geant4.10.01.p01.tar.gz cd geant4.10.01.p01
 

Install necessary packages CLHEP and xerces-c. xerces-c can be installed from sources or via a package installer like yum.

Line: 180 to 177
 source /afs/cern.ch/user/j/jsnuveri/public/geant4.9.6-setup.sh
Changed:
<
<
For the tags 0.61-0.65 and the develop branch
>
>
For the versions 0.61-0.65 and the develop branch
 
source /afs/cern.ch/user/j/jsnuveri/public/gcc47-setup.sh
source /afs/cern.ch/user/j/jsnuveri/public/geant4.10-setup.sh
Line: 200 to 197
 cd bdsim
Changed:
<
<
The recursive flag is to get a copy of various utilities that exist as separately developed git repositories. Entirely optional. This will get you the official version 0.6. For working with Geant4.10 use the newer version 0.65:

git fetch && git checkout v0.65

(the git versioning program can be installed with macports as well if not available).

Also a zip file for version 0.6 can be downloaded: bdsim.zip.

unzip bdsim.zip
mv stewartboogert-bdsim-f1530631af2a bdsim
cd bdsim
>
>
The recursive flag is to get a copy of various utilities that exist as separately developed git repositories. Entirely optional. This will get you the official version 0.65.
 

make build directory:

Line: 224 to 208
 

Configure

Deleted:
<
<
Except for tags 0.61-0.65 do:
 
cmake ..
Changed:
<
<
With tags 0.61-0.65 use the following (single line):

cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=/afs/cern.ch/sw/lcg/contrib/gcc/4.7.2/x86_64-slc6/bin/g++ -DCMAKE_C_COMPILER=/afs/cern.ch/sw/lcg/contrib/gcc/4.7.2/x86_64-slc6/bin/gcc -DCLHEP_INCLUDE_DIR=/afs/cern.ch/sw/lcg/external/clhep/2.1.4.1/x86_64-slc6-gcc47-opt/include -DCLHEP_LIBRARY_DIR=/afs/cern.ch/sw/lcg/external/clhep/2.1.4.1/x86_64-slc6-gcc47-opt/lib -DGeant4_INCLUDE_DIRS=/afs/cern.ch/sw/lcg/external/geant4/10.0.p03/share/include -DGeant4_LIBRARY_DIR=/afs/cern.ch/sw/lcg/external/geant4/10.0.p03/x86_64-slc6-gcc47-opt/lib64 -DGeant4_DIR=/afs/cern.ch/sw/lcg/external/geant4/10.0.p03/x86_64-slc6-gcc47-opt/lib64/Geant4-10.0.1 -DGeant4_VERSION=10.0.1 -DXercesC_INCLUDE_DIR=/afs/cern.ch/sw/lcg/external/XercesC/3.1.1p2/x86_64-slc6-gcc47-opt/include -DXercesC_LIBRARY_DIR=/afs/cern.ch/sw/lcg/external/XercesC/3.1.1p2/x86_64-slc6-gcc47-opt/lib -DGeant4_USE_FILE=/afs/cern.ch/sw/lcg/external/geant4/10.0.p03/x86_64-slc6-gcc47-opt/lib64/Geant4-10.0.1/UseGeant4.cmake -DUSE_AFS=OFF ..

Additional debug output can be generated with

>
>
If not succesful, additional debug output can be generated with setting the environment variable VERBOSE:
 
'export VERBOSE=1'
Line: 260 to 236
 

Test (optional)

Changed:
<
<
All tests (can take up to an hour!):
>
>
Note that when using the Geant4 physics processes one needs to source the Geant4 data script. This can be found in the installation directory of Geant4, e.g.:

source /opt/local/bin/geant4.(c)sh

It can be advised to put this line into your profile.

All tests (several minutes):

 
ctest
Line: 287 to 271
 

Trouble shooting

Added:
>
>

Run Error

"Environment variable G4LEDATA not defined"

This means that the geant4.(c)sh script was not sourced. It can be found in the bin directory of the Geant4 installation. It can be advised to put this line into your profile.

 

Visualisation does not work

"parameter value is not listed in the candidate List."

Revision 4608 May 2015 - JsnuverinkSnuverink

Line: 1 to 1
 
META TOPICPARENT name="BdSim"

BDSIM Install

Line: 48 to 48
 sudo port install boost
Added:
>
>
CLHEP can also be installed from macports (or from source, see below)
sudo port install clhep
 

CLHEP

Changed:
<
<
NEW Installing CLHEP is not strictly necessary, since recent versions of Geant include CLHEP installation, including the Macports version.

Download the 2.1.3.1 version from the CLHEP website. Or for version of Geant4 9.5 and older 2.1.0.1

>
>
If not installed with macports, download the 2.1.3.1 or newer version from the CLHEP website.
 

2.1.3.1

Line: 73 to 76
 sudo make install
Deleted:
<
<

2.1.0.1

Move and unpack to a suitable place:

tar -xzf clhep-2.1.0.1.tgz
cd 2.1.0.1/CLHEP

Make build directory:

mkdir build
cd build
 Configure and Build:

See configure options for more details.

Line: 192 to 180
 source /afs/cern.ch/user/j/jsnuveri/public/geant4.9.6-setup.sh
Changed:
<
<
For the tags 0.61-0.63 and the develop branch
>
>
For the tags 0.61-0.65 and the develop branch
 
source /afs/cern.ch/user/j/jsnuveri/public/gcc47-setup.sh
source /afs/cern.ch/user/j/jsnuveri/public/geant4.10-setup.sh
Line: 212 to 200
 cd bdsim
Changed:
<
<
The recursive flag is to get a copy of various utilities that exist as separately developed git repositories. Entirely optional. This will get you the official version 0.6. For working with Geant4.10 use the newer version 0.63:
>
>
The recursive flag is to get a copy of various utilities that exist as separately developed git repositories. Entirely optional. This will get you the official version 0.6. For working with Geant4.10 use the newer version 0.65:
 
Changed:
<
<
git fetch && git checkout v0.63
>
>
git fetch && git checkout v0.65
 

(the git versioning program can be installed with macports as well if not available).

Line: 237 to 224
 

Configure

Changed:
<
<
Except for tags 0.61-0.63 do:
>
>
Except for tags 0.61-0.65 do:
 
cmake ..
Changed:
<
<
With tags 0.61-0.63 use the following (single line):
>
>
With tags 0.61-0.65 use the following (single line):
 
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=/afs/cern.ch/sw/lcg/contrib/gcc/4.7.2/x86_64-slc6/bin/g++ -DCMAKE_C_COMPILER=/afs/cern.ch/sw/lcg/contrib/gcc/4.7.2/x86_64-slc6/bin/gcc -DCLHEP_INCLUDE_DIR=/afs/cern.ch/sw/lcg/external/clhep/2.1.4.1/x86_64-slc6-gcc47-opt/include -DCLHEP_LIBRARY_DIR=/afs/cern.ch/sw/lcg/external/clhep/2.1.4.1/x86_64-slc6-gcc47-opt/lib -DGeant4_INCLUDE_DIRS=/afs/cern.ch/sw/lcg/external/geant4/10.0.p03/share/include -DGeant4_LIBRARY_DIR=/afs/cern.ch/sw/lcg/external/geant4/10.0.p03/x86_64-slc6-gcc47-opt/lib64 -DGeant4_DIR=/afs/cern.ch/sw/lcg/external/geant4/10.0.p03/x86_64-slc6-gcc47-opt/lib64/Geant4-10.0.1 -DGeant4_VERSION=10.0.1 -DXercesC_INCLUDE_DIR=/afs/cern.ch/sw/lcg/external/XercesC/3.1.1p2/x86_64-slc6-gcc47-opt/include -DXercesC_LIBRARY_DIR=/afs/cern.ch/sw/lcg/external/XercesC/3.1.1p2/x86_64-slc6-gcc47-opt/lib -DGeant4_USE_FILE=/afs/cern.ch/sw/lcg/external/geant4/10.0.p03/x86_64-slc6-gcc47-opt/lib64/Geant4-10.0.1/UseGeant4.cmake -DUSE_AFS=OFF ..

Revision 4509 Feb 2015 - JsnuverinkSnuverink

Line: 1 to 1
 
META TOPICPARENT name="BdSim"

BDSIM Install

Line: 192 to 192
 source /afs/cern.ch/user/j/jsnuveri/public/geant4.9.6-setup.sh
Changed:
<
<
For the tags 0.61 and 0.62 and the develop branch
>
>
For the tags 0.61-0.63 and the develop branch
 
source /afs/cern.ch/user/j/jsnuveri/public/gcc47-setup.sh
source /afs/cern.ch/user/j/jsnuveri/public/geant4.10-setup.sh
Line: 213 to 213
 

The recursive flag is to get a copy of various utilities that exist as separately developed git repositories. Entirely optional.

Changed:
<
<
This will get you the official version 0.6. For working with Geant4.10 use the newer version 0.62:
>
>
This will get you the official version 0.6. For working with Geant4.10 use the newer version 0.63:
 
Changed:
<
<
git fetch && git checkout v0.62
>
>
git fetch && git checkout v0.63
 

(the git versioning program can be installed with macports as well if not available).

Line: 237 to 237
 

Configure

Changed:
<
<
Except for tags 0.61 and 0.62 do:
>
>
Except for tags 0.61-0.63 do:
 
cmake ..
Changed:
<
<
With tags 0.61 and 0.62 use the following (single line):
>
>
With tags 0.61-0.63 use the following (single line):
 
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=/afs/cern.ch/sw/lcg/contrib/gcc/4.7.2/x86_64-slc6/bin/g++ -DCMAKE_C_COMPILER=/afs/cern.ch/sw/lcg/contrib/gcc/4.7.2/x86_64-slc6/bin/gcc -DCLHEP_INCLUDE_DIR=/afs/cern.ch/sw/lcg/external/clhep/2.1.4.1/x86_64-slc6-gcc47-opt/include -DCLHEP_LIBRARY_DIR=/afs/cern.ch/sw/lcg/external/clhep/2.1.4.1/x86_64-slc6-gcc47-opt/lib -DGeant4_INCLUDE_DIRS=/afs/cern.ch/sw/lcg/external/geant4/10.0.p03/share/include -DGeant4_LIBRARY_DIR=/afs/cern.ch/sw/lcg/external/geant4/10.0.p03/x86_64-slc6-gcc47-opt/lib64 -DGeant4_DIR=/afs/cern.ch/sw/lcg/external/geant4/10.0.p03/x86_64-slc6-gcc47-opt/lib64/Geant4-10.0.1 -DGeant4_VERSION=10.0.1 -DXercesC_INCLUDE_DIR=/afs/cern.ch/sw/lcg/external/XercesC/3.1.1p2/x86_64-slc6-gcc47-opt/include -DXercesC_LIBRARY_DIR=/afs/cern.ch/sw/lcg/external/XercesC/3.1.1p2/x86_64-slc6-gcc47-opt/lib -DGeant4_USE_FILE=/afs/cern.ch/sw/lcg/external/geant4/10.0.p03/x86_64-slc6-gcc47-opt/lib64/Geant4-10.0.1/UseGeant4.cmake -DUSE_AFS=OFF ..

Revision 4405 Feb 2015 - JsnuverinkSnuverink

Line: 1 to 1
 
META TOPICPARENT name="BdSim"

BDSIM Install

Line: 175 to 175
 

ROOT (optional)

Changed:
<
<
Download the sources from ROOT and follow the instructions.
>
>
Download the sources from ROOT and follow the instructions. Both versions 5 and 6 are compatible with BDSIM.
 

AFS connected machine (not for Mac so far, since not aware of Mac-compatible Geant version on AFS)

Revision 4322 Jan 2015 - JsnuverinkSnuverink

Line: 1 to 1
 
META TOPICPARENT name="BdSim"

BDSIM Install

Line: 205 to 205
  The recommended possibility is to clone the git repository
Added:
>
>
If the clone gets stuck with "error: RPC failed; result=22, HTTP code = 405" then just CTRL-C. The checkout will have been successful.
 
git clone --recursive https://bitbucket.org/stewartboogert/bdsim
cd bdsim

Revision 4209 Jan 2015 - JsnuverinkSnuverink

Line: 1 to 1
 
META TOPICPARENT name="BdSim"

BDSIM Install

Line: 178 to 178
 Download the sources from ROOT and follow the instructions.

Changed:
<
<

AFS connected machine (not for Mac so far, since no Mac-compatible Geant version on AFS)

>
>

AFS connected machine (not for Mac so far, since not aware of Mac-compatible Geant version on AFS)

 
  • tested on SLC5 and SLC6
Changed:
<
<
When the machine has AFS connection, then the dependent packages like Geant4 can be taken from there and don't need to be installed. Make sure the same compiler version is used for BDSIM as the one for Geant4.
>
>
When the machine has AFS connection, then the dependent packages like Geant4 can be taken from there and don't need to be installed.
 
Changed:
<
<
For Geant4.9.6, e.g.
>
>
The same compiler version needs to be used for BDSIM as the one for Geant4.

For version 0.6 and older

 
source /afs/cern.ch/user/j/jsnuveri/public/gcc46-setup.sh
source /afs/cern.ch/user/j/jsnuveri/public/geant4.9.6-setup.sh
Changed:
<
<
For Geant4.10, e.g.
>
>
For the tags 0.61 and 0.62 and the develop branch
 
source /afs/cern.ch/user/j/jsnuveri/public/gcc47-setup.sh
source /afs/cern.ch/user/j/jsnuveri/public/geant4.10-setup.sh
Line: 233 to 235
 

Configure

Added:
>
>
Except for tags 0.61 and 0.62 do:
 
cmake ..
Changed:
<
<
When using AFS installed Geant4.10 use the following (single line):
>
>
With tags 0.61 and 0.62 use the following (single line):
 
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=/afs/cern.ch/sw/lcg/contrib/gcc/4.7.2/x86_64-slc6/bin/g++ -DCMAKE_C_COMPILER=/afs/cern.ch/sw/lcg/contrib/gcc/4.7.2/x86_64-slc6/bin/gcc -DCLHEP_INCLUDE_DIR=/afs/cern.ch/sw/lcg/external/clhep/2.1.4.1/x86_64-slc6-gcc47-opt/include -DCLHEP_LIBRARY_DIR=/afs/cern.ch/sw/lcg/external/clhep/2.1.4.1/x86_64-slc6-gcc47-opt/lib -DGeant4_INCLUDE_DIRS=/afs/cern.ch/sw/lcg/external/geant4/10.0.p03/share/include -DGeant4_LIBRARY_DIR=/afs/cern.ch/sw/lcg/external/geant4/10.0.p03/x86_64-slc6-gcc47-opt/lib64 -DGeant4_DIR=/afs/cern.ch/sw/lcg/external/geant4/10.0.p03/x86_64-slc6-gcc47-opt/lib64/Geant4-10.0.1 -DGeant4_VERSION=10.0.1 -DXercesC_INCLUDE_DIR=/afs/cern.ch/sw/lcg/external/XercesC/3.1.1p2/x86_64-slc6-gcc47-opt/include -DXercesC_LIBRARY_DIR=/afs/cern.ch/sw/lcg/external/XercesC/3.1.1p2/x86_64-slc6-gcc47-opt/lib -DGeant4_USE_FILE=/afs/cern.ch/sw/lcg/external/geant4/10.0.p03/x86_64-slc6-gcc47-opt/lib64/Geant4-10.0.1/UseGeant4.cmake -DUSE_AFS=OFF ..

Revision 4106 Jan 2015 - JsnuverinkSnuverink

Line: 1 to 1
 
META TOPICPARENT name="BdSim"

BDSIM Install

Line: 110 to 110
  BDSIM now builds with the most recent versions of Geant4, but only the BDSIM develop branch. A new official version will be released soon (January 2015).
Changed:
<
<
If not built with MacPorts then download the 4.10.00.p02 version or an older version from the Geant.
>
>
If not built with MacPorts then download the 4.10.01 version or an older version from the Geant archive.
  Move and unpack to a suitable place:
Changed:
<
<
tar -xzf geant4.10.00.p02.tar.gz cd geant4.10.00.p02
>
>
tar -xzf geant4.10.01.tar.gz cd geant4.10.01
 

Make build directory

Line: 128 to 128
 

Configure

Changed:
<
<
Configure and select C/C++ compiler (optional). Switch on GDML support and visualisation drivers in Geant4 as preferred (not all supported in BDSIM, please submit a request if your favourite is missing. A full list of options can be found on the Geant
>
>
Configure and select C/C++ compiler (optional). Switch on GDML support and visualisation drivers in Geant4 as preferred (not all supported in BDSIM, please submit a request if your favourite is missing. A full list of options can be found on the Geant website.
  4.10:
Changed:
<
<
cmake -DCMAKE_INSTALL_PREFIX=/opt/geant4/geant4.10.0 -DCMAKE_CXX_COMPILER=g++ -DCMAKE_C_COMPILER=gcc -DGEANT4_INSTALL_DATA=ON -DGEANT4_USE_GDML=ON -DGEANT4_USE_OPENGL=ON -DGEANT4_USE_OPENGL_X11=ON -DGEANT4_USE_QT=ON -DGEANT4_USE_RAYTRACER_X11=ON -DGEANT4_USE_XM=ON ..
>
>
cmake -DCMAKE_INSTALL_PREFIX=/opt/geant4/geant4.10.1 -DCMAKE_CXX_COMPILER=g++ -DCMAKE_C_COMPILER=gcc -DGEANT4_INSTALL_DATA=ON -DGEANT4_USE_GDML=ON -DGEANT4_USE_OPENGL=ON -DGEANT4_USE_OPENGL_X11=ON -DGEANT4_USE_QT=ON -DGEANT4_USE_RAYTRACER_X11=ON -DGEANT4_USE_XM=ON ..
 

4.9.6:

Line: 161 to 161
 

No AFS

Changed:
<
<
Geant website.
>
>
  • tested on SLC5. Download Geant4.10.1 or an older version from the
Geant archive.
  Move and unpack to a suitable place:
Changed:
<
<
tar -xzf geant4.10.00.p02.tar.gz cd geant4.10.00.p02
>
>
tar -xzf geant4.10.01.tar.gz cd geant4.10.01
 

Install necessary packages CLHEP and xerces-c. xerces-c can be installed from sources or via a package installer like yum.

Line: 237 to 237
 cmake ..
Changed:
<
<
Additional debug output can be generated with 'export VERBOSE=1'
>
>
When using AFS installed Geant4.10 use the following (single line):
 
Changed:
<
<

check or change options (optional):

>
>
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=/afs/cern.ch/sw/lcg/contrib/gcc/4.7.2/x86_64-slc6/bin/g++ -DCMAKE_C_COMPILER=/afs/cern.ch/sw/lcg/contrib/gcc/4.7.2/x86_64-slc6/bin/gcc -DCLHEP_INCLUDE_DIR=/afs/cern.ch/sw/lcg/external/clhep/2.1.4.1/x86_64-slc6-gcc47-opt/include -DCLHEP_LIBRARY_DIR=/afs/cern.ch/sw/lcg/external/clhep/2.1.4.1/x86_64-slc6-gcc47-opt/lib -DGeant4_INCLUDE_DIRS=/afs/cern.ch/sw/lcg/external/geant4/10.0.p03/share/include -DGeant4_LIBRARY_DIR=/afs/cern.ch/sw/lcg/external/geant4/10.0.p03/x86_64-slc6-gcc47-opt/lib64 -DGeant4_DIR=/afs/cern.ch/sw/lcg/external/geant4/10.0.p03/x86_64-slc6-gcc47-opt/lib64/Geant4-10.0.1 -DGeant4_VERSION=10.0.1 -DXercesC_INCLUDE_DIR=/afs/cern.ch/sw/lcg/external/XercesC/3.1.1p2/x86_64-slc6-gcc47-opt/include -DXercesC_LIBRARY_DIR=/afs/cern.ch/sw/lcg/external/XercesC/3.1.1p2/x86_64-slc6-gcc47-opt/lib -DGeant4_USE_FILE=/afs/cern.ch/sw/lcg/external/geant4/10.0.p03/x86_64-slc6-gcc47-opt/lib64/Geant4-10.0.1/UseGeant4.cmake -DUSE_AFS=OFF ..

Additional debug output can be generated with

'export VERBOSE=1'

Check or change options (optional):

 
ccmake .

Revision 4016 Dec 2014 - JsnuverinkSnuverink

Line: 1 to 1
 
META TOPICPARENT name="BdSim"

BDSIM Install

Line: 31 to 31
 sudo port install qt4-mac
Changed:
<
<
And openmotif:
>
>
And openmotif (for motif support):
 
sudo port install openmotif
Line: 43 to 43
 sudo port install geant4.10.0
Changed:
<
<
  • For motif support, use the openmotif port.
>
>
BDSIM uses the boost libraries (if not available, these can be installed from macports).
sudo port install boost
 

CLHEP

Line: 104 to 108
 

Geant4

Changed:
<
<
NEW BDSIM now builds with the most recent versions of Geant4.
>
>
BDSIM now builds with the most recent versions of Geant4, but only the BDSIM develop branch. A new official version will be released soon (January 2015).
  If not built with MacPorts then download the 4.10.00.p02 version or an older version from the Geant.
Line: 183 to 187
 
source /afs/cern.ch/user/j/jsnuveri/public/gcc46-setup.sh
Changed:
<
<
source /afs/cern.ch/work/j/jsnuveri/public/geant4.9.6-setup.sh
>
>
source /afs/cern.ch/user/j/jsnuveri/public/geant4.9.6-setup.sh
 

For Geant4.10, e.g.

source /afs/cern.ch/user/j/jsnuveri/public/gcc47-setup.sh
Changed:
<
<
source /afs/cern.ch/work/j/jsnuveri/public/geant4.10-setup.sh
>
>
source /afs/cern.ch/user/j/jsnuveri/public/geant4.10-setup.sh
 

Line: 197 to 201
 

Get BDSIM

Changed:
<
<
A zip file for the latest version 0.6 can be downloaded: bdsim.zip. Another possibility is to clone the git repository
>
>
The recommended possibility is to clone the git repository
 
Changed:
<
<
unzip bdsim.zip mv stewartboogert-bdsim-f1530631af2a bdsim
>
>
git clone --recursive https://bitbucket.org/stewartboogert/bdsim
 cd bdsim
Changed:
<
<
or
>
>
The recursive flag is to get a copy of various utilities that exist as separately developed git repositories. Entirely optional. This will get you the official version 0.6. For working with Geant4.10 use the newer version 0.62:
 
Changed:
<
<
git clone --recursive https://bitbucket.org/stewartboogert/bdsim cd bdsim
>
>
git fetch && git checkout v0.62
 

(the git versioning program can be installed with macports as well if not available).

Changed:
<
<
The recursive flag is to get a copy of various utilities that exist as separately developed git repositories. Entirely optional.

BDSIM uses the boost libraries (if not available, these can be installed from macports).

>
>
Also a zip file for version 0.6 can be downloaded: bdsim.zip.
 
Changed:
<
<
sudo port install boost
>
>
unzip bdsim.zip mv stewartboogert-bdsim-f1530631af2a bdsim cd bdsim
 

make build directory:

Line: 339 to 344
 /afs/cern.ch/sw/lcg/external/geant4/9.6.p02/x86_64-slc6-gcc46-opt/lib64/libG4analysis.so: undefined reference to `std::__detail::_List_node_base::_M_unhook()@GLIBCXX_3.4.15'
Changed:
<
<
This means compiler version for BDSIM is different from the one used to compile Geant4. Make sure it is the same compiler version.
>
>
This means compiler version for BDSIM is different from the one used to compile Geant4. Make sure it is the same compiler version. Remember to start from a clean build directory otherwise cmake does NOT update the compiler version.
 

Revision 3914 Dec 2014 - JsnuverinkSnuverink

Line: 1 to 1
 
META TOPICPARENT name="BdSim"

BDSIM Install

Line: 214 to 214
  The recursive flag is to get a copy of various utilities that exist as separately developed git repositories. Entirely optional.
Added:
>
>
BDSIM uses the boost libraries (if not available, these can be installed from macports).
sudo port install boost
 

make build directory:

Revision 3814 Dec 2014 - JsnuverinkSnuverink

Line: 1 to 1
 
META TOPICPARENT name="BdSim"

BDSIM Install

Line: 31 to 31
 sudo port install qt4-mac
Added:
>
>
And openmotif:

sudo port install openmotif
 Geant4 is available on Macports also:
Line: 204 to 210
 cd bdsim
Added:
>
>
(the git versioning program can be installed with macports as well if not available).
 The recursive flag is to get a copy of various utilities that exist as separately developed git repositories. Entirely optional.

make build directory:

Revision 3706 Dec 2014 - JsnuverinkSnuverink

Line: 1 to 1
 
META TOPICPARENT name="BdSim"

BDSIM Install

Line: 171 to 171
 

AFS connected machine (not for Mac so far, since no Mac-compatible Geant version on AFS)

  • tested on SLC5 and SLC6
Changed:
<
<
When the machine has AFS connection, then the dependent packages like Geant4 can be taken from there and don't need to be installed. However, there seem to be some incompatibility library problems. Installing Geant4 locally is recommended.
>
>
When the machine has AFS connection, then the dependent packages like Geant4 can be taken from there and don't need to be installed. Make sure the same compiler version is used for BDSIM as the one for Geant4.

For Geant4.9.6, e.g.

source /afs/cern.ch/user/j/jsnuveri/public/gcc46-setup.sh
source /afs/cern.ch/work/j/jsnuveri/public/geant4.9.6-setup.sh

For Geant4.10, e.g.

source /afs/cern.ch/user/j/jsnuveri/public/gcc47-setup.sh
source /afs/cern.ch/work/j/jsnuveri/public/geant4.10-setup.sh
 

BDSIM

Revision 3606 Dec 2014 - JsnuverinkSnuverink

Line: 1 to 1
 
META TOPICPARENT name="BdSim"

BDSIM Install

Line: 302 to 302
  For more info see https://help.ubuntu.com/community/BinaryDriverHowto/AMD
Added:
>
>

Build does not work

GLIBCXX errors

If one gets errors like

Linking CXX executable bdsim
/afs/cern.ch/sw/lcg/external/geant4/9.6.p02/x86_64-slc6-gcc46-opt/lib64/libG4analysis.so: undefined reference to `std::__detail::_List_node_base::_M_unhook()@GLIBCXX_3.4.15'

This means compiler version for BDSIM is different from the one used to compile Geant4. Make sure it is the same compiler version.

 

Revision 3522 Sep 2014 - JsnuverinkSnuverink

Line: 1 to 1
 
META TOPICPARENT name="BdSim"

BDSIM Install

Line: 34 to 34
 Geant4 is available on Macports also:
Changed:
<
<
sudo port install geant4
>
>
sudo port install geant4.10.0
 

  • For motif support, use the openmotif port.

Revision 3411 Sep 2014 - JsnuverinkSnuverink

Line: 1 to 1
 
META TOPICPARENT name="BdSim"

BDSIM Install

Line: 14 to 14
 

Mac

Changed:
<
<
  • tested on Mac OS 10.8
>
>
  • tested on Mac OS 10.8 and older
 
  • The XQuartz package for X11 windowing under MacOSX should be installed.

Macports

Line: 25 to 25
 sudo port install xercesc3
Added:
>
>
For Qt visualisation (recommended) install qt4 for Geant4 versions 10:

sudo port install qt4-mac
 Geant4 is available on Macports also:
Line: 94 to 100
  NEW BDSIM now builds with the most recent versions of Geant4.
Changed:
<
<
If not built with MacPorts then download the 4.9.6.p03 version or an older version from the Geant.
>
>
If not built with MacPorts then download the 4.10.00.p02 version or an older version from the Geant.
  Move and unpack to a suitable place:
Changed:
<
<
tar -xzf geant4.9.6.p03.tar.gz cd geant4.9.6.p03
>
>
tar -xzf geant4.10.00.p02.tar.gz cd geant4.10.00.p02
 

Make build directory

Line: 114 to 120
  Configure and select C/C++ compiler (optional). Switch on GDML support and visualisation drivers in Geant4 as preferred (not all supported in BDSIM, please submit a request if your favourite is missing. A full list of options can be found on the Geant
Changed:
<
<
4.9.5 and 4.9.6:
>
>
4.10:
 
Changed:
<
<
cmake -DCMAKE_CXX_COMPILER=g++ -DCMAKE_C_COMPILER=gcc -DGEANT4_INSTALL_DATA=ON -DGEANT4_USE_GDML=ON -DGEANT4_USE_OPENGL=ON -DGEANT4_USE_OPENGL_X11=ON -DGEANT4_USE_QT=ON -DGEANT4_USE_RAYTRACER_X11=ON -DGEANT4_USE_XM=ON ..
>
>
cmake -DCMAKE_INSTALL_PREFIX=/opt/geant4/geant4.10.0 -DCMAKE_CXX_COMPILER=g++ -DCMAKE_C_COMPILER=gcc -DGEANT4_INSTALL_DATA=ON -DGEANT4_USE_GDML=ON -DGEANT4_USE_OPENGL=ON -DGEANT4_USE_OPENGL_X11=ON -DGEANT4_USE_QT=ON -DGEANT4_USE_RAYTRACER_X11=ON -DGEANT4_USE_XM=ON ..
 
Changed:
<
<
4.9.4:
>
>
4.9.6:
 
Changed:
<
<
cmake -DCMAKE_CXX_COMPILER=g++ -DCMAKE_C_COMPILER=gcc -DGEANT4_USE_GDML=ON -DGEANT4_USE_OPENGL=ON -DGEANT4_USE_QT=ON -DGEANT4_USE_RAYTRACERX=ON -DGEANT4_USE_XM=ON ..
>
>
cmake -DCMAKE_CXX_COMPILER=g++ -DCMAKE_C_COMPILER=gcc -DGEANT4_INSTALL_DATA=ON -DGEANT4_USE_GDML=ON -DGEANT4_USE_OPENGL=ON -DGEANT4_USE_OPENGL_X11=ON -DGEANT4_USE_QT=ON -DGEANT4_USE_RAYTRACER_X11=ON -DGEANT4_USE_XM=ON ..
 

Check if options are alright (some users reported problems here), or if you want to switch some:

Line: 144 to 151
 

No AFS

Changed:
<
<
  • tested on SLC5. Download Geant4.9.6.p03 or an older version from the
>
>
 Geant website.

Move and unpack to a suitable place:

Changed:
<
<
tar -xzf geant4.9.6.p03.tar.gz cd geant4.9.6.p03
>
>
tar -xzf geant4.10.00.p02.tar.gz cd geant4.10.00.p02
 

Install necessary packages CLHEP and xerces-c. xerces-c can be installed from sources or via a package installer like yum.

Revision 3321 Aug 2014 - JsnuverinkSnuverink

Line: 1 to 1
 
META TOPICPARENT name="BdSim"

BDSIM Install

Line: 213 to 213
 make
Added:
>
>
Doxygen documentation can be generated with
make doc
 

Test (optional)

All tests (can take up to an hour!):

Revision 3207 May 2014 - JsnuverinkSnuverink

Line: 1 to 1
 
META TOPICPARENT name="BdSim"

BDSIM Install

Please send any comments to Jochem.Snuverink at rhul.ac.uk

Changed:
<
<

1.Preparation

>
>
 
Changed:
<
<

Platforms

>
>

Preparation

 
Deleted:
<
<

2.BDSIM

 

Mac

Line: 171 to 167
 When the machine has AFS connection, then the dependent packages like Geant4 can be taken from there and don't need to be installed. However, there seem to be some incompatibility library problems. Installing Geant4 locally is recommended.

Changed:
<
<

BDSIM

>
>

BDSIM

 
Changed:
<
<

Get BDSIM

>
>

Get BDSIM

  A zip file for the latest version 0.6 can be downloaded: bdsim.zip. Another possibility is to clone the git repository
Line: 190 to 186
  The recursive flag is to get a copy of various utilities that exist as separately developed git repositories. Entirely optional.
Changed:
<
<

make build directory:

>
>

make build directory:

 
mkdir build
cd build
Changed:
<
<

Configure

>
>

Configure

 
cmake ..
Line: 205 to 201
  Additional debug output can be generated with 'export VERBOSE=1'
Changed:
<
<

check or change options (optional):

>
>

check or change options (optional):

 
ccmake .
Changed:
<
<

Build

>
>

Build

 
make
Changed:
<
<

Test (optional)

>
>

Test (optional)

  All tests (can take up to an hour!):
Line: 229 to 225
 ctest -E LONG
Changed:
<
<

Install

>
>
Visualisation test. Run one of the examples, e.g.

cd examples/ATF2
../../bdsim --file=atf2.gmad

Select a graphics system in the file vis.mac that is available for you. An OpenGL one (e.g. OGLSQt) is recommended.

Install

 
sudo make install
Added:
>
>

Trouble shooting

Visualisation does not work

"parameter value is not listed in the candidate List."

Check which graphics systems BDSIM has available, this is shown in the terminal. E.g.:

You have successfully registered the following graphics systems.
Current available graphics systems are:
  G4HepRepFile (HepRepFile)
  OpenGLImmediateQt (OGLIQt)
  OpenGLImmediateX (OGLIX)
  OpenGLImmediateXm (OGLIXm)
  OpenGLStoredQt (OGLSQt)
  OpenGLStoredX (OGLSX)
  OpenGLStoredXm (OGLSXm)
  RayTracerX (RayTracerX)

If your favourite is not there check that Geant4 is correctly compiled with those graphics system.

Error from OpenGL

G4OpenGLImmediateX::CreateViewer: error flagged by negative view id in
G4OpenGLImmediateXViewer creation.

Check that your graphics card driver is installed correctly for your memory card and possibly reinstall them.

For Ubuntu, run:

fglrxinfo

If fglrx is installed and working well you should see an output similar to:

fglrxinfo
display: :0  screen: 0
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: ATI Radeon HD 4300/4500 Series       
OpenGL version string: 3.3.11399 Compatibility Profile Context

For more info see https://help.ubuntu.com/community/BinaryDriverHowto/AMD

 

Revision 3106 May 2014 - JsnuverinkSnuverink

Line: 1 to 1
 
META TOPICPARENT name="BdSim"

BDSIM Install

Line: 139 to 139
 

Build and install

Changed:
<
<
'make' or 'make -j4' (for speedup, using
>
>
'make' or 'make -j4' (for speedup, using multiple processors, in this case 4)
 sudo make install

Revision 3028 Apr 2014 - JsnuverinkSnuverink

Line: 1 to 1
 
META TOPICPARENT name="BdSim"

BDSIM Install

Line: 98 to 98
  NEW BDSIM now builds with the most recent versions of Geant4.
Changed:
<
<
If not built with MacPorts then download the 4.01 version or an older version from the Geant.
>
>
If not built with MacPorts then download the 4.9.6.p03 version or an older version from the Geant.
  Move and unpack to a suitable place:
Changed:
<
<
tar -xzf geant4.9.6.p01.tar.gz cd geant4.9.6.p01
>
>
tar -xzf geant4.9.6.p03.tar.gz cd geant4.9.6.p03
 

Make build directory

Line: 148 to 148
 

No AFS

Changed:
<
<
  • tested on SLC5. Download Geant4.9.6.p02 or an older version from the
>
>
  • tested on SLC5. Download Geant4.9.6.p03 or an older version from the
 Geant website.

Move and unpack to a suitable place:

Changed:
<
<
tar -xzf geant4.9.6.p02.tar.gz cd geant4.9.6.p02
>
>
tar -xzf geant4.9.6.p03.tar.gz cd geant4.9.6.p03
 

Install necessary packages CLHEP and xerces-c. xerces-c can be installed from sources or via a package installer like yum.

Revision 2927 Jan 2014 - LaurieNevay

Line: 1 to 1
 
META TOPICPARENT name="BdSim"

BDSIM Install

Line: 182 to 182
 cd bdsim
Added:
>
>
or
git clone --recursive https://bitbucket.org/stewartboogert/bdsim
cd bdsim

The recursive flag is to get a copy of various utilities that exist as separately developed git repositories. Entirely optional.

 

make build directory:

Revision 2802 Dec 2013 - JsnuverinkSnuverink

Line: 1 to 1
 
META TOPICPARENT name="BdSim"

BDSIM Install

Line: 29 to 29
 sudo port install xercesc3
Changed:
<
<
Unfortunately, the port of clhep has a too new version and the geant port is broken. These need to be installed manually.
>
>
Geant4 is available on Macports also:

sudo port install geant4
 
  • For motif support, use the openmotif port.

CLHEP

Changed:
<
<
NEW Installing CLHEP is not strictly necessary, since recent version of Geant include CLHEP installation.
>
>
NEW Installing CLHEP is not strictly necessary, since recent versions of Geant include CLHEP installation, including the Macports version.
  Download the 2.1.3.1 version from the CLHEP website. Or for version of Geant4 9.5 and older 2.1.0.1
Line: 94 to 98
  NEW BDSIM now builds with the most recent versions of Geant4.
Changed:
<
<
Download the 4.01 version or an older version from the Geant.
>
>
If not built with MacPorts then download the 4.01 version or an older version from the Geant.
  Move and unpack to a suitable place:
Line: 161 to 165
 Download the sources from ROOT and follow the instructions.

Changed:
<
<

AFS connected machine (not for Mac so far, since no GeantAFS)

>
>

AFS connected machine (not for Mac so far, since no Mac-compatible Geant version on AFS)

 
Changed:
<
<
  • tested on SLC5
>
>
  • tested on SLC5 and SLC6
 When the machine has AFS connection, then the dependent packages like Geant4 can be taken from there and don't need to be installed. However, there seem to be some incompatibility library problems. Installing Geant4 locally is recommended.

Revision 2702 Dec 2013 - JsnuverinkSnuverink

Line: 1 to 1
 
META TOPICPARENT name="BdSim"

BDSIM Install

Line: 172 to 171
 

Get BDSIM

Changed:
<
<
A tar file for the latest version (date 21 August 2013) can be downloaded: bdsim.tar.gz
>
>
A zip file for the latest version 0.6 can be downloaded: bdsim.zip. Another possibility is to clone the git repository
 
Changed:
<
<
tar -xzf bdsim.tar.gz mv stewartboogert-bdsim-c7212662982c bdsim
>
>
unzip bdsim.zip mv stewartboogert-bdsim-f1530631af2a bdsim
 cd bdsim

Revision 2610 Oct 2013 - LaurieNevay

Line: 1 to 1
 
META TOPICPARENT name="BdSim"

BDSIM Install

Line: 19 to 19
 

Mac

  • tested on Mac OS 10.8
Added:
>
>
  • The XQuartz package for X11 windowing under MacOSX should be installed.
 

Macports

Line: 28 to 29
 sudo port install xercesc3
Changed:
<
<
Unfortunately, the port of clhep has a too new version and the geantbe broken. These need to be installed manually.
>
>
Unfortunately, the port of clhep has a too new version and the geant port is broken. These need to be installed manually.

  • For motif support, use the openmotif port.
 

CLHEP

Revision 2510 Oct 2013 - JsnuverinkSnuverink

Line: 1 to 1
 
META TOPICPARENT name="BdSim"

BDSIM Install

Line: 25 to 25
 Macports allows various packages to be installed along with their necessary dependencies. We use it to install the dependencies of Geant:
Changed:
<
<
sudo port install xercescqt4-mac
>
>
sudo port install xercesc3
 

Unfortunately, the port of clhep has a too new version and the geantbe broken. These need to be installed manually.

Revision 2423 Aug 2013 - JsnuverinkSnuverink

Line: 1 to 1
 
META TOPICPARENT name="BdSim"

BDSIM Install

Line: 169 to 169
 

Get BDSIM

Added:
>
>
A tar file for the latest version (date 21 August 2013) can be downloaded: bdsim.tar.gz
 
Changed:
<
<
git clone --progress -v https://bitbucket.org/stewartboogert/bdsim.git
>
>
tar -xzf bdsim.tar.gz mv stewartboogert-bdsim-c7212662982c bdsim
 cd bdsim

Revision 2322 Aug 2013 - JsnuverinkSnuverink

Line: 1 to 1
 
META TOPICPARENT name="BdSim"

BDSIM Install

Line: 145 to 142
 

No AFS

Changed:
<
<
  • tested on SLC4.01 version or an older version from the
Geant
>
>
  • tested on SLC5. Download Geant4.9.6.p02 or an older version from the
Geant website.
  Move and unpack to a suitable place:
Changed:
<
<
tar -xzf geant4.9.6.p01.tar.gz cd geant4.9.6.p01
>
>
tar -xzf geant4.9.6.p02.tar.gz cd geant4.9.6.p02
 

Install necessary packages CLHEP and xerces-c. xerces-c can be installed from sources or via a package installer like yum.

Line: 164 to 161
 

AFS connected machine (not for Mac so far, since no GeantAFS)

Changed:
<
<
  • tested on SLChas AFS connection, then the dependent packages like Geantfrom there and don't need to be installed. However, there seem to be some incompatibility library problems. Installing Geant.
>
>
  • tested on SLC5
When the machine has AFS connection, then the dependent packages like Geant4 can be taken from there and don't need to be installed. However, there seem to be some incompatibility library problems. Installing Geant4 locally is recommended.
 

BDSIM

Line: 204 to 203
 

Test (optional)

Changed:
<
<
All tests:
>
>
All tests (can take up to an hour!):
 
ctest

Revision 2231 Jul 2013 - JsnuverinkSnuverink

Line: 1 to 1
 
META TOPICPARENT name="BdSim"

BDSIM Install

Line: 33 to 33
 

CLHEP

Changed:
<
<
NEW Installing CLHEP is not strictly necessary, since recent version of GeantCLHEP installation.
>
>
NEW Installing CLHEP is not strictly necessary, since recent version of Geant include CLHEP installation.
  Download the 2.1.3.1 version from the CLHEP website. Or for version of Geant4 9.5 and older 2.1.0.1
Line: 220 to 220
 sudo make install
Deleted:
<
<
<--

Settings just to customise this page

-->
 \ No newline at end of file
Added:
>
>
<--

Settings just to customise this page

-->

Revision 2119 Jul 2013 - JsnuverinkSnuverink

Line: 1 to 1
 
META TOPICPARENT name="BdSim"

BDSIM Install

Line: 204 to 204
 

Test (optional)

Added:
>
>
All tests:
 
ctest
Added:
>
>
Only short tests:
ctest -E LONG
 

Install

Revision 2011 Jul 2013 - JsnuverinkSnuverink

Line: 1 to 1
 
META TOPICPARENT name="BdSim"

BDSIM Install

Line: 37 to 35
  NEW Installing CLHEP is not strictly necessary, since recent version of GeantCLHEP installation.
Changed:
<
<
Download the 2.1.0.1 version from the CLHEP website.
>
>
Download the 2.1.3.1 version from the CLHEP website. Or for version of Geant4 9.5 and older 2.1.0.1

2.1.3.1

Move and unpack to a suitable place:

tar -xzf clhep-2.1.0.1.tgz
cd 2.1.3.1

Make build directory:

mkdir build
cd build



cmake ../CLHEP
make
sudo make install

2.1.0.1

  Move and unpack to a suitable place:
Line: 52 to 73
 cd build
Changed:
<
<

Configure and Build

>
>
Configure and Build:
  See configure options for more details.
Line: 72 to 93
 

Geant4

Changed:
<
<
NEW BDSIM now builds with the most recent versions of Geant4 (4.writing)
>
>
NEW BDSIM now builds with the most recent versions of Geant4.
 
Changed:
<
<
Download the 4.01 version or an older version from the Geant.
>
>
Download the 4.01 version or an older version from the Geant.
  Move and unpack to a suitable place:
Line: 197 to 214
 sudo make install
Deleted:
<
<

Revision 1921 May 2013 - JsnuverinkSnuverink

Line: 1 to 1
 
META TOPICPARENT name="BdSim"

BDSIM Install

Line: 35 to 35
 

CLHEP

Changed:
<
<
NEW Installing CLHEP is not strictly necessary, since recent version of Geant4 also provide a CLHEP installation.
>
>
NEW Installing CLHEP is not strictly necessary, since recent version of GeantCLHEP installation.
  Download the 2.1.0.1 version from the CLHEP website.
Line: 96 to 96
  Configure and select C/C++ compiler (optional). Switch on GDML support and visualisation drivers in Geant4 as preferred (not all supported in BDSIM, please submit a request if your favourite is missing. A full list of options can be found on the Geant
Changed:
<
<
4.9.6:
>
>
4.9.5 and 4.9.6:
 
cmake -DCMAKE_CXX_COMPILER=g++ -DCMAKE_C_COMPILER=gcc -DGEANT4_INSTALL_DATA=ON -DGEANT4_USE_GDML=ON -DGEANT4_USE_OPENGL=ON -DGEANT4_USE_OPENGL_X11=ON -DGEANT4_USE_QT=ON -DGEANT4_USE_RAYTRACER_X11=ON -DGEANT4_USE_XM=ON ..
Added:
>
>
4.9.4:
cmake -DCMAKE_CXX_COMPILER=g++ -DCMAKE_C_COMPILER=gcc -DGEANT4_USE_GDML=ON -DGEANT4_USE_OPENGL=ON -DGEANT4_USE_QT=ON -DGEANT4_USE_RAYTRACERX=ON -DGEANT4_USE_XM=ON ..
 Check if options are alright (some users reported problems here), or if you want to switch some:
Line: 112 to 117
 

Build and install

Changed:
<
<
'make' or 'make -j4' (for speedup, using 4 cores)
>
>
'make' or 'make -j4' (for speedup, using
 sudo make install

Revision 1821 May 2013 - JsnuverinkSnuverink

Line: 1 to 1
 
META TOPICPARENT name="BdSim"

BDSIM Install

Line: 24 to 24
 

Macports

Changed:
<
<
Macports allows various packages to be installed along with their necessary dependencies. We use it to install the dependencies of Geant4 and BDSIM:
>
>
Macports allows various packages to be installed along with their necessary dependencies. We use it to install the dependencies of Geant:
 
Changed:
<
<
sudo port install xercesc3 sudo port install qt4-mac
>
>
sudo port install xercescqt4-mac
 
Changed:
<
<
Unfortunately, the port of clhep has a too new version and the geant4 port appears to be broken. These need to be installed manually.
>
>
Unfortunately, the port of clhep has a too new version and the geantbe broken. These need to be installed manually.
 

CLHEP

Added:
>
>
NEW Installing CLHEP is not strictly necessary, since recent version of Geant4 also provide a CLHEP installation.
 Download the 2.1.0.1 version from the CLHEP website.

Move and unpack to a suitable place:

Line: 71 to 72
 

Geant4

Changed:
<
<
NEW BDSIM now builds with the most recent versions of Geant4 (4.9.6 p01 at time of writing)
>
>
NEW BDSIM now builds with the most recent versions of Geant4 (4.writing)
 
Changed:
<
<
Download the 4.9.6p01 version or an older version from the Geant4 archive website.
>
>
Download the 4.01 version or an older version from the Geant.
  Move and unpack to a suitable place:
Line: 93 to 94
 

Configure

Changed:
<
<
Configure and select C/C++ compiler (optional), for the moment only tested with gcc and not with native clang compiler. Make sure C and CXX are compatible. Switch on GDML support and visualisation drivers in Geant4 as preferred (not all supported in BDSIM, please submit a request if your favourite one is not).
>
>
Configure and select C/C++ compiler (optional). Switch on GDML support and visualisation drivers in Geant4 as preferred (not all supported in BDSIM, please submit a request if your favourite is missing. A full list of options can be found on the Geant
 
Added:
>
>
4.9.6:
 
Changed:
<
<
cmake -DCMAKE_CXX_COMPILER=g++ -DCMAKE_C_COMPILER=gcc -DGEANT4_USE_GDML=ON -DGEANT4_USE_OPENGL=ON -DGEANT4_USE_QT=ON -DGEANT4_USE_RAYTRACERX=ON -DGEANT4_USE_XM=ON ..
>
>
cmake -DCMAKE_CXX_COMPILER=g++ -DCMAKE_C_COMPILER=gcc -DGEANT4_INSTALL_DATA=ON -DGEANT4_USE_GDML=ON -DGEANT4_USE_OPENGL=ON -DGEANT4_USE_OPENGL_X11=ON -DGEANT4_USE_QT=ON -DGEANT4_USE_RAYTRACER_X11=ON -DGEANT4_USE_XM=ON ..
 
Changed:
<
<
Check if options are alright (some users reported problems here):
>
>
Check if options are alright (some users reported problems here), or if you want to switch some:
 
ccmake .
Changed:
<
<
If not correct, then change manually press 'c' and then 'q' (configure and quit)
>
>
If not correct, then change manually, press 'c' and then 'q' (configure and quit)
 

Build and install

Line: 119 to 121
 

No AFS

Changed:
<
<
  • tested on SLC5

Download the 4.9.6p01 version or an older version from the Geant4 archive website

>
>
  • tested on SLC4.01 version or an older version from the
Geant
  Move and unpack to a suitable place:
Line: 139 to 139
 

Changed:
<
<

AFS connected machine (not for Mac so far, since no Geant4 mac libraries on AFS)

  • tested on SLC5
>
>

AFS connected machine (not for Mac so far, since no GeantAFS)

 
Changed:
<
<
When the machine has AFS connection, then the dependent packages like Geant4 can be taken from there and don't need to be installed. However, there seem to be some incompatibility library problems. Installing Geant4 locally is recommended.
>
>
  • tested on SLChas AFS connection, then the dependent packages like Geantfrom there and don't need to be installed. However, there seem to be some incompatibility library problems. Installing Geant.
 

BDSIM

Line: 151 to 149
 

Get BDSIM

Changed:
<
<
svn co https://svn.pp.rhul.ac.uk/JAI/BDSIM/trunk cd trunk
>
>
git clone --progress -v https://bitbucket.org/stewartboogert/bdsim.git cd bdsim
 

make build directory:

Line: 198 to 196
 

Settings just to customise this page

Deleted:
<
<
  • Set MYTITLE = - Geant4 Beam Delivery Simulation
-->
 \ No newline at end of file
Added:
>
>
  • Set MYTITLE = - Geant>

Revision 1717 May 2013 - JsnuverinkSnuverink

Line: 1 to 1
 
META TOPICPARENT name="BdSim"

BDSIM Install

Line: 71 to 71
 

Geant4

Changed:
<
<
Currently BDSIM does not build with Geant4 versions 4.9.5 or higher.
>
>
NEW BDSIM now builds with the most recent versions of Geant4 (4.9.6 p01 at time of writing)
 
Changed:
<
<
Download the 4.9.4p04 version from the Geant4 archive website
>
>
Download the 4.9.6p01 version or an older version from the Geant4 archive website.
  Move and unpack to a suitable place:
Changed:
<
<
tar -xzf geant4.9.4.p04.tar.gz cd geant4.9.4.p04
>
>
tar -xzf geant4.9.6.p01.tar.gz cd geant4.9.6.p01
 

Make build directory

Line: 110 to 110
 

Build and install

Changed:
<
<
make
>
>
'make' or 'make -j4' (for speedup, using 4 cores)
 sudo make install
Line: 121 to 121
 
  • tested on SLC5
Changed:
<
<
Download the 4.9.4p04 version from the
>
>
Download the 4.9.6p01 version or an older version from the
 Geant4 archive website

Move and unpack to a suitable place:

Changed:
<
<
tar -xzf geant4.9.4.p04.tar.gz cd geant4.9.4.p04
>
>
tar -xzf geant4.9.6.p01.tar.gz cd geant4.9.6.p01
 

Install necessary packages CLHEP and xerces-c. xerces-c can be installed from sources or via a package installer like yum.

Revision 1606 Feb 2013 - JochemSnuverink

Line: 1 to 1
 
META TOPICPARENT name="BdSim"

BDSIM Install

Line: 93 to 93
 

Configure

Changed:
<
<
Configure and select C/C++ compiler (optional), for the moment only tested with gcc and not with native clang compiler. Make sure C and CXX are compatible. Switch on GDML support and visualisation options in Geant4.
>
>
Configure and select C/C++ compiler (optional), for the moment only tested with gcc and not with native clang compiler. Make sure C and CXX are compatible. Switch on GDML support and visualisation drivers in Geant4 as preferred (not all supported in BDSIM, please submit a request if your favourite one is not).
 
cmake -DCMAKE_CXX_COMPILER=g++ -DCMAKE_C_COMPILER=gcc -DGEANT4_USE_GDML=ON -DGEANT4_USE_OPENGL=ON -DGEANT4_USE_QT=ON -DGEANT4_USE_RAYTRACERX=ON -DGEANT4_USE_XM=ON ..

Revision 1528 Nov 2012 - JochemSnuverink

Line: 1 to 1
 
META TOPICPARENT name="BdSim"

BDSIM Install

Line: 133 to 133
  Install necessary packages CLHEP and xerces-c. xerces-c can be installed from sources or via a package installer like yum.
Added:
>
>

ROOT (optional)

Download the sources from ROOT and follow the instructions.

 

AFS connected machine (not for Mac so far, since no Geant4 mac libraries on AFS)

Revision 1427 Nov 2012 - JochemSnuverink

Line: 1 to 1
 
META TOPICPARENT name="BdSim"

BDSIM Install

Line: 33 to 33
  Unfortunately, the port of clhep has a too new version and the geant4 port appears to be broken. These need to be installed manually.
Added:
>
>
 

CLHEP

Download the 2.1.0.1 version from the CLHEP website.

Line: 116 to 117
 

Linux

Deleted:
<
<

AFS connected machine (not for Mac so far, since no Geant4 mac libraries on AFS)

  • tested on SLC5

When the machine has AFS connection, then the dependent packages like Geant4 can be taken from there and don't need to be installed.

 

No AFS

Changed:
<
<
  • untested
>
>
  • tested on SLC5
  Download the 4.9.4p04 version from the Geant4 archive website
Line: 137 to 131
 cd geant4.9.4.p04
Changed:
<
<
Install necessary packages CLHEP, XercesC.
>
>
Install necessary packages CLHEP and xerces-c. xerces-c can be installed from sources or via a package installer like yum.

AFS connected machine (not for Mac so far, since no Geant4 mac libraries on AFS)

  • tested on SLC5

When the machine has AFS connection, then the dependent packages like Geant4 can be taken from there and don't need to be installed. However, there seem to be some incompatibility library problems. Installing Geant4 locally is recommended.

 

BDSIM

Line: 162 to 163
 cmake ..
Added:
>
>
Additional debug output can be generated with 'export VERBOSE=1'
 

check or change options (optional):

Revision 1323 Nov 2012 - JochemSnuverink

Line: 1 to 1
 
META TOPICPARENT name="BdSim"

BDSIM Install

Line: 8 to 8
 

Platforms

Deleted:
<
<
 
Added:
>
>
 

2.BDSIM

Deleted:
<
<

AFS connected machine

  • tested on SLC5

When the machine has AFS connection, then the dependent packages like Geant4 can be taken from there and don't need to be installed.

 

Mac

Line: 123 to 116
 

Linux

Added:
>
>

AFS connected machine (not for Mac so far, since no Geant4 mac libraries on AFS)

  • tested on SLC5

When the machine has AFS connection, then the dependent packages like Geant4 can be taken from there and don't need to be installed.

No AFS

 
  • untested

Download the 4.9.4p04 version from the

Revision 1212 Nov 2012 - JochemSnuverink

Line: 1 to 1
 
META TOPICPARENT name="BdSim"

BDSIM Install

Line: 105 to 105
 cmake -DCMAKE_CXX_COMPILER=g++ -DCMAKE_C_COMPILER=gcc -DGEANT4_USE_GDML=ON -DGEANT4_USE_OPENGL=ON -DGEANT4_USE_QT=ON -DGEANT4_USE_RAYTRACERX=ON -DGEANT4_USE_XM=ON ..
Added:
>
>
Check if options are alright (some users reported problems here):

ccmake .

If not correct, then change manually press 'c' and then 'q' (configure and quit)

 

Build and install

Revision 1105 Nov 2012 - JochemSnuverink

Line: 1 to 1
 
META TOPICPARENT name="BdSim"

BDSIM Install

Line: 147 to 147
 cd build
Changed:
<
<

Configure command:

>
>

Configure

 
cmake ..
Line: 159 to 159
 ccmake .
Changed:
<
<

Build command

>
>

Build

 
make
Changed:
<
<

Test command

>
>

Test (optional)

 
ctest
Added:
>
>

Install

sudo make install
 

Revision 1030 Oct 2012 - JochemSnuverink

Line: 1 to 1
 
META TOPICPARENT name="BdSim"

BDSIM Install

Added:
>
>
Please send any comments to Jochem.Snuverink at rhul.ac.uk
 

1.Preparation

Platforms

Line: 57 to 59
 

Configure and Build

Changed:
<
<
See configure options for more details. CLHEP needs a special environment variable. Set it to your proper version (larger than 10.4).

export MACOSX_DEPLOYMENT_TARGET=10.4
>
>
See configure options for more details.
 
Changed:
<
<
Configure and build:
>
>
Configure and build (as always building can be sped up by using multiple threads depending on the number of cores, with 'make -j4'):
 
../configure
Line: 98 to 96
 cd build
Deleted:
<
<
Geant4 needs clhep-config to be executable, which it is not by default with Macports:

sudo chmod a+x /usr/local/bin/clhep-config
 

Configure

Revision 929 Oct 2012 - JochemSnuverink

Line: 1 to 1
 
META TOPICPARENT name="BdSim"

BDSIM Install

Line: 27 to 27
 
  • tested on Mac OS 10.8
Changed:
<
<

Macports / CLHEP Installation

>
>

Macports

  Macports allows various packages to be installed along with their necessary dependencies. We use it to install the dependencies of Geant4 and BDSIM:
Deleted:
<
<
sudo port install clhep
 sudo port install xercesc3 sudo port install qt4-mac
Changed:
<
<
Unfortunately, the port of geant4 appears to be broken, and needs to be installed manually.
>
>
Unfortunately, the port of clhep has a too new version and the geant4 port appears to be broken. These need to be installed manually.

CLHEP

Download the 2.1.0.1 version from the CLHEP website.

Move and unpack to a suitable place:

tar -xzf clhep-2.1.0.1.tgz
cd 2.1.0.1/CLHEP

Make build directory:

mkdir build
cd build

Configure and Build

See configure options for more details. CLHEP needs a special environment variable. Set it to your proper version (larger than 10.4).

export MACOSX_DEPLOYMENT_TARGET=10.4

Configure and build:

../configure
make

Test and build:

make check
sudo make install
 

Geant4

Line: 63 to 101
 Geant4 needs clhep-config to be executable, which it is not by default with Macports:
Changed:
<
<
sudo chmod a+x /opt/local/bin/clhep-config
>
>
sudo chmod a+x /usr/local/bin/clhep-config
 

Revision 816 Oct 2012 - JochemSnuverink

Line: 1 to 1
 
META TOPICPARENT name="BdSim"

BDSIM Install

Line: 69 to 69
 

Configure

Changed:
<
<
Configure and select C/C++ compiler (optional), for the moment only tested with gcc and not with native clang compiler. Make sure C and CXX are compatible. Switch on GDML support in Geant4.
>
>
Configure and select C/C++ compiler (optional), for the moment only tested with gcc and not with native clang compiler. Make sure C and CXX are compatible. Switch on GDML support and visualisation options in Geant4.
 
Changed:
<
<
cmake -DCMAKE_CXX_COMPILER=g++ -DCMAKE_C_COMPILER=gcc -DGEANT4_USE_GDML=ON -DGEANT4_USE_QT=ON ..
>
>
cmake -DCMAKE_CXX_COMPILER=g++ -DCMAKE_C_COMPILER=gcc -DGEANT4_USE_GDML=ON -DGEANT4_USE_OPENGL=ON -DGEANT4_USE_QT=ON -DGEANT4_USE_RAYTRACERX=ON -DGEANT4_USE_XM=ON ..
 
Line: 80 to 80
 
make
Changed:
<
<
make install
>
>
sudo make install
 

Revision 715 Oct 2012 - JochemSnuverink

Line: 1 to 1
 
META TOPICPARENT name="BdSim"

BDSIM Install

Line: 34 to 34
 
sudo port install clhep
sudo port install xercesc3
Added:
>
>
sudo port install qt4-mac
 

Unfortunately, the port of geant4 appears to be broken, and needs to be installed manually.

Line: 71 to 72
 Configure and select C/C++ compiler (optional), for the moment only tested with gcc and not with native clang compiler. Make sure C and CXX are compatible. Switch on GDML support in Geant4.
Changed:
<
<
cmake -DCMAKE_CXX_COMPILER=g++ -DCMAKE_C_COMPILER=gcc -DGEANT4_USE_GDML=ON ..
>
>
cmake -DCMAKE_CXX_COMPILER=g++ -DCMAKE_C_COMPILER=gcc -DGEANT4_USE_GDML=ON -DGEANT4_USE_QT=ON ..
 

Revision 603 Oct 2012 - JochemSnuverink

Line: 1 to 1
 
META TOPICPARENT name="BdSim"

BDSIM Install

Changed:
<
<

Platforms

>
>

1.Preparation

 
Added:
>
>

Platforms

 
Added:
>
>

2.BDSIM

AFS connected machine

  • tested on SLC5

When the machine has AFS connection, then the dependent packages like Geant4 can be taken from there and don't need to be installed.

 

Mac

Changed:
<
<

Macports / CLHEP Installation

>
>
  • tested on Mac OS 10.8
 
Changed:
<
<
Currently BDSIM does not build with Geant4 versions 4.9.5 or higher.
>
>

Macports / CLHEP Installation

  Macports allows various packages to be installed along with their necessary dependencies. We use it to install the dependencies of Geant4 and BDSIM:
Line: 22 to 36
 sudo port install xercesc3
Added:
>
>
Unfortunately, the port of geant4 appears to be broken, and needs to be installed manually.
 

Geant4

Added:
>
>
Currently BDSIM does not build with Geant4 versions 4.9.5 or higher.
 Download the 4.9.4p04 version from the Geant4 archive website
Line: 65 to 82
 make install
Changed:
<
<

BDSIM

svn co https://svn.pp.rhul.ac.uk/JAI/BDSIM/trunk
cd trunk

make build directory:

mkdir build
cd build

configure command:

GDML off for now, as problem occurred, to be fixed.

cmake ..
>
>

Linux

 
Changed:
<
<

check or change options (optional):

>
>
  • untested
 
Changed:
<
<
ccmake .
>
>
Download the 4.9.4p04 version from the Geant4 archive website
 
Changed:
<
<

Build command

>
>
Move and unpack to a suitable place:
 
Changed:
<
<
make
>
>
tar -xzf geant4.9.4.p04.tar.gz cd geant4.9.4.p04
 
Added:
>
>
Install necessary packages CLHEP, XercesC.
 
Changed:
<
<

Linux

with AFS connection

Installation of BDSIM on AFS with CMake.

Tested on:

  • SLC5
>
>

BDSIM

 

Get BDSIM

Line: 124 to 116
 cd build
Changed:
<
<

configure command:

>
>

Configure command:

 
cmake ..
Line: 142 to 134
 make
Added:
>
>

Test command

 
Changed:
<
<

No AFS connection

still to follow..

Old LInks / Pages

>
>
ctest
 

Revision 502 Oct 2012 - JochemSnuverink

Line: 1 to 1
 
META TOPICPARENT name="BdSim"

BDSIM Install

Line: 84 to 84
 GDML off for now, as problem occurred, to be fixed.
Changed:
<
<
cmake -DUSE_GDML=OFF ..
>
>
cmake ..
 

check or change options (optional):

Revision 401 Oct 2012 - JochemSnuverink

Line: 1 to 1
 
META TOPICPARENT name="BdSim"

BDSIM Install

Line: 12 to 11
 

Mac

Changed:
<
<

Macports / Geant4 / CLHEP Installation

>
>

Macports / CLHEP Installation

Currently BDSIM does not build with Geant4 versions 4.9.5 or higher.

Macports allows various packages to be installed along with their necessary dependencies. We use it to install the dependencies of Geant4 and BDSIM:

sudo port install clhep
sudo port install xercesc3

Geant4

Download the 4.9.4p04 version from the Geant4 archive website

Move and unpack to a suitable place:

tar -xzf geant4.9.4.p04.tar.gz
cd geant4.9.4.p04

Make build directory

mkdir build
cd build

Geant4 needs clhep-config to be executable, which it is not by default with Macports:

 
Changed:
<
<
N.B. If you are not planning to use Macports afterwards, you might consider installing Geant4 directly from the Geant4 website, since the installation with Macports might take up to several hours.
>
>
sudo chmod a+x /opt/local/bin/clhep-config
 
Deleted:
<
<
Software Version
Mac OSX 10.8.1
Macports 2.1.2
   
Port Version
geant4 4.9.1.p02
 
Added:
>
>

Configure

 
Changed:
<
<
Macports allows various packages to be installed along with their necessary dependencies. Once installed...
>
>
Configure and select C/C++ compiler (optional), for the moment only tested with gcc and not with native clang compiler. Make sure C and CXX are compatible. Switch on GDML support in Geant4.
 
Changed:
<
<
port search geant
>
>
cmake -DCMAKE_CXX_COMPILER=g++ -DCMAKE_C_COMPILER=gcc -DGEANT4_USE_GDML=ON ..
 
Changed:
<
<
which should give a list of relevant ports - currently geant4 is the only one.
>
>

Build and install

 
Changed:
<
<
sudo port install geant4
>
>
make make install
 

BDSIM

Changed:
<
<
  • Obtain BDSIM from -insert link here-
  • ...further instructions...
>
>
svn co https://svn.pp.rhul.ac.uk/JAI/BDSIM/trunk
cd trunk

make build directory:

mkdir build
cd build

configure command:

GDML off for now, as problem occurred, to be fixed.

 
Changed:
<
<
source /opt/local/src/geant4/env.sh or .csh
>
>
cmake -DUSE_GDML=OFF ..
 
Changed:
<
<
Note /opt/local is the default macports directory so if this has been customised, adjust the above directory for the source appropriately.
>
>

check or change options (optional):

ccmake .

Build command

make
 

Revision 325 Sep 2012 - JochemSnuverink

Line: 1 to 1
 
META TOPICPARENT name="BdSim"

BDSIM Install

Platforms

Changed:
<
<
>
>
 

Mac

Changed:
<
<

Macports / Geant4 / CLHEP Installation

>
>

Macports / Geant4 / CLHEP Installation

  N.B. If you are not planning to use Macports afterwards, you might consider installing Geant4 directly from the Geant4 website, since the installation with Macports might take up to several hours.
Line: 36 to 36
 sudo port install geant4
Changed:
<
<

BDSIM

>
>

BDSIM

 
  • Obtain BDSIM from -insert link here-
  • ...further instructions...
Line: 49 to 49
 

Changed:
<
<

Scientific Linux

>
>

Linux

 
Changed:
<
<
Installation of BDSIM on AFS with CMake. This will be updated regularly!
>
>

with AFS connection

 
Changed:
<
<
Requirements
  • AFS
>
>
Installation of BDSIM on AFS with CMake.
  Tested on:
  • SLC5
Line: 76 to 75
 

configure command:

Changed:
<
<
cmake -DUSE_AFS=ON ..
>
>
cmake ..
 

check or change options (optional):

Line: 92 to 91
 
Added:
>
>

No AFS connection

 
Added:
>
>
still to follow..
 

Revision 220 Sep 2012 - LaurieNevay

Line: 1 to 1
 
META TOPICPARENT name="BdSim"

BDSIM Install

Added:
>
>

Platforms

 
Added:
>
>
 
Deleted:
<
<
AFS connected SLC machine
 
Deleted:
<
<
Apple via Macports
 
Added:
>
>

Mac

 
Added:
>
>

Macports / Geant4 / CLHEP Installation

 
Added:
>
>
N.B. If you are not planning to use Macports afterwards, you might consider installing Geant4 directly from the Geant4 website, since the installation with Macports might take up to several hours.
 
Added:
>
>
Software Version
Mac OSX 10.8.1
Macports 2.1.2
   
Port Version
geant4 4.9.1.p02
 
Added:
>
>
Macports allows various packages to be installed along with their necessary dependencies. Once installed...
 
Added:
>
>
port search geant
 
Added:
>
>
which should give a list of relevant ports - currently geant4 is the only one.

sudo port install geant4

BDSIM

  • Obtain BDSIM from -insert link here-
  • ...further instructions...

source /opt/local/src/geant4/env.sh or .csh

Note /opt/local is the default macports directory so if this has been customised, adjust the above directory for the source appropriately.

Scientific Linux

Installation of BDSIM on AFS with CMake. This will be updated regularly!

Requirements

  • AFS

Tested on:

  • SLC5

Get BDSIM

svn co https://svn.pp.rhul.ac.uk/JAI/BDSIM/trunk
cd trunk

make build directory:

mkdir build
cd build

configure command:

cmake -DUSE_AFS=ON ..

check or change options (optional):

ccmake .

Build command

make

Old LInks / Pages

 

Revision 120 Sep 2012 - LaurieNevay

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="BdSim"

BDSIM Install

AFS connected SLC machine

Apple via Macports

<--

Settings just to customise this page

-->
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding RHUL Physics Department TWiki? Send feedback