Custom Query (2425 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (13 - 15 of 2425)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Ticket Resolution Summary Owner Reporter
#2437 fixed [icetray] logging issue in icetray module destructors Alex Olivas Leander Fischer
Description

I found an issue with the logging messages being called in the destructor of icetray modules. I've found the issue in I3Gulliver, but it also happens for I3Module. For some reason the log settings (like level/logtofile) i set do not apply for the logs being generated in the destructor of modules. I assume this is because the destructor is called outside of the scope where everything else was run, so the settings are the default settings, but i could be wrong. I attached a python script as well as a gzd and a i3 file to run it with. I ran it with the oscnext-meta project (http://code.icecube.wisc.edu/svn/sandbox/stuttard/oscNext_meta/trunk) at revision 180302, but i don't think this would be any different in combo. Changing the log settings in line 25-32 will not affect the info log message being called in the I3Gulliver destructor.

#2434 fixed PPC pybindings are broken when ZeroMQ is not present Alex Olivas Christopher Weaver
Description

I have been struggling for some time with a python bindings crash when prevents loading any script which transitively loads ppc (e.g. anything using icecube.simprod.segments).

The symptoms look like this:

$ ./env-shell.sh 
************************************************************************
*                                                                      *
*                   W E L C O M E  to  I C E T R A Y                   *
*                                                                      *
*                   Version combo.trunk     r181458                    *
*                                                                      *
*                You are welcome to visit our Web site                 *
*                        http://icecube.umd.edu                        *
*                                                                      *
************************************************************************

Icetray environment has:
   I3_SRC       = /Users/christopher/Work/IceCube/combo/src
   I3_BUILD     = /Users/christopher/Work/IceCube/combo/build
   I3_TESTDATA  = /Users/christopher/Work/IceCube/combo/build/test-data
   Python       = 2.7.10
Palladium-II:build $ python
Python 2.7.10 (default, Feb  7 2017, 00:08:15) 
[GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.34)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from icecube import ppc
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/christopher/Work/IceCube/combo/build/lib/icecube/ppc/__init__.py", line 5, in <module>
    load_pybindings(__name__,__path__)
  File "/Users/christopher/Work/IceCube/combo/build/lib/icecube/load_pybindings.py", line 83, in load_pybindings
    m = imp.load_dynamic(name, path[0] + ".so")
RuntimeError: extension class wrapper for base class I3CLSimStepToPhotonConverter has not been created yet

Note that there's nothing inherently wrong with CLSim itself, and the problem is not fixed by loading CLSim before ppc (which the ppc scripts do correctly, I think):

>>> from icecube import clsim
>>> dir(clsim)
['AsyncTap', 'FakeFlasherInfoGenerator', 'FlasherInfoVectToFlasherPulseSeriesConverter', 'GetAntaresOMAcceptance', 'GetAntaresOMAngularSensitivity', 'GetAntaresScatteringCosAngleDistribution', 'GetDefaultParameterizationList', 'GetFlasherParameterizationList', 'GetHybridParameterizationList', 'GetIceCubeDOMAcceptance', 'GetIceCubeDOMAngularSensitivity', 'GetIceCubeFlasherSpectrum', 'GetKM3NeTDOMAcceptance', 'GetPetzoldScatteringCosAngleDistribution', 'I3CLSimEventStatistics', 'I3CLSimFlasherPulse', 'I3CLSimFlasherPulseSeries', 'I3CLSimFunction', 'I3CLSimFunctionAbsLenIceCube', 'I3CLSimFunctionConstant', 'I3CLSimFunctionDeltaPeak', 'I3CLSimFunctionFromTable', 'I3CLSimFunctionMap', 'I3CLSimFunctionPolynomial', 'I3CLSimFunctionRefIndexIceCube', 'I3CLSimFunctionRefIndexQuanFry', 'I3CLSimFunctionScatLenIceCube', 'I3CLSimFunctionScatLenPartic', 'I3CLSimFunctionTester', 'I3CLSimLightSource', 'I3CLSimLightSourceParameterization', 'I3CLSimLightSourceParameterizationSeries', 'I3CLSimLightSourcePropagator', 'I3CLSimLightSourcePropagatorFromI3PropagatorService', 'I3CLSimLightSourcePropagatorSeries', 'I3CLSimLightSourceToStepConverter', 'I3CLSimLightSourceToStepConverterAsync', 'I3CLSimLightSourceToStepConverterFlasher', 'I3CLSimLightSourceToStepConverterPPC', 'I3CLSimMakeHits', 'I3CLSimMakeHitsFromPhotons', 'I3CLSimMakePhotons', 'I3CLSimMediumProperties', 'I3CLSimMediumPropertiesTester', 'I3CLSimOpenCLDevice', 'I3CLSimOpenCLDeviceSeries', 'I3CLSimPhoton', 'I3CLSimPhotonHistory', 'I3CLSimPhotonHistorySeries', 'I3CLSimPhotonSeries', 'I3CLSimPhotonSeriesMap', 'I3CLSimPhotonToMCPEConverter', 'I3CLSimPhotonToMCPEConverterForDOMs', 'I3CLSimRandomDistributionTester', 'I3CLSimRandomNumberGeneratorBenchmark', 'I3CLSimRandomValue', 'I3CLSimRandomValueApplyFunction', 'I3CLSimRandomValueConstant', 'I3CLSimRandomValueFixParameter', 'I3CLSimRandomValueHenyeyGreenstein', 'I3CLSimRandomValueIceCubeFlasherTimeProfile', 'I3CLSimRandomValueInterpolatedDistribution', 'I3CLSimRandomValueMixed', 'I3CLSimRandomValueNormalDistribution', 'I3CLSimRandomValuePtrSeries', 'I3CLSimRandomValueRayleighScatteringCosAngle', 'I3CLSimRandomValueSimplifiedLiu', 'I3CLSimRandomValueUniform', 'I3CLSimRandomValueWlenCherenkovNoDispersion', 'I3CLSimScalarField', 'I3CLSimScalarFieldAnisotropyAbsLenScaling', 'I3CLSimScalarFieldConstant', 'I3CLSimScalarFieldIceTiltZShift', 'I3CLSimScalarFieldTester', 'I3CLSimSimpleGeometry', 'I3CLSimSimpleGeometryFromI3Geometry', 'I3CLSimSimpleGeometryTextFile', 'I3CLSimSpectrumTable', 'I3CLSimStep', 'I3CLSimStepSeries', 'I3CLSimTesterBase', 'I3CLSimVectorTransform', 'I3CLSimVectorTransformConstant', 'I3CLSimVectorTransformMatrix', 'I3CLSimVectorTransformTester', 'MakeAntaresMediumProperties', 'MakeIceCubeMediumProperties', 'MakeIceCubeMediumPropertiesPhotonics', 'NumberOfPhotonsPerMeter', 'PhotonNumberCorrectionFactorAfterBias', 'StandardCandleFlasherPulseSeriesGenerator', '__builtins__', '__doc__', '__file__', '__name__', '__package__', '__path__', 'gammaDistributedNumber', 'initializeOpenCL', 'load_pybindings', 'makeCherenkovWavelengthGenerator', 'makeWavelengthGenerator', 'std_map_indexing_suite_I3CLSimFunctionMap_entry', 'std_map_indexing_suite_I3CLSimPhotonSeriesMap_entry', 'tabulator', 'traysegments', 'util']

It should be noted, though, that there is no clsim.I3CLSimStepToPhotonConverter present.

THe CLSim cmake output looked like this:

-- + clsim
-- +-- python [symlinks] 
-- --- ZMQ not found. I3CLSimMakePhotons will not function. 
-- +-- tabulator (have OpenCL 1.2) 
-- +-- safeprimes_base32.gz already downloaded 
-- +-- Geant4 or OpenCL is not installed on your system. clsim will fail if it is not used with parameterizations. 
-- +-- gmp support (make_safeprimes utility) 
-- +-- clsim-pybindings

So, it should not be the case that this is a BUILD_CLSIM_DATACLASSES_ONLY build. However, some components are missing due to lack of ZeroMQ.

Adding ZeroMQ to the system then and then rebuilding fixed the problem, but it would be preferable if ppc did not make unfounded assumptions about what symbols will be present in the CLSim libraries.

#2433 fixed [clsim] fails to build under gcc 4.8 Alex Olivas David Schultz
Description
/cvmfs/icecube.opensciencegrid.org/py2-v3.1.1/metaprojects/combo/stable/clsim/private/clsim/shadow/I3ShadowedPhotonRemoverModule.cxx: In member function 'virtual void I3ShadowedPhotonRemoverModule::DAQ(I3FramePtr)':
/cvmfs/icecube.opensciencegrid.org/py2-v3.1.1/metaprojects/combo/stable/clsim/private/clsim/shadow/I3ShadowedPhotonRemoverModule.cxx:138:17: error: invalid initialization of reference of type 'const I3Position&' from expression of type 'const std::initializer_list<const I3Position>'
        distance_)){
                 ^
/cvmfs/icecube.opensciencegrid.org/py2-v3.1.1/metaprojects/combo/stable/clsim/private/clsim/shadow/I3ShadowedPhotonRemoverModule.cxx:47:6: error: in passing argument 1 of 'bool I3ShadowPhotonRemover::is_shadowed(const I3Position&, const I3Direction&, const I3ExtraGeometryItemCylinder&, double)'
 bool I3ShadowPhotonRemover::is_shadowed(const I3Position& photon_position,
      ^
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Note: See TracQuery for help on using queries.