<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="">Hi Paul,<div class=""><br class=""></div><div class="">Did you already set HALLD_RECON_HOME and build halld_recon before compiling halld_sim? I think this will solve your issue with the includes that are in halld_recon and used in halld_sim since in sbms.py the include path is set.</div><div class=""><br class=""></div><div class="">The old references to HALLD_HOME in halld_sim need to be fixed.</div><div class=""><br class=""></div><div class="">-Justin<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Jul 31, 2018, at 9:36 PM, Paul Eugenio <<a href="mailto:peugenio@fsu.edu" class="">peugenio@fsu.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
The two I have come across are: particleType.h & HDDM/hddm_s.hpp
<div class=""><br class="">
</div>
<div class="">particleType.h was located in sim-recon/src/libraries/include/. It is now located in halld_recon/src/libraries/include/. There is no halld_sim/src/libraries/include directory. It looks like HDDM/hddm_s.hpp is build somehow as it exists
in sim-recon/sim-recon-2.27.0/Linux_CentOS7-x86_64-gcc4.8.5/include/HDDM/hddm_s.hpp.</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>
<div class=""><br class="">
<div class="">
<div style="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; line-break: after-white-space;" class="">
<div style="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; 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>
<div class=""><br class="">
<blockquote type="cite" class="">
<div class="">On Jul 31, 2018, at 9:04 PM, Sean Dobbs <<a href="mailto:sdobbs@fsu.edu" class="">sdobbs@fsu.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">Paul, that certainly sounds like something that was overlooked. What is the problem with missing includes that you mentioned?<br class="">
<br class="">
—-Sean<br class="">
<div class="gmail_quote">
<div dir="ltr" class="">On Tue, Jul 31, 2018 at 8:58 PM Paul Eugenio <<a href="mailto:peugenio@fsu.edu" class="">peugenio@fsu.edu</a>> wrote:<br class="">
</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" 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="m_-8047774690799210558Apple-tab-span" style="white-space:pre-wrap">
</span>halld_recon_home = os.getenv('HALLD_RECON_HOME', 'halld_recon')<br class="">
../../../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 class="">
../../../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 class=""><br class="">
../../../SBMS/sbms_setenv.py:<span class="m_-8047774690799210558Apple-tab-span" style="white-space:pre-wrap">
</span># HALLD<br class="">
../../../SBMS/sbms_setenv.py:<span class="m_-8047774690799210558Apple-tab-span" style="white-space:pre-wrap">
</span>str += '# HALLD\n'<br class="">
../../../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 class="">
../../../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 class="">
../../../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 class="">
../../../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 class="">
../../../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 class="">
../../../SBMS/sbms_setenv.py:<span class="m_-8047774690799210558Apple-tab-span" style="white-space:pre-wrap">
</span># HALLD<br class="">
../../../SBMS/sbms_setenv.py:<span class="m_-8047774690799210558Apple-tab-span" style="white-space:pre-wrap">
</span>str += '# HALLD\n'<br class="">
../../../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 class="">
../../../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 class="">
../../../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 class="">
../../../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 class="">
../../../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 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="m_-8047774690799210558Apple-tab-span" style="white-space:pre-wrap">
</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="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class="">
<div style="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;" 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" target="_blank" class="">peugenio@fsu.edu</a><br class="">
<br class="">
<br class="">
<br class="">
</div>
</div>
</div>
<br class="">
</div>
</div>
</div>
</div>
_______________________________________________<br class="">
Halld-offline mailing list<br class="">
<a href="mailto:Halld-offline@jlab.org" target="_blank" class="">Halld-offline@jlab.org</a><br class="">
<a href="https://mailman.jlab.org/mailman/listinfo/halld-offline" rel="noreferrer" target="_blank" class="">https://mailman.jlab.org/mailman/listinfo/halld-offline</a></blockquote>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
_______________________________________________<br class="">Halld-offline mailing list<br class=""><a href="mailto:Halld-offline@jlab.org" class="">Halld-offline@jlab.org</a><br class="">https://mailman.jlab.org/mailman/listinfo/halld-offline</div></blockquote></div><br class=""></div></body></html>