DF JLab Software Install Instructions

From New IAC Wiki
Revision as of 23:11, 17 May 2018 by Friadavi (talk | contribs)
Jump to navigation Jump to search

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:

<syntaxhighlight lang="bash"> 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 </syntaxhighlight>

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"> export JLAB_ROOT=/path/to/JLabSoftware/GEMC export JLAB_VERSION=2.2 source $JLAB_ROOT/JLAB_VERSION/ce/jlab.sh </syntaxhighlight>

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

GEMC

COATJAVA

CED

DB