Difference between revisions of "EVIO 4 CODA"

From New IAC Wiki
Jump to navigation Jump to search
Line 5: Line 5:
 
=Download EVIO=
 
=Download EVIO=
  
==EVIO Prereqs==
+
==EVIO 4.0==
  
 +
;Prereqs
 
sudo yum install {expat,libz}-devel
 
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
  
 
==svn==
 
==svn==

Revision as of 03:53, 16 October 2012

References

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

Download EVIO

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

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

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

setenv CODA_HOME /usr/local/coda/2.5

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