<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">  I just edited $CODA/.setup to fix this. It looks like it was changed to look if</div><div class="">CODA_VME_LIB was defined as an indicator of it being a ROC (as opposed</div><div class="">to being RHEL5 as was done in the past). CODA_VME_LIB *is* being set to</div><div class="">something useful if /dev/vme_ctl exists, but it is being initialized to an empty</div><div class="">string earlier in the script so it is always set no matter what.</div><div class=""><br class=""></div><div class="">  I changed it to only set the TCL and related variables if /dev/vme_ctl exists.</div><div class="">Someone in the CODA group will probably want to change this upstream so</div><div class="">it is not broken on the next update.<div class=""><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Regards,</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">-David</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><font color="#6a6a6a" class=""><br class=""></font></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><font color="#6a6a6a" class="">-------------------------------------------------------------</font></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><font color="#6a6a6a" class="">David Lawrence Ph.D.</font></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><font color="#6a6a6a" class="">Staff Scientist, Thomas Jefferson National Accelerator Facility<br class="">Newport News, VA</font></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><font color="#6a6a6a" class=""><a href="mailto:davidl@jlab.org" class="">davidl@jlab.org</a><br class="">(757) 269-5567 W<br class="">(757) 746-6697 C</font><br class=""><br class=""></div>
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Nov 14, 2017, at 2:07 PM, Hovanes Egiyan <<a href="mailto:hovanes.egiyan@gmail.com" class="">hovanes.egiyan@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Somehow this problem is happening again, the TCL_LIBRARY variable is set (to old version) for<br class="">hdops and other accounts for non-ROC machines. We somehow had a temporary fix for that<br class="">but I guess it got broken with new CODA setup.<br class=""><br class="">Hovanes.<br class=""><br class=""><br class=""><br class="">On 10/24/2014 08:14 PM, Hovanes Egiyan wrote:<br class=""><blockquote type="cite" class="">Thanks Dave,<br class="">I changed it to only set these variables for RHEL version 5 as a quick fix, seems to work for now.<br class="">Hopefully noone else uses TCL on ROCs but CODA. Then we can figure out<br class="">how to deal with those variables more properly.<br class="">Hovanes.<br class=""><br class=""><br class="">        set RHEL_VERSION=`awk '/release/{print substr($0,match($0,/[123456789]/),1)}' /etc/redhat-release`<br class="">        if( ${RHEL_VERSION} == '5' ) then<br class="">            setenv TCL_LIBRARY $CODA/common/lib/tcl7.4<br class="">            setenv ITCL_LIBRARY $CODA/common/lib/itcl2.0<br class="">            setenv TK_LIBRARY  $CODA/common/lib/tk<br class="">            setenv ITK_LIBRARY  $CODA/common/lib/itk2.0<br class="">            setenv DP_LIBRARY  $CODA/common/lib/dp<br class="">            setenv TIX_LIBRARY $CODA/common/lib/tix<br class="">            setenv TCLINCLUDE_DIR $CODA/common/include<br class="">            setenv TKINCLUDE_DIR $CODA/common/include<br class="">    endif<br class=""><br class=""><br class=""><br class=""><br class=""><br class=""><br class=""><br class="">On 10/24/2014 07:53 PM, David Abbott wrote:<br class=""><blockquote type="cite" class="">Hovanes,<br class="">      The TCL version that the variable TCL_LIBRARY is pointing to is an<br class="">old version that is part of the CODA release. It is used only by the CODA ROCs.<br class="">It only has to be set on the VME CPUs (or any CPU one wants to run a ROC on).<br class="">      The ROCs cannot use a newer version as there are some old code and<br class="">customizations. There are several TCL environment variables that get set<br class="">as part of an init script probably by default in hdops login shells. This should<br class="">probably be changed to only execute on certain types of machines. The ROCs<br class="">run on a specific 32bit Linux OS.<br class="">                   David<br class=""><br class=""><br class="">On Oct 24, 2014, at 7:36 PM, Hovanes Egiyan <<a href="mailto:hovanes.egiyan@gmail.com" class="">hovanes.egiyan@gmail.com</a>> wrote:<br class=""><br class=""><blockquote type="cite" class="">Hi,<br class="">There is a problem with TCL on gluon machines. Somehow when I launch<br class="">"MyaViewer" to view the<br class="">history of EPICS variables  I get error messages shown below and the<br class="">program crashes. This program<br class="">used to work before, something must have change recently that does not<br class="">allow hdops account to run it.<br class="">When I "unsetenv TCL_LIBRARY" it works. What is the reason for<br class="">installing an older version of TCL and<br class="">using it for hdops account as the default version?<br class="">Hovanes.<br class=""><br class=""><br class=""><br class="">Application initialization failed:<br class="">/gluex/coda/3.02/common/lib/tcl7.4/tclIndex isn't a proper Tcl index file<br class="">Error in startup script: /gluex/coda/3.02/common/lib/tcl7.4/tclIndex<br class="">isn't a proper Tcl index file<br class="">     while executing<br class="">"error "[file join $dir tclIndex] isn't a proper Tcl index file""<br class="">     (procedure "auto_load_index" line 35)<br class="">     invoked from within<br class="">"auto_load_index"<br class="">     (procedure "auto_load" line 30)<br class="">     invoked from within<br class="">"auto_load tixScriptVersion"<br class="">     (procedure "__tixInit" line 19)<br class="">     invoked from within<br class="">"__tixInit"<br class="">     invoked from within<br class="">"load /usr/csite/certified/tcl/8.4/lib/libtix8.1.8.4.so Tix"<br class="">     ("package ifneeded" script)<br class="">     invoked from within<br class="">"package require Tix"<br class="">     (file "/usr/csite/certified/bin/MyaViewer" line 30)<br class=""><br class="">_______________________________________________<br class="">Halld-online mailing list<br class=""><a href="mailto:Halld-online@jlab.org" class="">Halld-online@jlab.org</a><br class="">https://mailman.jlab.org/mailman/listinfo/halld-online<br class=""></blockquote></blockquote><br class=""></blockquote><br class="">_______________________________________________<br class="">Halld-online mailing list<br class=""><a href="mailto:Halld-online@jlab.org" class="">Halld-online@jlab.org</a><br class="">https://mailman.jlab.org/mailman/listinfo/halld-online</div></div></blockquote></div><br class=""></div></body></html>