Difference between revisions of "EVIO 4 CODA"

From New IAC Wiki
Jump to navigation Jump to search
Line 28: Line 28:
  
 
==Compile evio2xml==
 
==Compile evio2xml==
 +
 +
 +
=Compiling EVIO on my Mac=
 +
 +
1.) downloading and trying to compile with scons
 +
<pre>
 +
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
 +
</pre>

Revision as of 22:51, 13 April 2012

Download EVIO

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

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