Paul,  that certainly sounds like something that was overlooked. What is the problem with missing includes that you mentioned?<br><br>—-Sean<br><div class="gmail_quote"><div dir="ltr">On Tue, Jul 31, 2018 at 8:58 PM Paul Eugenio <<a href="mailto:peugenio@fsu.edu">peugenio@fsu.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word;line-break:after-white-space">
<div>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><br>
</div>
<div><br>
</div>
<div>Paul</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
hnpgrid5 490% grep HALLD ../../../SBMS/*
<div><br>
../../../SBMS/sbms.py:<span class="m_-8047774690799210558Apple-tab-span" style="white-space:pre-wrap"> </span>
halld_recon_home = os.getenv('HALLD_RECON_HOME', 'halld_recon')<br>
../../../SBMS/sbms.py:<span class="m_-8047774690799210558Apple-tab-span" style="white-space:pre-wrap"> </span>
env.AppendUnique(CUDAFLAGS=['-I%s -I%s/src/libraries' % (AMPTOOLS, os.getenv('HALLD_SIM_HOME',os.getcwd()))])<br>
../../../SBMS/sbms.py:<span class="m_-8047774690799210558Apple-tab-span" style="white-space:pre-wrap"> </span>
cobrems_home = os.getenv('HALLD_SIM_HOME', 'halld_sim’)
<div><br>
../../../SBMS/sbms_setenv.py:<span class="m_-8047774690799210558Apple-tab-span" style="white-space:pre-wrap">
</span># HALLD<br>
../../../SBMS/sbms_setenv.py:<span class="m_-8047774690799210558Apple-tab-span" style="white-space:pre-wrap">
</span>str += '# HALLD\n'<br>
../../../SBMS/sbms_setenv.py:<span class="m_-8047774690799210558Apple-tab-span" style="white-space:pre-wrap">
</span>str += 'setenv HALLD_HOME %s\n' % halld_home<br>
../../../SBMS/sbms_setenv.py:<span class="m_-8047774690799210558Apple-tab-span" style="white-space:pre-wrap">
</span>str += 'setenv PATH ${HALLD_HOME}/${BMS_OSNAME}/bin:${PATH}\n'<br>
../../../SBMS/sbms_setenv.py:<span class="m_-8047774690799210558Apple-tab-span" style="white-space:pre-wrap">
</span>str += 'setenv JANA_PLUGIN_PATH ${HALLD_HOME}/${BMS_OSNAME}/plugins:${JANA_PLUGIN_PATH}\n'<br>
../../../SBMS/sbms_setenv.py:<span class="m_-8047774690799210558Apple-tab-span" style="white-space:pre-wrap">
</span>str += 'setenv %s ${HALLD_HOME}/${BMS_OSNAME}/lib:${%s}\n' %(LDLPV, LDLPV)<br>
../../../SBMS/sbms_setenv.py:<span class="m_-8047774690799210558Apple-tab-span" style="white-space:pre-wrap">
</span>str += 'setenv PYTHONPATH ${HALLD_HOME}/${BMS_OSNAME}/lib/python:${PYTHONPATH}\n'<br>
../../../SBMS/sbms_setenv.py:<span class="m_-8047774690799210558Apple-tab-span" style="white-space:pre-wrap">
</span># HALLD<br>
../../../SBMS/sbms_setenv.py:<span class="m_-8047774690799210558Apple-tab-span" style="white-space:pre-wrap">
</span>str += '# HALLD\n'<br>
../../../SBMS/sbms_setenv.py:<span class="m_-8047774690799210558Apple-tab-span" style="white-space:pre-wrap">
</span>str += 'export HALLD_HOME=%s\n' % halld_home<br>
../../../SBMS/sbms_setenv.py:<span class="m_-8047774690799210558Apple-tab-span" style="white-space:pre-wrap">
</span>str += 'export PATH=${HALLD_HOME}/${BMS_OSNAME}/bin:${PATH}\n'<br>
../../../SBMS/sbms_setenv.py:<span class="m_-8047774690799210558Apple-tab-span" style="white-space:pre-wrap">
</span>str += 'export JANA_PLUGIN_PATH=${HALLD_HOME}/${BMS_OSNAME}/plugins:${JANA_PLUGIN_PATH}\n'<br>
../../../SBMS/sbms_setenv.py:<span class="m_-8047774690799210558Apple-tab-span" style="white-space:pre-wrap">
</span>str += 'export %s=${HALLD_HOME}/${BMS_OSNAME}/lib:${%s}\n' %(LDLPV, LDLPV)<br>
../../../SBMS/sbms_setenv.py:<span class="m_-8047774690799210558Apple-tab-span" style="white-space:pre-wrap">
</span>str += 'export PYTHONPATH=${HALLD_HOME}/${BMS_OSNAME}/lib/python:${PYTHONPATH}\n'<br>
<br>
../../../SBMS/SConstruct.plugin:# install into the directory specified by the HALLD_MY environment<br>
../../../SBMS/SConstruct.plugin:# variable if defined. Otherwise, it will install in the HALLD_HOME<br>
../../../SBMS/SConstruct.plugin:# Get HALLD_HOME environment variable, verifying it is set<br>
../../../SBMS/SConstruct.plugin:halld_home = os.getenv('HALLD_HOME')<br>
../../../SBMS/SConstruct.plugin:<span class="m_-8047774690799210558Apple-tab-span" style="white-space:pre-wrap">
</span>print 'HALLD_HOME environment variable not set!'<br>
../../../SBMS/SConstruct.plugin:# Get HALLD_MY if it exists. Otherwise use HALLD_HOME<br>
../../../SBMS/SConstruct.plugin:halld_my = os.getenv('HALLD_MY', halld_home)<br>
../../../SBMS/SConstruct.plugin:                      LIBPATH = ["%s/%s/lib" %(halld_home, osname)],  # n.b. add HALLD_HOME here and prepend HALLD_MY below<br>
../../../SBMS/SConstruct.plugin:# Only add HALLD_MY library search path if it already exists<br>
../../../SBMS/SConstruct.plugin:# Add local directory, directories from HALLD_MY and HALLD_HOME to include search path
<div><br>
<div>
<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;word-wrap:break-word">
<div style="color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant-ligatures: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;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
--<br>
Prof. Paul Eugenio<br>
Florida State University<br>
Department of Physics<br>
Tallahassee, Florida,  USA 32306<br>
<br>
(850) 644-2585<br>
<a href="mailto:peugenio@fsu.edu" target="_blank">peugenio@fsu.edu</a><br>
<br>
<br>
<br>
</div>
</div>
</div>
<br>
</div>
</div>
</div>
</div>

_______________________________________________<br>
Halld-offline mailing list<br>
<a href="mailto:Halld-offline@jlab.org" target="_blank">Halld-offline@jlab.org</a><br>
<a href="https://mailman.jlab.org/mailman/listinfo/halld-offline" rel="noreferrer" target="_blank">https://mailman.jlab.org/mailman/listinfo/halld-offline</a></blockquote></div>