Difference between revisions of "CODA Software Setup"

From Hall A Wiki
Jump to: navigation, search
(New page: <h3> CODA Installation </h3> We are running CODA version 2.5. In the end, a tarball was created from the /site/coda/2.5 directory, and installed on cnu.jlab.org as /usr/local/coda/2.5 T...)
 
Line 29: Line 29:
 
<b> codausersetup script </b>
 
<b> codausersetup script </b>
  
<nowiki>#!/bin/csh </nowiki>
+
<pre>
 
+
#!/bin/csh
 
echo Setting up coda 2.5 on $HOST
 
echo Setting up coda 2.5 on $HOST
 
 
setenv CODA /usr/local/coda/2.5
 
setenv CODA /usr/local/coda/2.5
 
 
source $CODA/coda.setup
 
source $CODA/coda.setup
  
 
+
# Point to msqld on my host
 
+
<nowiki># Point to msqld on my host</nowiki>
+
 
+
 
setenv MSQL_TCP_HOST cnu.jlab.org
 
setenv MSQL_TCP_HOST cnu.jlab.org
 
 
setenv MSQL_HOME /home/gep5/msql
 
setenv MSQL_HOME /home/gep5/msql
  
 
+
# My database/session
<nowiki># My database/session</nowiki>
+
 
+
 
setenv EXPID gep5test
 
setenv EXPID gep5test
 
 
setenv SESSION gep5test
 
setenv SESSION gep5test
  
 
+
# CMLOG browser (cmlog) setup file
 
+
<nowiki># CMLOG browser (cmlog) setup file</nowiki>
+
 
+
 
setenv CMLOG_CONFIG /home/gep5/CODA/cmlogrc
 
setenv CMLOG_CONFIG /home/gep5/CODA/cmlogrc
  
<nowiki># broadcast message port must match that in /usr/local/CMLOG/cmlog.config</nowiki>
+
# broadcast message port must match that in /usr/local/CMLOG/cmlog.config
 
+
 
setenv CMLOG_PORT 8102
 
setenv CMLOG_PORT 8102
  
 
+
# User specific env variables
 
+
<nowiki># User specific env variables</nowiki>
+
 
+
 
setenv CODA_DIRECTORY /home/gep5/CODA
 
setenv CODA_DIRECTORY /home/gep5/CODA
 
 
setenv CODA_DATA /home/gep5/CODA/data
 
setenv CODA_DATA /home/gep5/CODA/data
 
 
  
 
setenv PATH /usr/local/gnu/x86-linux/bin:${PATH}
 
setenv PATH /usr/local/gnu/x86-linux/bin:${PATH}
 +
</pre>

Revision as of 11:53, 7 June 2010

CODA Installation

We are running CODA version 2.5. In the end, a tarball was created from the /site/coda/2.5 directory, and installed on cnu.jlab.org as /usr/local/coda/2.5

There were two changes that were made to this after installation:

  1. The file /usr/local/coda/2.5/.setup was renamed to /usr/local/coda/2.5/coda.setup
  2. The file /usr/local/coda/2.5/Linux-rhe/bin/rcServer.bc was renamed (overwriting the original) /usr/local/coda/2.5/Linux-rhe/bin/rcServer

In addition the codausersetup script was installed in the gep5 home directory, and modified accordingly. This script is sourced from ~gep5/.cshrc

The directories /home/gep5/CODA and /home/gep5/CODA/data were created.

Additional Installation

Three additional tar files were installed (they are in /home/gep5/coda25_tarfiles)

1. cdev

Installed cdev_1.7.5.tar.gz under /usr/local/cdev_1.7.5

2. cmlog

Installed cmlog_21.tar.gz under /usr/local/cmlog/2.1. Then, made a softlink to this from /usr/local/CMLOG

3. x86-linux

Installed x86-linux.tar (contains powerpc compilers, etc.) under /usr/local/gnu/x86-linux, and added this directory to the path in .cshrc

codausersetup script

#!/bin/csh
echo Setting up coda 2.5 on $HOST
setenv CODA /usr/local/coda/2.5
source $CODA/coda.setup

# Point to msqld on my host
setenv MSQL_TCP_HOST cnu.jlab.org
setenv MSQL_HOME /home/gep5/msql

# My database/session
setenv EXPID gep5test
setenv SESSION gep5test

# CMLOG browser (cmlog) setup file
setenv CMLOG_CONFIG /home/gep5/CODA/cmlogrc

# broadcast message port must match that in /usr/local/CMLOG/cmlog.config
setenv CMLOG_PORT 8102

# User specific env variables
setenv CODA_DIRECTORY /home/gep5/CODA
setenv CODA_DATA /home/gep5/CODA/data

setenv PATH /usr/local/gnu/x86-linux/bin:${PATH}