[Halld-offline] Scons & SBMS missing homes

Sean Dobbs sdobbs at fsu.edu
Tue Jul 31 21:04:17 EDT 2018


Paul, that certainly sounds like something that was overlooked. What is the
problem with missing includes that you mentioned?

—-Sean
On Tue, Jul 31, 2018 at 8:58 PM Paul Eugenio <peugenio at fsu.edu> wrote:

> 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.
>
>
> Paul
>
>
>
> hnpgrid5 490% grep HALLD ../../../SBMS/*
>
> ../../../SBMS/sbms.py: halld_recon_home = os.getenv('HALLD_RECON_HOME',
> 'halld_recon')
> ../../../SBMS/sbms.py: env.AppendUnique(CUDAFLAGS=['-I%s
> -I%s/src/libraries' % (AMPTOOLS, os.getenv('HALLD_SIM_HOME',os.getcwd()))])
> ../../../SBMS/sbms.py: cobrems_home = os.getenv('HALLD_SIM_HOME',
> 'halld_sim’)
>
> ../../../SBMS/sbms_setenv.py: # HALLD
> ../../../SBMS/sbms_setenv.py: str += '# HALLD\n'
> ../../../SBMS/sbms_setenv.py: str += 'setenv HALLD_HOME %s\n' % halld_home
> ../../../SBMS/sbms_setenv.py: str += 'setenv PATH
> ${HALLD_HOME}/${BMS_OSNAME}/bin:${PATH}\n'
> ../../../SBMS/sbms_setenv.py: str += 'setenv JANA_PLUGIN_PATH
> ${HALLD_HOME}/${BMS_OSNAME}/plugins:${JANA_PLUGIN_PATH}\n'
> ../../../SBMS/sbms_setenv.py: str += 'setenv %s
> ${HALLD_HOME}/${BMS_OSNAME}/lib:${%s}\n' %(LDLPV, LDLPV)
> ../../../SBMS/sbms_setenv.py: str += 'setenv PYTHONPATH
> ${HALLD_HOME}/${BMS_OSNAME}/lib/python:${PYTHONPATH}\n'
> ../../../SBMS/sbms_setenv.py: # HALLD
> ../../../SBMS/sbms_setenv.py: str += '# HALLD\n'
> ../../../SBMS/sbms_setenv.py: str += 'export HALLD_HOME=%s\n' % halld_home
> ../../../SBMS/sbms_setenv.py: str += 'export
> PATH=${HALLD_HOME}/${BMS_OSNAME}/bin:${PATH}\n'
> ../../../SBMS/sbms_setenv.py: str += 'export
> JANA_PLUGIN_PATH=${HALLD_HOME}/${BMS_OSNAME}/plugins:${JANA_PLUGIN_PATH}\n'
> ../../../SBMS/sbms_setenv.py: str += 'export
> %s=${HALLD_HOME}/${BMS_OSNAME}/lib:${%s}\n' %(LDLPV, LDLPV)
> ../../../SBMS/sbms_setenv.py: str += 'export
> PYTHONPATH=${HALLD_HOME}/${BMS_OSNAME}/lib/python:${PYTHONPATH}\n'
>
> ../../../SBMS/SConstruct.plugin:# install into the directory specified by
> the HALLD_MY environment
> ../../../SBMS/SConstruct.plugin:# variable if defined. Otherwise, it will
> install in the HALLD_HOME
> ../../../SBMS/SConstruct.plugin:# Get HALLD_HOME environment variable,
> verifying it is set
> ../../../SBMS/SConstruct.plugin:halld_home = os.getenv('HALLD_HOME')
> ../../../SBMS/SConstruct.plugin: print 'HALLD_HOME environment variable
> not set!'
> ../../../SBMS/SConstruct.plugin:# Get HALLD_MY if it exists. Otherwise
> use HALLD_HOME
> ../../../SBMS/SConstruct.plugin:halld_my = os.getenv('HALLD_MY',
> halld_home)
> ../../../SBMS/SConstruct.plugin:                      LIBPATH =
> ["%s/%s/lib" %(halld_home, osname)],  # n.b. add HALLD_HOME here
> and prepend HALLD_MY below
> ../../../SBMS/SConstruct.plugin:# Only add HALLD_MY library search path if
> it already exists
> ../../../SBMS/SConstruct.plugin:# Add local directory, directories
> from HALLD_MY and HALLD_HOME to include search path
>
> --
> Prof. Paul Eugenio
> Florida State University
> Department of Physics
> Tallahassee, Florida,  USA 32306
>
> (850) 644-2585
> peugenio at fsu.edu
>
>
>
>
> _______________________________________________
> Halld-offline mailing list
> Halld-offline at jlab.org
> https://mailman.jlab.org/mailman/listinfo/halld-offline
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.jlab.org/pipermail/halld-offline/attachments/20180731/34603d87/attachment-0002.html>


More information about the Halld-offline mailing list