Difference between revisions of "Install"

From solidwiki
Jump to: navigation, search
(Created 05/18/11(Zwzhao), Last modified 05/06/14(Zwzhao))
 
(Created 05/18/11(Zwzhao), Last modified 05/06/14(Zwzhao))
Line 2: Line 2:
  
 
You will need two things to run set of things for SoLID simulation:
 
You will need two things to run set of things for SoLID simulation:
# [[#SoLID_GEMC|SoLID_GEMC]], which you will need no matter what,
+
# [https://hallaweb.jlab.org/wiki/index.php/#SoLID_GEMC SoLID_GEMC], which you will need no matter what,
# [[#GEMC|GEMC]] (vanilla kind, easiest to setup) or [[#solgemc|solgemc]] (which uses GEMC as library, require a bit more work).
+
# [https://hallaweb.jlab.org/wiki/index.php/#GEMC GEMC] (vanilla kind, easiest to setup) or [https://hallaweb.jlab.org/wiki/index.php/#solgemc solgemc] (which uses GEMC as library, require a bit more work).
  
 
== SoLID_GEMC ==
 
== SoLID_GEMC ==
Line 29: Line 29:
 
== version control (old)==
 
== version control (old)==
  
'''see [[solid GEMC version historty ]] for the change log'''
+
'''see [[Solid GEMC version historty]] for the change log'''
  
 
svn checkout by default always get the latest reversion.  If you want a specific reversion, add option "-r revision_number"
 
svn checkout by default always get the latest reversion.  If you want a specific reversion, add option "-r revision_number"
Line 45: Line 45:
 
   svn checkout https://jlabsvn.jlab.org/svnroot/solid/solgemc
 
   svn checkout https://jlabsvn.jlab.org/svnroot/solid/solgemc
  
[[solgemc Installation Instructions]]
+
[[Solgemc Installation Instructions]]
  
[[solgemc installation outside JLAB]]
+
[[Solgemc installation outside JLAB]]
  
 
== libsolgem ==
 
== libsolgem ==

Revision as of 20:55, 3 December 2020

Introduction

You will need two things to run set of things for SoLID simulation:

  1. SoLID_GEMC, which you will need no matter what,
  2. GEMC (vanilla kind, easiest to setup) or solgemc (which uses GEMC as library, require a bit more work).

SoLID_GEMC

solid_gemc is a collection of SoLID codes for using GEMC. You need it no matter running vanilla GEMC or solgemc.

You can obtain solid_gemc from SoLID SVN

svn co https://jlabsvn.jlab.org/svnroot/solid/solid_gemc
database_io   dir has geometry/field/banks ready to load into the mysql database
script        dir has scripts to setup env and run the simulation code
analysistool  dir has various packages for analyzing simulation result

GEMC

The framework use environmental variable JLAB_VERSION to control version

SoLID uses 1.0 version currently

The framework was tested on many platform, but for SoLID use, it's only fully tested on Redhat flavoured linux like CentOS, RHEL, Fedora so far

Detailed instruction is here installation of framework

version control (old)

see Solid GEMC version historty for the change log

svn checkout by default always get the latest reversion. If you want a specific reversion, add option "-r revision_number"

how to know your current copy reversion number: go to top svn directory, run "svn update", then run "svnversion"

You'd better use a graphic svn client to get alerted once updates show up. I like "kdesvn" or you may check out this list [1]

solgemc

Another way to run solid simulation is to use GEMC as library,

To get the code specific to SoLID, solgemc:

 svn checkout https://jlabsvn.jlab.org/svnroot/solid/solgemc

Solgemc Installation Instructions

Solgemc installation outside JLAB

libsolgem

The library for digitizing GEM output is found in this repository

 svn checkout https://jlabsvn.jlab.org/svnroot/solid/libsolgem/

The database that corresponds to the GEM configuration in user_geometry3 : solid_gem

  https://hallaweb.jlab.org/12GeV/SoLID/download/sim/libsolgem/db_gemc.dat