Difference between revisions of "DF JLab Software Install Instructions"

From New IAC Wiki
Jump to navigation Jump to search
Line 23: Line 23:
 
Now, assuming you're in the JLabSoftware directory:
 
Now, assuming you're in the JLabSoftware directory:
  
<syntaxhighlight lang="bash">
+
<pre>
 
cd GEMC
 
cd GEMC
 
mkdir 2.2
 
mkdir 2.2
 
wget http://www.jlab.org/12gev_phys/packages/sources/ceInstall/ceInstall_2.2.tar.gz
 
wget http://www.jlab.org/12gev_phys/packages/sources/ceInstall/ceInstall_2.2.tar.gz
 
tar -zxpf ceInstall_2.2.tar.gz --strip-components 1 -C 2.2
 
tar -zxpf ceInstall_2.2.tar.gz --strip-components 1 -C 2.2
</syntaxhighlight>
+
<pre>
  
 
Go to the home directory and open .bashrc in your preferred text editor. Add the following to the bottom of the file:
 
Go to the home directory and open .bashrc in your preferred text editor. Add the following to the bottom of the file:
<syntaxhighlight lang="bash">
+
<pre>
 
export JLAB_ROOT=/path/to/JLabSoftware/GEMC
 
export JLAB_ROOT=/path/to/JLabSoftware/GEMC
 
export JLAB_VERSION=2.2
 
export JLAB_VERSION=2.2
 
source $JLAB_ROOT/JLAB_VERSION/ce/jlab.sh
 
source $JLAB_ROOT/JLAB_VERSION/ce/jlab.sh
</syntaxhighlight>
+
</pre>
  
 
Now close the terminal and open a fresh one. You should see something like:
 
Now close the terminal and open a fresh one. You should see something like:

Revision as of 23:13, 17 May 2018

These instructions are for installing the software on Ubuntu 16.04. It is assumed that you start in a directory named JLabSoftware which contains the directories CED, COATJAVA, DB, and GEMC

CE 2.2

These instructions set up the common environment so that you may then install GEMC. Skip if you don't intend on installing GEMC.

The CE is dependent on the following packages which can be easily installed by sudo apt-get install <package>:

  • g++
  • mysql-client
  • libmysqlclient-dev
  • libx11-dev
  • libxext-dev
  • libglu1-mesa-dev
  • libxt-dev
  • libxmu-dev
  • libxrender-dev
  • libexpat1-dev
  • libxft-dev
  • tcsh
  • cmake
  • git
  • libafterimage-dev
  • scons

Now, assuming you're in the JLabSoftware directory:

cd GEMC
mkdir 2.2
wget http://www.jlab.org/12gev_phys/packages/sources/ceInstall/ceInstall_2.2.tar.gz
tar -zxpf ceInstall_2.2.tar.gz --strip-components 1 -C 2.2
<pre>

Go to the home directory and open .bashrc in your preferred text editor. Add the following to the bottom of the file:
<pre>
export JLAB_ROOT=/path/to/JLabSoftware/GEMC
export JLAB_VERSION=2.2
source $JLAB_ROOT/JLAB_VERSION/ce/jlab.sh

Now close the terminal and open a fresh one. You should see something like:

!! Attention:  BANKS  installation check /opt/jlab_software/2.2/Darwin_macosx10.13-x86_64-clang9.0.0/banks/1.4/bin  not found
!! Attention:  CCDB  installation check /opt/jlab_software/2.2/Darwin_macosx10.13-x86_64-clang9.0.0/ccdb/ccdb-1.06.02/lib  not found
!! Attention:  CLHEP  installation check /opt/jlab_software/2.2/Darwin_macosx10.13-x86_64-clang9.0.0/clhep/2.3.4.5/lib  not found
!! Attention:  EVIO  installation check /opt/jlab_software/2.2/Darwin_macosx10.13-x86_64-clang9.0.0/evio/5.1/bin  not found
!! Attention:  GEANT4  installation check /opt/jlab_software/2.2/Darwin_macosx10.13-x86_64-clang9.0.0/geant4/4.10.03.p02/bin  not found
!! Attention:  GEMC  installation check /opt/jlab_software/2.2/Darwin_macosx10.13-x86_64-clang9.0.0/gemc/2.7/gemc  not found
!! Attention:  JANA  installation check /opt/jlab_software/2.2/Darwin_macosx10.13-x86_64-clang9.0.0/jana/0.7.7p1/bin/jana  not found
!! Attention:  MLIBRARY  installation check /opt/jlab_software/2.2/Darwin_macosx10.13-x86_64-clang9.0.0/mlibrary/1.2/lib  not found
!! Attention:  MYSQL  installation check /opt/jlab_software/2.2/Darwin_macosx10.13-x86_64-clang9.0.0/mysql/lib  not found
!! Attention:  QT    installation check /opt/jlab_software/2.2/Darwin_macosx10.13-x86_64-clang9.0.0/qt/5.9.1/5.9.1/clang_64/lib  not found
!! Attention:  ROOT  installation check /opt/jlab_software/2.2/Darwin_macosx10.13-x86_64-clang9.0.0/root/6.12.06/bin/root-config  not found
!! Attention:  SCONS  installation check /opt/jlab_software/2.2/scons_bm/1.6/site_tools  not found
!! Attention:  XERCESC  installation check /opt/jlab_software/2.2/Darwin_macosx10.13-x86_64-clang9.0.0/xercesc/3.2.0/lib  not found

GEMC

COATJAVA

CED

DB