Difference between revisions of "Solid install"

From Hall A Wiki
Jump to: navigation, search
(Link to new wiki)
 
(23 intermediate revisions by one other user not shown)
Line 1: Line 1:
 +
This page has been moved to [https://solid.jlab.org/wiki/index.php/install https://solid.jlab.org/wiki/index.php/install] in the new [https://solid.jlab.org/wiki SoLID Wiki].  Please do not edit this page.
 +
 
== Introduction ==
 
== Introduction ==
  
Line 18: Line 20:
  
 
== GEMC ==
 
== GEMC ==
 +
 +
The framework use environmental variable JLAB_VERSION to control version
  
=== get it ===
+
SoLID uses 1.0 version currently
  
You have two choices
+
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
  
* Use the pre-compiled version on ifarm machines, see [https://gemc.jlab.org/gemc/Documentation/Entries/2011/1/2_How_To_Run_GEMC_on_a_JLAB_CUE_Machine.html this howto].  It's easy to running batch mode in a terminal or submit a job to farm. For interactive mode, due to the OpenGL 3D rendering, it's too slow to run if you ssh in and do X11 forward to your local machine. The solution is to run vncserver with X window on ifarm and connect to it remote, this way it's not too slow if your network speed is ok. But this's not recommend because it demands a lot resource from ifarm which is shared by many users.
+
Detailed instruction is here [https://eic.jlab.org/wiki/index.php/Installation_of_framework installation of framework]
  
* Use your local copy. You will have the full power for the interactive mode and you can choose what version of GEMC to use. Please use 64 bit system, don't use 32 bit system, as it's not future proof and jlab farm has gone to 64 bit Linux system already. Follow the instruction here to obtain and compile https://gemc.jlab.org/gemc/Support/Entries/2011/8/1_Step_by_Step.html
+
== version control (old)==
  
Note: for local installation, many scripts like "go_clhep", "go_qt4" etc, just use "wget" to download some package from http://www.jlab.org/12gev_phys/packages/sources/, other scripts like "sourcebuild","go_ce", "go_gemc" etc use "svn" to check out from their repository.
+
'''see [[solid GEMC version historty ]] for the change log'''
 
+
Note: for local installation, the GEMC installation instruction will obtain you to the latest version of GEMC. To get the production version of SoLID GEMC, see the version control below.
+
 
+
Note: to run the pre-compiled production version of SoLID GEMC on ifarm, you need to set env before source jlab.csh like below
+
 
+
setenv GEANT4_VERSION 4.9.5.p01
+
setenv CLHEP_VERSION 2.1.2.0
+
setenv ROOT_VERSION 5.32
+
setenv QT_VERSION 4.8.1
+
setenv GEMC_VERSION 1.7
+
source $JLAB_ROOT/ce/jlab.csh
+
 
+
=== version control ===
+
 
+
see [[solid GEMC version historty ]] for details of changes
+
 
+
'''''latest SoLID GEMC production version "tag version 1.7, corresponding to trunk revision 8832", updated 2012/11/07'''''
+
 
+
svn address https://clas12svn.jlab.org/repos/clas12/gemc/tags
+
 
+
it depends on other jlab_software packages
+
 
+
sourcebuild r8813
+
 
+
ce r1137
+
 
+
edit go_ce to obtain the right version
+
edit get_coptions to comment out osrelease
+
 
+
from sourcebuild/sources.txt
+
-repo              1.1          repository                                  noarch
+
-ce                1.1          repository                                  noarch
+
-clhep              2.1.2.0      clhep-2.1.2.0.tgz                            Linux Mac
+
-qt4                4.8.1        qt-everywhere-opensource-src-4.8.1.tar.gz    Linux Mac
+
-xercesc            3.1.1        xerces-c-3.1.1.tar.gz                        Linux Mac
+
-geant4            4.9.5.p01    geant4.9.5.p01.tar.gz                        Linux Mac
+
-evio              4.0          repository                                  Linux Mac
+
-gemc              1.7          repository                                  Linux Mac
+
-root              5.32        root_v5.32.01.source.tar.gz                  Linux Mac
+
-banks              1.0          repository                                  Linux Mac
+
-jana              0.6.3        jana_0.6.3.tgz                              Linux Mac
+
-scrat              1.0          repository                                  Linux Mac
+
-gemc_evio2r        1.5          repository                                  Linux Mac
+
 
+
=== general version control info ===
+
  
 
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 79: Line 38:
  
 
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 [http://en.wikipedia.org/wiki/Comparison_of_Subversion_clients]
 
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 [http://en.wikipedia.org/wiki/Comparison_of_Subversion_clients]
 
here is a [http://clasweb.jlab.org/websvn/prod/listing.php?repname=CLAS12&path=%2Fclas12%2Fgemc%2Ftrunk%2F&sc=1#_clas12_gemc_trunk_ WebSVN browser]
 
  
 
== solgemc ==
 
== solgemc ==

Latest revision as of 15:39, 7 December 2020

This page has been moved to https://solid.jlab.org/wiki/index.php/install in the new SoLID Wiki. Please do not edit this page.

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