Difference between revisions of "Solid install"

From Hall A Wiki
Jump to: navigation, search
(version control)
Line 35: Line 35:
  
 
=== version control ===
 
=== version control ===
 +
 +
==== jlab_software package ====
 +
 +
sourcebuild r8813
 +
ce r1137
 +
 +
edit go_ce
 +
edit get_coptions to comment out osrelease
 +
 +
-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
 +
 +
==== GEMC version control ====
  
 
  svn co -r revision_number https://clas12svn.jlab.org/repos/clas12/gemc/trunk/
 
  svn co -r revision_number https://clas12svn.jlab.org/repos/clas12/gemc/trunk/

Revision as of 19:07, 29 January 2013

Introduction

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

1. SoLID_GEMC 
2. GEMC (vanilla kind) or solgemc (using GEMC as library)

SoLID_GEMC

solid_gemc are collection of SoLID codes for using GEMC

You need it no matter running vanilla GEMC or solgemc

obtain it 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

get it

You have two choices

  • Use pre-compiled version on ifarm machines, see howto here https://gemc.jlab.org/gemc/Documentation/Entries/2011/1/2_How_To_Run_GEMC_on_a_JLAB_CUE_Machine.html .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.
  • Use you local copy, you will have 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

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 "go_ce", "go_gemc" etc use "svn" to check out from their repository.

note: for local installation, "go_gemc" downloads the latest tagged release from GEMC svn by default ( currently version 1.7, corresponding to revision 8832 as 11/7/2012) . To get the specific revision, modify the line "svn co ... " in the script, see the version control below.

version control

jlab_software package

sourcebuild r8813 ce r1137

edit go_ce edit get_coptions to comment out osrelease

-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

GEMC version control

svn co -r revision_number https://clas12svn.jlab.org/repos/clas12/gemc/trunk/
If you want latest version, remove "-r revision_number"
If you want the latest production version for SoLID, replace the "revision_number" with the latest production version revision number for SoLID below
latest production version "revision 6145", updated 2012/03/24, see solid GEMC version historty  for details of changes

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]

here is a WebSVN browser

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