Difference between revisions of "EVIO 4 CODA"

From New IAC Wiki
Jump to navigation Jump to search
Line 34: Line 34:
 
the programs will be moved to the CODA_HOME subdirectory under Linux-
 
the programs will be moved to the CODA_HOME subdirectory under Linux-
  
 +
===CODAreader===
 +
 +
A temporary system of converting CODA data files to ROOT files and analyzing them.
 +
 +
The program is located in the subdirectory
  
 
==EVIO 4.0==
 
==EVIO 4.0==

Revision as of 23:33, 9 January 2013

References

https://coda.jlab.org/wiki/index.php/Evio_-_CODA_Event_I/O_libraries

Download EVIO

EVIO 2.2

evio-2.2

cd CODA/evio/evio-2.2/

1.) set the environmental variable to tell the software where CODA is

setenv CODA_HOME /home/daq/CODA/evio/evio-2.2

setenv LD_LIBRARY_PATH $CODA_HOME/Linux-i686/lib/


2.) While in the directory evio-2.2 run scons to compile everything

scons

3.)

Linux-i686/bin/evio2xml ~/test.dat | less


4.) If you type

scons install

the programs will be moved to the CODA_HOME subdirectory under Linux-

CODAreader

A temporary system of converting CODA data files to ROOT files and analyzing them.

The program is located in the subdirectory

EVIO 4.0

Prereqs

sudo yum install {expat,libz}-devel

on DAQ2 i had 4.0 installed in

~/CODA/evio/evio-4.0

I set the environmental variable

export CODA_HOME ~/CODA/2.6.2


I ran scons to compile evio-4.0 in the subdirectory


libraries were installed in the subdirectory

/home/daq/CODA/evio/evio-4.0/src/2.6.2/Linux-i686/lib/

svn

On 4/12/12 EVIO was being distributed using SVN and only on a jlabX machine onsite

If you login to a jlab machine you can see the contents of the repository using the command

svn ls svn://phecda.jlab.org/daqfs/source/svnroot/

Check Out

svn co svn://phecda.jlab.org/daqfs/source/svnroot/evio-4.0

Compile evio library on CODA machine

evio-2.2

1.) set the environmental variable to tell the software where CODA is

setenv CODA_HOME /usr/local/coda/2.5

setenv LD_LIBRARY_PATH $CODA_HOME/Linux6-86

2.) While in the directory evio-2.0 run scons to compile everything

scons

3.) If you type

scons install

the programs will be moved to the CODA_HOME subdirectory under Linux-

Compile evio2xml

Compiling EVIO on my Mac

https://gemc.jlab.org/gemc/Support/Entries/2011/8/1_Step_by_Step.html


1.) downloading and trying to compile with scons

 scons: Reading SConscript files ...
EnvironmentError: No module named _md5:
  File "/Users/tforest/src/evio/evio-4.0/evio-4.0/SConstruct", line 36:
    env = Environment(ENV = {'PATH' : os.environ['PATH']})
  File "/opt/local/lib/scons-1.2.0/SCons/Environment.py", line 992:
    apply_tools(self, tools, toolpath)
  File "/opt/local/lib/scons-1.2.0/SCons/Environment.py", line 106:
    env.Tool(tool)
  File "/opt/local/lib/scons-1.2.0/SCons/Environment.py", line 1676:
    tool(self)
  File "/opt/local/lib/scons-1.2.0/SCons/Tool/__init__.py", line 181:
    apply(self.generate, ( env, ) + args, kw)
  File "/opt/local/lib/scons-1.2.0/SCons/Tool/default.py", line 40:
    for t in SCons.Tool.tool_list(env['PLATFORM'], env):
  File "/opt/local/lib/scons-1.2.0/SCons/Tool/__init__.py", line 661:
    env)
  File "/opt/local/lib/scons-1.2.0/SCons/Tool/__init__.py", line 549:
    return filter (ToolExists, tools)
  File "/opt/local/lib/scons-1.2.0/SCons/Tool/__init__.py", line 548:
    return Tool(tool).exists(env)
  File "/opt/local/lib/scons-1.2.0/SCons/Tool/__init__.py", line 95:
    module = self._tool_module()
  File "/opt/local/lib/scons-1.2.0/SCons/Tool/__init__.py", line 146:
    raise SCons.Errors.EnvironmentError, e

evio-ntmaker

http://clasweb.jlab.org/wiki/index.php/CLAS12_Software_Workshop_2012.10_Agenda#EVIO_to_ROOT_ntuple_program