<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div class="">I started looking at the SConstript files working my way up the tree and came to the SBMS directory.   The smbs.py has the new split recon and sim homes, but sbms_setenv.py and SConstruct.plugin have the old $HALLD_HOME.   This smells like the
 problem.   I tried changing the HALLD_HOME to HALLD_SIM_HOME following the HALLD_RECON_HOME in  halld_recon, but that did not fix it.    In addition to this scons issues, there is another problem in halld_sim regarding missing includes.    </div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">Paul</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
hnpgrid5 490% grep HALLD ../../../SBMS/*
<div class=""><br class="">
../../../SBMS/sbms.py:<span class="Apple-tab-span" style="white-space:pre"> </span>
halld_recon_home = os.getenv('HALLD_RECON_HOME', 'halld_recon')<br class="">
../../../SBMS/sbms.py:<span class="Apple-tab-span" style="white-space:pre"> </span>
env.AppendUnique(CUDAFLAGS=['-I%s -I%s/src/libraries' % (AMPTOOLS, os.getenv('HALLD_SIM_HOME',os.getcwd()))])<br class="">
../../../SBMS/sbms.py:<span class="Apple-tab-span" style="white-space:pre"> </span>
cobrems_home = os.getenv('HALLD_SIM_HOME', 'halld_sim’)
<div class=""><br class="">
../../../SBMS/sbms_setenv.py:<span class="Apple-tab-span" style="white-space:pre">
</span># HALLD<br class="">
../../../SBMS/sbms_setenv.py:<span class="Apple-tab-span" style="white-space:pre">
</span>str += '# HALLD\n'<br class="">
../../../SBMS/sbms_setenv.py:<span class="Apple-tab-span" style="white-space:pre">
</span>str += 'setenv HALLD_HOME %s\n' % halld_home<br class="">
../../../SBMS/sbms_setenv.py:<span class="Apple-tab-span" style="white-space:pre">
</span>str += 'setenv PATH ${HALLD_HOME}/${BMS_OSNAME}/bin:${PATH}\n'<br class="">
../../../SBMS/sbms_setenv.py:<span class="Apple-tab-span" style="white-space:pre">
</span>str += 'setenv JANA_PLUGIN_PATH ${HALLD_HOME}/${BMS_OSNAME}/plugins:${JANA_PLUGIN_PATH}\n'<br class="">
../../../SBMS/sbms_setenv.py:<span class="Apple-tab-span" style="white-space:pre">
</span>str += 'setenv %s ${HALLD_HOME}/${BMS_OSNAME}/lib:${%s}\n' %(LDLPV, LDLPV)<br class="">
../../../SBMS/sbms_setenv.py:<span class="Apple-tab-span" style="white-space:pre">
</span>str += 'setenv PYTHONPATH ${HALLD_HOME}/${BMS_OSNAME}/lib/python:${PYTHONPATH}\n'<br class="">
../../../SBMS/sbms_setenv.py:<span class="Apple-tab-span" style="white-space:pre">
</span># HALLD<br class="">
../../../SBMS/sbms_setenv.py:<span class="Apple-tab-span" style="white-space:pre">
</span>str += '# HALLD\n'<br class="">
../../../SBMS/sbms_setenv.py:<span class="Apple-tab-span" style="white-space:pre">
</span>str += 'export HALLD_HOME=%s\n' % halld_home<br class="">
../../../SBMS/sbms_setenv.py:<span class="Apple-tab-span" style="white-space:pre">
</span>str += 'export PATH=${HALLD_HOME}/${BMS_OSNAME}/bin:${PATH}\n'<br class="">
../../../SBMS/sbms_setenv.py:<span class="Apple-tab-span" style="white-space:pre">
</span>str += 'export JANA_PLUGIN_PATH=${HALLD_HOME}/${BMS_OSNAME}/plugins:${JANA_PLUGIN_PATH}\n'<br class="">
../../../SBMS/sbms_setenv.py:<span class="Apple-tab-span" style="white-space:pre">
</span>str += 'export %s=${HALLD_HOME}/${BMS_OSNAME}/lib:${%s}\n' %(LDLPV, LDLPV)<br class="">
../../../SBMS/sbms_setenv.py:<span class="Apple-tab-span" style="white-space:pre">
</span>str += 'export PYTHONPATH=${HALLD_HOME}/${BMS_OSNAME}/lib/python:${PYTHONPATH}\n'<br class="">
<br class="">
../../../SBMS/SConstruct.plugin:# install into the directory specified by the HALLD_MY environment<br class="">
../../../SBMS/SConstruct.plugin:# variable if defined. Otherwise, it will install in the HALLD_HOME<br class="">
../../../SBMS/SConstruct.plugin:# Get HALLD_HOME environment variable, verifying it is set<br class="">
../../../SBMS/SConstruct.plugin:halld_home = os.getenv('HALLD_HOME')<br class="">
../../../SBMS/SConstruct.plugin:<span class="Apple-tab-span" style="white-space:pre">
</span>print 'HALLD_HOME environment variable not set!'<br class="">
../../../SBMS/SConstruct.plugin:# Get HALLD_MY if it exists. Otherwise use HALLD_HOME<br class="">
../../../SBMS/SConstruct.plugin:halld_my = os.getenv('HALLD_MY', halld_home)<br class="">
../../../SBMS/SConstruct.plugin:                      LIBPATH = ["%s/%s/lib" %(halld_home, osname)],  # n.b. add HALLD_HOME here and prepend HALLD_MY below<br class="">
../../../SBMS/SConstruct.plugin:# Only add HALLD_MY library search path if it already exists<br class="">
../../../SBMS/SConstruct.plugin:# Add local directory, directories from HALLD_MY and HALLD_HOME to include search path
<div class=""><br class="">
<div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-ligatures: normal; font-variant-position: normal; font-variant-caps: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; 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="">
Prof. Paul Eugenio<br class="">
Florida State University<br class="">
Department of Physics<br class="">
Tallahassee, Florida,  USA 32306<br class="">
<br class="">
(850) 644-2585<br class="">
<a href="mailto:peugenio@fsu.edu" class="">peugenio@fsu.edu</a><br class="">
<br class="">
<br class="">
<br class="">
</div>
</div>
</div>
<br class="">
</div>
</div>
</div>
</body>
</html>