Difference between revisions of "Solid install"

From Hall A Wiki
Jump to: navigation, search
(New page: read Up2date GEMC info at http://gemc.jlab.org for installation and tutorial. There are a couple way to GEMC. You can always run it on ifarm for batch mode, but interactive mode will be ...)
 
(Link to new wiki)
 
(74 intermediate revisions by 4 users not shown)
Line 1: Line 1:
read Up2date GEMC info at http://gemc.jlab.org for installation and tutorial.
+
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.
  
There are a couple way to  GEMC. You can always run it on ifarm for batch mode, but interactive mode will be slow because the OpenGL 3D rendering.
+
== Introduction ==
  
To run interactive mode, install it locally.
+
You will need two things to run set of things for SoLID simulation:
 +
# [[#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).
  
The recommend way to install GEMC is by precompiled rpms. if
+
== SoLID_GEMC ==
  
To install by rpm package, I recommend to used yum repo, if it somehow doesn't work, download them directly from http://www.jlab.org/12gev_phys/RPMS/
+
solid_gemc is a collection of SoLID codes for using GEMC. You need it no matter running vanilla GEMC or solgemc.
  
=== program location ===
+
You can obtain solid_gemc from SoLID SVN
  
* [http://clasweb.jlab.org/wiki/index.php/Subversion Subversion help]
+
svn co https://jlabsvn.jlab.org/svnroot/solid/solid_gemc
  
==== SoLID built within gemc tree ====
+
database_io  dir has geometry/field/banks ready to load into the mysql database
'''SVN https://clas12svn.jlab.org/repos/trunk/clas12/gemc/production/''' (all svn sub directory is relative to this location)
+
script        dir has scripts to setup env and run the simulation code
 +
analysistool  dir has various packages for analyzing simulation result
  
* [http://clasweb.jlab.org/websvn/prod/listing.php?repname=CLAS12&path=%2Ftrunk%2Fclas12%2Fgemc%2Fproduction%2F&sc=1#_trunk_clas12_gemc_production_ WebSVN browser]'''
+
== GEMC ==
 +
 +
The framework use environmental variable JLAB_VERSION to control version
  
* '''''Current working version 4517, 2011/05/14'''''
+
SoLID uses 1.0 version currently
  
(how to get working version number: go to top directory, run svn update, then run svnversion)
+
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
  
==== Getting the Code which are not in GEMC svn====
+
Detailed instruction is here [https://eic.jlab.org/wiki/index.php/Installation_of_framework installation of framework]
  
  svn checkout https://jlabsvn.jlab.org/svnroot/solid
+
== version control (old)==
  
==== SoLID built upon GEMC, using it as a toolkit. ====
+
'''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 [http://en.wikipedia.org/wiki/Comparison_of_Subversion_clients]
 +
 
 +
== solgemc ==
 +
 
 +
Another way to run solid simulation is to use GEMC as library,
  
 
To get the code specific to SoLID, solgemc:  
 
To get the code specific to SoLID, solgemc:  
  
 
   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 ==
 +
 +
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

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