Skip to content
Snippets Groups Projects
Commit 583f8e72 authored by Marco Clemencic's avatar Marco Clemencic
Browse files

Fixes to support builds on ARM processors

See merge request !1396
parents 96fa027c 076de3df
No related branches found
No related tags found
No related merge requests found
......@@ -41,13 +41,15 @@ app = ApplicationMgr(TopAlg = [alg],
<argument name="signal"><integer>3</integer></argument>
<argument name="validator"><text>
import re
import platform
stdout = re.subn(r"size = [0-9]+(\.[0-9]*)? MB", "size = # MB", stdout)[0]
findReferenceBlock("EventWatchdog FATAL too much time on a single event: aborting process")
findReferenceBlock("=== Stalled event: current stack trace ===", stdout=stderr, id='stderr')
if not 'in GaudiTesting::SleepyAlg::execute' in stderr:
if platform.processor() != "aarch64" and 'in GaudiTesting::SleepyAlg::execute' not in stderr:
causes.append('invalid stack trace')
</text></argument>
......
......@@ -45,6 +45,8 @@ ApplicationMgr(EvtMax=10,
<text>lsan</text>
<text>ubsan</text>
<text>tsan</text>
<text>^arm</text>
<text>^aarch</text>
</set></argument>
<argument name="validator"><text>
# hide a difference between JobOptionsSvc and Configurables
......
# setting LC_ALL to "C"
*******************************************************************************
* *
* Simple example which illustrate the usage of useful algorithm base class *
* HistoAlgo (python version of C++ GaudiHistoAlg) for "easy" histogramming. *
* *
*******************************************************************************
Vanya BELYAEV Ivan.Belyaev@lapp.in2p3.fr
ApplicationMgr SUCCESS
====================================================================================================================================
Welcome to ApplicationMgr (GaudiCoreSvc v36r8)
running on lbbuildinter02.cern.ch on Mon Nov 14 16:43:56 2022
====================================================================================================================================
ApplicationMgr INFO Application Manager Configured successfully
ApplicationMgr INFO Successfully loaded modules : GaudiAlg, RootHistCnv
RootHistSvc INFO Writing ROOT histograms to: histo1.root
HistogramPersis... INFO Added successfully Conversion service:RootHistSvc
DetectorDataSvc INFO Detector description not requested to be loaded
EventLoopMgr WARNING Unable to locate service "EventSelector"
EventLoopMgr WARNING No events will be processed from external input.
ApplicationMgr INFO Application Manager Initialized successfully
ApplicationMgr INFO Application Manager Started successfully
Histo TES : "HistoEx/ 1D histo "
Histo Title : " 1D histo "
Mean : 4.5 +- 0.2031
Rms : 2.8723 +- 0.09994
Skewness : 0.52751 +- 0.1706
Kurtosis : -1.0415 +- 0.3337
Entries :
| All | In Range | Underflow | Overflow | #Equivalent | Integral | Total |
| 200 | 200 | 0 | 0 | 200 | 200 | 200 |
Annotation
| Title : 1D histo |
| title : 1D histo |
| id : 1D histo |
25 ++----+----+----+----+
|IIIIIIIIII. . |
|IIIIIIIIII. . |
|IIIIIIIIII. . |
|IIIIIIIIII. . |
|**********. . |
|IIIIIIIIII. . |
16.7 +IIIIIIIIII..........+
|IIIIIIIIII. . |
|| . . . |
|| . . . |
|| . . . |
|| . . . |
|| . . . |
8.33 ++...................+
|| . . . |
|| . . . |
|| . . . |
|| . . . |
|| . . . |
|| . . . |
2.22e-16 ++----+----+----+----+
U
N O
D V
E E
R R
F F
L L
O 1 1 2 O
W 00 5 0 5 0 W
ApplicationMgr INFO Application Manager Stopped successfully
HistoEx SUCCESS Booked 3 Histogram(s) : 1D=1 2D=1 3D=1
HistoEx SUCCESS 1D histograms in directory "HistoEx" : 1
| ID | Title | # | Mean | RMS | Skewness | Kurtosis |
| 1D histo | " 1D histo " | 200 | 4.5 | 2.8723 | 0.52751 | -1.0415 |
HistoEx SUCCESS 2D histograms in directory "HistoEx" : 1
ID= 2D histo " 2D histo " Ents/All= 2000/2000 <X>/sX=4.5/2.8723,<Y>/sY=4.5/2.8723
HistoEx SUCCESS 3D histograms in directory "HistoEx" : 1
ID= 3D histo " 3D histo " Ents/All=20000/20000<X>/sX=4.5/2.8723,<Y>/sY=4.5/2.8723,<Z>/sZ=4.5/2.8723
EventLoopMgr INFO Histograms converted successfully according to request.
ApplicationMgr INFO Application Manager Finalized successfully
ApplicationMgr INFO Application Manager Terminated successfully
# setting LC_ALL to "C"
*******************************************************************************
* *
* Simple example which illustrate the usage of useful algorithm base class *
* HistoAlgo (python version of C++ GaudiHistoAlg) for 'easy' histogramming. *
* *
* This example illustrates the usage of 1D and 2D profile histograms *
* *
*******************************************************************************
Vanya BELYAEV ibelyaev@physics.syr.edu
ApplicationMgr SUCCESS
====================================================================================================================================
Welcome to ApplicationMgr (GaudiCoreSvc v36r8)
running on lbbuildinter02.cern.ch on Mon Nov 14 16:44:04 2022
====================================================================================================================================
ApplicationMgr INFO Application Manager Configured successfully
ApplicationMgr INFO Successfully loaded modules : GaudiAlg, RootHistCnv
RootHistSvc INFO Writing ROOT histograms to: histo1.root
HistogramPersis... INFO Added successfully Conversion service:RootHistSvc
DetectorDataSvc INFO Detector description not requested to be loaded
EventLoopMgr WARNING Unable to locate service "EventSelector"
EventLoopMgr WARNING No events will be processed from external input.
ApplicationMgr INFO Application Manager Initialized successfully
ApplicationMgr INFO Application Manager Started successfully
RndmGenSvc.Engine INFO Generator engine type:CLHEP::RanluxEngine
RndmGenSvc.Engine INFO Current Seed:1234567 Luxury:3
RndmGenSvc INFO Using Random engine:HepRndm::Engine<CLHEP::RanluxEngine>
Alg='HistoEx', ID=' 1D histo ' , Histo=Histogram 1D " 1D histo " 20 bins [0.000000,20.000000]
Histo TES : "HistoEx/ 1D histo "
Histo Title : " 1D histo "
Mean : 4.5 +- 0.2031
Rms : 2.8723 +- 0.09994
Skewness : 0.52751 +- 0.1706
Kurtosis : -1.0415 +- 0.3337
Entries :
| All | In Range | Underflow | Overflow | #Equivalent | Integral | Total |
| 200 | 200 | 0 | 0 | 200 | 200 | 200 |
Annotation
| Title : 1D histo |
| title : 1D histo |
| id : 1D histo |
25 ++----+----+----+----+
|IIIIIIIIII. . |
|IIIIIIIIII. . |
|IIIIIIIIII. . |
|IIIIIIIIII. . |
|**********. . |
|IIIIIIIIII. . |
16.7 +IIIIIIIIII..........+
|IIIIIIIIII. . |
|| . . . |
|| . . . |
|| . . . |
|| . . . |
|| . . . |
8.33 ++...................+
|| . . . |
|| . . . |
|| . . . |
|| . . . |
|| . . . |
|| . . . |
2.22e-16 ++----+----+----+----+
U
N O
D V
E E
R R
F F
L L
O 1 1 2 O
W 00 5 0 5 0 W
Alg='HistoEx', ID=' 2D histo ' , Histo=Histogram 2D " 2D histo " 20 xbins [0.000000,20.000000], 20 ybins [0.000000,20.000000]
Alg='HistoEx', ID=' 3D histo ' , Histo= ID= 3D histo " 3D histo " Ents/All=20000/20000<X>/sX=4.5/2.8723,<Y>/sY=4.5/2.8723,<Z>/sZ=4.5/2.8723
Alg='HistoEx1', ID=' 1D histo ' , Histo=Histogram 1D " 1D histo " 20 bins [0.000000,20.000000]
Histo TES : "HistoEx1/ 1D histo "
Histo Title : " 1D histo "
Mean : 4.5 +- 0.2031
Rms : 2.8723 +- 0.09994
Skewness : 0.52751 +- 0.1706
Kurtosis : -1.0415 +- 0.3337
Entries :
| All | In Range | Underflow | Overflow | #Equivalent | Integral | Total |
| 200 | 200 | 0 | 0 | 200 | 33.2 | 33.2 |
Annotation
| Title : 1D histo |
| title : 1D histo |
| id : 1D histo |
4.5 ++----+----+----+----+
|| . . . |
|IIIIIIIIII. . |
|IIIIIIIIII. . |
|IIIIIIIIII. . |
3.38 +IIIIIIIIII..........+
|**********. . |
|IIIIIIIIII. . |
|IIIIIIIIII. . |
|IIIIIIIIII. . |
2.25 ++...................+
|| . . . |
|| . . . |
|| . . . |
|| . . . |
1.12 ++...................+
|| . . . |
|| . . . |
|| . . . |
|| . . . |
0 *-++----+----**********->*
U
N O
D V
E E
R R
F F
L L
O 1 1 2 O
W 00 5 0 5 0 W
Alg='HistoEx1', ID=' 2D histo ' , Histo=Histogram 2D " 2D histo " 20 xbins [0.000000,20.000000], 20 ybins [0.000000,20.000000]
Alg='HistoEx1', ID=' 3D histo ' , Histo= ID= 3D histo " 3D histo " Ents/All=20000/20000<X>/sX=4.5/2.8723,<Y>/sY=4.5/2.8723,<Z>/sZ=4.5/2.8723
Alg='HistoEx2', ID=' x vs y ' , Histo=Histogram 2D " x vs y " 50 xbins [-2.000000,2.000000], 50 ybins [-4.000000,4.000000]
Alg='HistoEx2', ID=' x vs y (profile)' , Histo=<cppyy.gbl.AIDA.IProfile1D object at 0x453da658>
Histo TES : "HistoEx2/ x vs y (profile)"
Histo Title : " x vs y (profile)"
Mean : -0.0052704
Rms : 0.8777
Entries :
| All | In Range | Underflow | Overflow | Integral | Total |
| 200000 | 200000 | 4608 | 4544 | -0.54562 | -1083.8 |
Annotation
| Title : x vs y (profile) |
| title : x vs y (profile) |
| Name : x vs y (profile) |
| id : x vs y (profile) |
1.5 +----+----+----+----+----+----+----+----+----+----++
| . . . . | . . . . .|
| . . . . | . . . . .|
| . . . . | . . . . .|
| . . . . | . . . . .|
0.5 +........................+.........................+
| . . . . | . . . . .|
| . . . . | . . . . I.|
0 *-+*************************************************I->*
| I I . . . | . . . . I *|
-0.5 +........................+.........................+
| . . . . | . . . . .|
| . . . . | . . . . .|
| . . . . | . . . . .|
| . . . . | . . . . .|
-1.5 +........................+.........................+
| . . . . | . . . . .|
| . . . . | . . . . .|
| . . . . | . . . . .|
| . . . . | . . . . .|
-2.5 +----+----+----+----+----+----+----+----+----+----++
U
N O
D V
E E
R - - - - - R
F 1 1 0 0 0 0 0 1 1 1 F
L . . . . . . . . . . L
O - 6 2 8 4 0 3 7 1 5 9 O
W 2 8 8 8 8 8 2 2 2 2 22 W
Alg='HistoEx2', ID=' x vs y+3x ' , Histo=Histogram 2D " x vs y+3x " 50 xbins [-2.000000,2.000000], 50 ybins [-4.000000,4.000000]
Alg='HistoEx2', ID=' x vs y+3x (profile)' , Histo=<cppyy.gbl.AIDA.IProfile1D object at 0x453e61d8>
Histo TES : "HistoEx2/ x vs y+3x (profile)"
Histo Title : " x vs y+3x (profile)"
Mean : -0.0052704
Rms : 0.8777
Entries :
| All | In Range | Underflow | Overflow | Integral | Total |
| 200000 | 200000 | 4608 | 4544 | -0.54771 | -4660.5 |
Annotation
| Title : x vs y+3x (profile) |
| title : x vs y+3x (profile) |
| Name : x vs y+3x (profile) |
| id : x vs y+3x (profile) |
15 +----+----+----+----+----+----+----+----+----+----++
| . . . . | . . . . .|
| . . . . | . . . . .|
| . . . . | . . . . ***|
| . . . . | . . . ***I .|
| . . . . | . . . ***. .|
| . . . . | . . ***I . .| *
5 +........................+..........***............+
| . . . . | . *** . . .|
| . . . . | *** . . . .|
| . . . . | ***. . . . .|
0 -+----+----+----+----+---I**---+----+----+----+----+->
| . . . . ***| . . . . .|
| . . . *** | . . . . .|
-5 +...............***......+.........................+
| . . I*** . | . . . . .|
* | . *** . . | . . . . .|
| . ***. . . | . . . . .|
| *** . . . | . . . . .|
|*** . . . . | . . . . .|
| . . . . | . . . . .|
-15 +----+----+----+----+----+----+----+----+----+----++
U
N O
D V
E E
R - - - - - R
F 1 1 0 0 0 0 0 1 1 1 F
L . . . . . . . . . . L
O - 6 2 8 4 0 3 7 1 5 9 O
W 2 8 8 8 8 8 2 2 2 2 22 W
Alg='HistoEx2', ID=' x vs y-3x ' , Histo=Histogram 2D " x vs y-3x " 50 xbins [-2.000000,2.000000], 50 ybins [-4.000000,4.000000]
Alg='HistoEx2', ID=' x vs y-3x (profile)' , Histo=<cppyy.gbl.AIDA.IProfile1D object at 0x45051458>
Histo TES : "HistoEx2/ x vs y-3x (profile)"
Histo Title : " x vs y-3x (profile)"
Mean : -0.0052704
Rms : 0.8777
Entries :
| All | In Range | Underflow | Overflow | Integral | Total |
| 200000 | 200000 | 4608 | 4544 | -0.54353 | 2492.9 |
Annotation
| Title : x vs y-3x (profile) |
| title : x vs y-3x (profile) |
| Name : x vs y-3x (profile) |
| id : x vs y-3x (profile) |
15 +----+----+----+----+----+----+----+----+----+----++
| . . . . | . . . . .|
| . . . . | . . . . .|
|*** . . . . | . . . . .|
| I*** . . . | . . . . .|
| . ***. . . | . . . . .|
* | . *** . . | . . . . .|
5 +............**I.........+.........................+
| . . **** . | . . . . .|
| . . . I**I | . . . . .|
| . . . .****| . . . . .|
0 -+----+----+----+----+---I***--+----+----+----+----+->
| . . . . | *** . . . .|
| . . . . | I**I . . . .|
-5 +........................+.......***I..............+
| . . . . | . .***I. . .|
| . . . . | . . *** . .| *
| . . . . | . . . ***. .|
| . . . . | . . . *** .|
| . . . . | . . . . ***|
| . . . . | . . . . .|
-15 +----+----+----+----+----+----+----+----+----+----++
U
N O
D V
E E
R - - - - - R
F 1 1 0 0 0 0 0 1 1 1 F
L . . . . . . . . . . L
O - 6 2 8 4 0 3 7 1 5 9 O
W 2 8 8 8 8 8 2 2 2 2 22 W
ApplicationMgr INFO Application Manager Stopped successfully
HistoEx SUCCESS Booked 3 Histogram(s) : 1D=1 2D=1 3D=1
HistoEx SUCCESS 1D histograms in directory "HistoEx" : 1
| ID | Title | # | Mean | RMS | Skewness | Kurtosis |
| 1D histo | " 1D histo " | 200 | 4.5 | 2.8723 | 0.52751 | -1.0415 |
HistoEx SUCCESS 2D histograms in directory "HistoEx" : 1
ID= 2D histo " 2D histo " Ents/All= 2000/2000 <X>/sX=4.5/2.8723,<Y>/sY=4.5/2.8723
HistoEx SUCCESS 3D histograms in directory "HistoEx" : 1
ID= 3D histo " 3D histo " Ents/All=20000/20000<X>/sX=4.5/2.8723,<Y>/sY=4.5/2.8723,<Z>/sZ=4.5/2.8723
HistoEx1 SUCCESS Booked 3 Histogram(s) : 1D=1 2D=1 3D=1
HistoEx1 SUCCESS 1D histograms in directory "HistoEx1" : 1
| ID | Title | # | Mean | RMS | Skewness | Kurtosis |
| 1D histo | " 1D histo " | 200 | 4.5 | 2.8723 | 0.52751 | -1.0415 |
HistoEx1 SUCCESS 2D histograms in directory "HistoEx1" : 1
ID= 2D histo " 2D histo " Ents/All= 2000/2000 <X>/sX=4.5/2.8723,<Y>/sY=4.5/2.8723
HistoEx1 SUCCESS 3D histograms in directory "HistoEx1" : 1
ID= 3D histo " 3D histo " Ents/All=20000/20000<X>/sX=4.5/2.8723,<Y>/sY=4.5/2.8723,<Z>/sZ=4.5/2.8723
HistoEx2 SUCCESS Booked 6 Histogram(s) : 2D=3 1DProf=3
HistoEx2 SUCCESS 2D histograms in directory "HistoEx2" : 3
ID= x vs y " x vs y " Ents/All=200000/200000<X>/sX=-0.0052187/0.87769,<Y>/sY=-0.0052098/0.99916
ID= x vs y+3x " x vs y+3x " Ents/All=190894/200000<X>/sX=-0.00098056/0.69603,<Y>/sY=-0.0079536/2.0724
ID= x vs y-3x " x vs y-3x " Ents/All=190896/200000<X>/sX=-0.0018744/0.6958,<Y>/sY=-0.00026366/2.0675
HistoEx2 SUCCESS 1D profile histograms in directory "HistoEx2" : 3
| ID | Title | # | Mean | RMS | Skewness | Kurtosis |
| x vs y (profile) | " x vs y (profile)" | 200000 | -0.0052704 | 0.8777 | 0 | -3 |
| x vs y+3x (profile) | " x vs y+3x (profile)" | 200000 | -0.0052704 | 0.8777 | 0 | -3 |
| x vs y-3x (profile) | " x vs y-3x (profile)" | 200000 | -0.0052704 | 0.8777 | 0 | -3 |
EventLoopMgr INFO Histograms converted successfully according to request.
ApplicationMgr INFO Application Manager Finalized successfully
ApplicationMgr INFO Application Manager Terminated successfully
# setting LC_ALL to "C"
# --> Including file '/workspace/Gaudi/GaudiExamples/options/ROOT_IO/ExtCollRead.py'
# <-- End of file '/workspace/Gaudi/GaudiExamples/options/ROOT_IO/ExtCollRead.py'
# applying configuration of GaudiPersistency
# /***** User GaudiPersistency/GaudiPersistency ******************************************************
# |-<no properties>
# \----- (End of User GaudiPersistency/GaudiPersistency) ---------------------------------------------
# Dumping all configurables and properties (different from default)
{'ApplicationMgr': {'EvtMax': -1,
'ExtSvc': ['TagCollectionSvc/EvtTupleSvc',
'FileRecordDataSvc/FileRecordDataSvc'],
'HistogramPersistency': 'NONE',
'SvcOptMapping': ['Gaudi::MultiFileCatalog/FileCatalog',
'Gaudi::IODataManager/IODataManager',
'Gaudi::RootCnvSvc/RootCnvSvc'],
'TopAlg': ['ReadAlg/ReadAlg']},
'EventPersistencySvc': {'CnvServices': ['Gaudi::RootCnvSvc/RootCnvSvc']},
'EventSelector': {'Input': ["COLLECTION='Fill/MyCOL1' DATAFILE='PFN:ROOT_IO.etags' SVC='Gaudi::RootCnvSvc' SEL='(Ntrack>9 && Ntrack<20 && Energy<180)' FUN='Gaudi::Examples::EvtExtCollectionSelector'",
"COLLECTION='Dir1/Dir2/Dir3/Collection' DATAFILE='PFN:ROOT_IO.tags' SVC='Gaudi::RootCnvSvc' SEL='(Ntrack>15)' FUN='Gaudi::Examples::EvtCollectionSelector'"],
'PrintFreq': 100},
'FileCatalog': {'Catalogs': ['xmlcatalog_file:ROOTIO.xml']},
'FileRecordPersistencySvc': {'CnvServices': ['Gaudi::RootCnvSvc/RootCnvSvc']}}
ApplicationMgr SUCCESS
====================================================================================================================================
Welcome to ApplicationMgr (GaudiCoreSvc v36r8)
running on lbbuildinter02.cern.ch on Mon Nov 14 16:43:57 2022
====================================================================================================================================
ApplicationMgr INFO Application Manager Configured successfully
EvtTupleSvc INFO Added stream file:PFN:ROOT_IO.etags as EventSelector.DataStreamTool_1
Gaudi::RootData... INFO Connect to existing Database file:PFN:ROOT_IO.etags as /EventSelector.DataStreamTool_1 for READ
EventSelector INFO Stream:EventSelector.DataStreamTool_1 Def:COLLECTION='Fill/MyCOL1' DATAFILE='PFN:ROOT_IO.etags' SVC='Gaudi::RootCnvSvc' SEL='(Ntrack>9 && Ntrack<20 && Energy<180)' FUN='Gaudi::Examples::EvtExtCollectionSelector'
ApplicationMgr INFO Application Manager Initialized successfully
ApplicationMgr INFO Application Manager Started successfully
Gaudi::Examples::EvtExtCollectionSelector -> #tracks : 10
Gaudi::Examples::EvtExtCollectionSelector -> Momenta(Var): [0]=19.2008 [1]=19.1516 [2]=17.2588 [3]=16.57 [4]=18.6667
Gaudi::Examples::EvtExtCollectionSelector -> Track : px=9.5523 py=12.6316 pz=10.8566
Gaudi::Examples::EvtExtCollectionSelector SELECTED : False
Gaudi::Examples::EvtExtCollectionSelector -> #tracks : 10
Gaudi::Examples::EvtExtCollectionSelector -> Momenta(Var): [0]=18.3411 [1]=17.7319 [2]=17.1315 [3]=15.7644 [4]=18.5614
Gaudi::Examples::EvtExtCollectionSelector -> Track : px=9.54872 py=12.0203 pz=10.0364
Gaudi::Examples::EvtExtCollectionSelector SELECTED : False
Gaudi::Examples::EvtExtCollectionSelector -> #tracks : 10
Gaudi::Examples::EvtExtCollectionSelector -> Momenta(Var): [0]=17.0667 [1]=18.9315 [2]=16.8813 [3]=16.6494 [4]=16.4271
Gaudi::Examples::EvtExtCollectionSelector -> Track : px=10.4154 py=9.30093 pz=9.81248
Gaudi::Examples::EvtExtCollectionSelector SELECTED : False
Gaudi::Examples::EvtExtCollectionSelector -> #tracks : 10
Gaudi::Examples::EvtExtCollectionSelector -> Momenta(Var): [0]=16.4162 [1]=17.1642 [2]=17.9171 [3]=16.9433 [4]=16.6012
Gaudi::Examples::EvtExtCollectionSelector -> Track : px=9.51818 py=8.95899 pz=9.93137
Gaudi::Examples::EvtExtCollectionSelector SELECTED : False
Gaudi::Examples::EvtExtCollectionSelector -> #tracks : 10
Gaudi::Examples::EvtExtCollectionSelector -> Momenta(Var): [0]=15.7486 [1]=16.3605 [2]=16.5288 [3]=18.57 [4]=17.2386
Gaudi::Examples::EvtExtCollectionSelector -> Track : px=9.27853 py=8.87215 pz=9.12209
Gaudi::Examples::EvtExtCollectionSelector SELECTED : False
Gaudi::Examples::EvtExtCollectionSelector -> #tracks : 10
Gaudi::Examples::EvtExtCollectionSelector -> Momenta(Var): [0]=17.0099 [1]=14.2612 [2]=18.6538 [3]=18.3596 [4]=16.5182
Gaudi::Examples::EvtExtCollectionSelector -> Track : px=8.47111 py=11.4375 pz=9.31466
Gaudi::Examples::EvtExtCollectionSelector SELECTED : False
Gaudi::Examples::EvtExtCollectionSelector -> #tracks : 10
Gaudi::Examples::EvtExtCollectionSelector -> Momenta(Var): [0]=18.3956 [1]=17.8812 [2]=17.4812 [3]=16.5806 [4]=17.2316
Gaudi::Examples::EvtExtCollectionSelector -> Track : px=12.15 py=9.06596 pz=10.4205
Gaudi::Examples::EvtExtCollectionSelector SELECTED : False
Gaudi::Examples::EvtExtCollectionSelector -> #tracks : 10
Gaudi::Examples::EvtExtCollectionSelector -> Momenta(Var): [0]=19.2008 [1]=19.1516 [2]=17.2588 [3]=16.57 [4]=18.6667
Gaudi::Examples::EvtExtCollectionSelector -> Track : px=9.5523 py=12.6316 pz=10.8566
Gaudi::Examples::EvtExtCollectionSelector SELECTED : False
Gaudi::Examples::EvtExtCollectionSelector -> #tracks : 10
Gaudi::Examples::EvtExtCollectionSelector -> Momenta(Var): [0]=18.3411 [1]=17.7319 [2]=17.1315 [3]=15.7644 [4]=18.5614
Gaudi::Examples::EvtExtCollectionSelector -> Track : px=9.54872 py=12.0203 pz=10.0364
Gaudi::Examples::EvtExtCollectionSelector SELECTED : False
Gaudi::Examples::EvtExtCollectionSelector -> #tracks : 10
Gaudi::Examples::EvtExtCollectionSelector -> Momenta(Var): [0]=17.0667 [1]=18.9315 [2]=16.8813 [3]=16.6494 [4]=16.4271
Gaudi::Examples::EvtExtCollectionSelector -> Track : px=10.4154 py=9.30093 pz=9.81248
Gaudi::Examples::EvtExtCollectionSelector SELECTED : False
Gaudi::Examples::EvtExtCollectionSelector -> #tracks : 10
Gaudi::Examples::EvtExtCollectionSelector -> Momenta(Var): [0]=16.4162 [1]=17.1642 [2]=17.9171 [3]=16.9433 [4]=16.6012
Gaudi::Examples::EvtExtCollectionSelector -> Track : px=9.51818 py=8.95899 pz=9.93137
Gaudi::Examples::EvtExtCollectionSelector SELECTED : False
Gaudi::Examples::EvtExtCollectionSelector -> #tracks : 10
Gaudi::Examples::EvtExtCollectionSelector -> Momenta(Var): [0]=15.7486 [1]=16.3605 [2]=16.5288 [3]=18.57 [4]=17.2386
Gaudi::Examples::EvtExtCollectionSelector -> Track : px=9.27853 py=8.87215 pz=9.12209
Gaudi::Examples::EvtExtCollectionSelector SELECTED : False
Gaudi::Examples::EvtExtCollectionSelector -> #tracks : 10
Gaudi::Examples::EvtExtCollectionSelector -> Momenta(Var): [0]=17.0099 [1]=14.2612 [2]=18.6538 [3]=18.3596 [4]=16.5182
Gaudi::Examples::EvtExtCollectionSelector -> Track : px=8.47111 py=11.4375 pz=9.31466
Gaudi::Examples::EvtExtCollectionSelector SELECTED : False
Gaudi::Examples::EvtExtCollectionSelector -> #tracks : 10
Gaudi::Examples::EvtExtCollectionSelector -> Momenta(Var): [0]=18.3956 [1]=17.8812 [2]=17.4812 [3]=16.5806 [4]=17.2316
Gaudi::Examples::EvtExtCollectionSelector -> Track : px=12.15 py=9.06596 pz=10.4205
Gaudi::Examples::EvtExtCollectionSelector SELECTED : False
Gaudi::RootNTup... INFO End of input Ntuple.
EvtTupleSvc INFO Added stream file:PFN:ROOT_IO.tags as EventSelector.DataStreamTool_2
Gaudi::RootData... INFO Connect to existing Database file:PFN:ROOT_IO.tags as /EventSelector.DataStreamTool_2 for READ
EventSelector INFO Stream:EventSelector.DataStreamTool_2 Def:COLLECTION='Dir1/Dir2/Dir3/Collection' DATAFILE='PFN:ROOT_IO.tags' SVC='Gaudi::RootCnvSvc' SEL='(Ntrack>15)' FUN='Gaudi::Examples::EvtCollectionSelector'
Gaudi::Examples::EvtCollectionSelector -> #tracks : 93
Gaudi::Examples::EvtCollectionSelector -> Momenta(Var): [0]=16.6809 [1]=14.9037 [2]=16.7944 [3]=17.0709 [4]=17.3469
Gaudi::Examples::EvtCollectionSelector -> Momenta(Fix): [0]=16.6809 [1]=14.9037 [2]=16.7944 [3]=17.0709 [4]=17.3469
Gaudi::Examples::EvtCollectionSelector -> Track : px=10.1578 py=9.51566 pz=9.19358
Gaudi::Examples::EvtCollectionSelector SELECTED : True
EventSelector SUCCESS Reading Event record 1. Record number within stream 2: 1
EventPersistenc... INFO Added successfully Conversion service:RootCnvSvc
FileRecordPersi... INFO Added successfully Conversion service:RootCnvSvc
ReadAlg SUCCESS Got incident: NEW_FILE_RECORD Source:/FileRecords/80F9B690-643B-11ED-940A-1C34DA646B40
ReadAlg SUCCESS Received incident:NEW_FILE_RECORD: /FileRecords/80F9B690-643B-11ED-940A-1C34DA646B40
ReadAlg SUCCESS Incident: FileInfo record: /FileRecords/80F9B690-643B-11ED-940A-1C34DA646B40/EvtCount=1000
ReadAlg SUCCESS Incident: FileInfo record: /FileRecords/80F9B690-643B-11ED-940A-1C34DA646B40/SumCount=123456
ReadAlg INFO ========= EVENT:2 RUN:999 TIME:1668444224.867222 0 (0) 1 (1) 2 (2)
ReadAlg SUCCESS FileInfo record: 80F9B690-643B-11ED-940A-1C34DA646B40/EvtCount=1000
ReadAlg SUCCESS FileInfo record: 80F9B690-643B-11ED-940A-1C34DA646B40/SumCount=123456
Gaudi::Examples::EvtCollectionSelector -> #tracks : 76
Gaudi::Examples::EvtCollectionSelector -> Momenta(Var): [0]=17.7422 [1]=16.7922 [2]=17.6961 [3]=16.0612 [4]=15.7365
Gaudi::Examples::EvtCollectionSelector -> Momenta(Fix): [0]=17.7422 [1]=16.7922 [2]=17.6961 [3]=16.0612 [4]=15.7365
Gaudi::Examples::EvtCollectionSelector -> Track : px=10.4989 py=10.4342 pz=9.78193
Gaudi::Examples::EvtCollectionSelector SELECTED : True
ReadAlg INFO ========= EVENT:3 RUN:999 TIME:1668444224.868726 0 (0) 1 (1) 2 (2)
Gaudi::Examples::EvtCollectionSelector -> #tracks : 93
Gaudi::Examples::EvtCollectionSelector -> Momenta(Var): [0]=16.7554 [1]=16.91 [2]=17.424 [3]=17.0529 [4]=16.2021
Gaudi::Examples::EvtCollectionSelector -> Momenta(Fix): [0]=16.7554 [1]=16.91 [2]=17.424 [3]=17.0529 [4]=16.2021
Gaudi::Examples::EvtCollectionSelector -> Track : px=8.95659 py=9.22111 pz=10.7468
Gaudi::Examples::EvtCollectionSelector SELECTED : True
ReadAlg INFO ========= EVENT:4 RUN:999 TIME:1668444224.869694 0 (0) 1 (1) 2 (2)
Gaudi::Examples::EvtCollectionSelector -> #tracks : 54
Gaudi::Examples::EvtCollectionSelector -> Momenta(Var): [0]=18.3973 [1]=15.7355 [2]=17.3919 [3]=17.6139 [4]=15.3032
Gaudi::Examples::EvtCollectionSelector -> Momenta(Fix): [0]=18.3973 [1]=15.7355 [2]=17.3919 [3]=17.6139 [4]=15.3032
Gaudi::Examples::EvtCollectionSelector -> Track : px=10.7592 py=9.68162 pz=11.3563
Gaudi::Examples::EvtCollectionSelector SELECTED : True
ReadAlg INFO ========= EVENT:6 RUN:999 TIME:1668444224.871562 0 (0) 1 (1) 2 (2)
Gaudi::Examples::EvtCollectionSelector -> #tracks : 52
Gaudi::Examples::EvtCollectionSelector -> Momenta(Var): [0]=16.7278 [1]=19.0105 [2]=17.2653 [3]=17.9376 [4]=18.0045
Gaudi::Examples::EvtCollectionSelector -> Momenta(Fix): [0]=16.7278 [1]=19.0105 [2]=17.2653 [3]=17.9376 [4]=18.0045
Gaudi::Examples::EvtCollectionSelector -> Track : px=9.79151 py=8.83918 pz=10.2866
Gaudi::Examples::EvtCollectionSelector SELECTED : True
ReadAlg INFO ========= EVENT:500 RUN:999 TIME:1668444226.454028 0 (0) 1 (1) 2 (2)
Gaudi::Examples::EvtCollectionSelector -> #tracks : 55
Gaudi::Examples::EvtCollectionSelector -> Momenta(Var): [0]=17.3344 [1]=16.8644 [2]=17.1626 [3]=19.4074 [4]=18.0094
Gaudi::Examples::EvtCollectionSelector -> Momenta(Fix): [0]=17.3344 [1]=16.8644 [2]=17.1626 [3]=19.4074 [4]=18.0094
Gaudi::Examples::EvtCollectionSelector -> Track : px=10.7646 py=8.89134 pz=10.2737
Gaudi::Examples::EvtCollectionSelector SELECTED : True
ReadAlg INFO ========= EVENT:1000 RUN:999 TIME:1668444228.120125 0 (0) 1 (1) 2 (2)
Gaudi::Examples::EvtCollectionSelector -> #tracks : 93
Gaudi::Examples::EvtCollectionSelector -> Momenta(Var): [0]=16.6809 [1]=14.9037 [2]=16.7944 [3]=17.0709 [4]=17.3469
Gaudi::Examples::EvtCollectionSelector -> Momenta(Fix): [0]=16.6809 [1]=14.9037 [2]=16.7944 [3]=17.0709 [4]=17.3469
Gaudi::Examples::EvtCollectionSelector -> Track : px=10.1578 py=9.51566 pz=9.19358
Gaudi::Examples::EvtCollectionSelector SELECTED : True
IODataManager INFO Disconnect from dataset ROOT_IO.etags [875B39E6-643B-11ED-8677-1C34DA646B40]
ReadAlg INFO ========= EVENT:2 RUN:999 TIME:1668444224.867222 0 (0) 1 (1) 2 (2)
Gaudi::Examples::EvtCollectionSelector -> #tracks : 76
Gaudi::Examples::EvtCollectionSelector -> Momenta(Var): [0]=17.7422 [1]=16.7922 [2]=17.6961 [3]=16.0612 [4]=15.7365
Gaudi::Examples::EvtCollectionSelector -> Momenta(Fix): [0]=17.7422 [1]=16.7922 [2]=17.6961 [3]=16.0612 [4]=15.7365
Gaudi::Examples::EvtCollectionSelector -> Track : px=10.4989 py=10.4342 pz=9.78193
Gaudi::Examples::EvtCollectionSelector SELECTED : True
ReadAlg INFO ========= EVENT:3 RUN:999 TIME:1668444224.868726 0 (0) 1 (1) 2 (2)
Gaudi::Examples::EvtCollectionSelector -> #tracks : 93
Gaudi::Examples::EvtCollectionSelector -> Momenta(Var): [0]=16.7554 [1]=16.91 [2]=17.424 [3]=17.0529 [4]=16.2021
Gaudi::Examples::EvtCollectionSelector -> Momenta(Fix): [0]=16.7554 [1]=16.91 [2]=17.424 [3]=17.0529 [4]=16.2021
Gaudi::Examples::EvtCollectionSelector -> Track : px=8.95659 py=9.22111 pz=10.7468
Gaudi::Examples::EvtCollectionSelector SELECTED : True
ReadAlg INFO ========= EVENT:4 RUN:999 TIME:1668444224.869694 0 (0) 1 (1) 2 (2)
Gaudi::Examples::EvtCollectionSelector -> #tracks : 54
Gaudi::Examples::EvtCollectionSelector -> Momenta(Var): [0]=18.3973 [1]=15.7355 [2]=17.3919 [3]=17.6139 [4]=15.3032
Gaudi::Examples::EvtCollectionSelector -> Momenta(Fix): [0]=18.3973 [1]=15.7355 [2]=17.3919 [3]=17.6139 [4]=15.3032
Gaudi::Examples::EvtCollectionSelector -> Track : px=10.7592 py=9.68162 pz=11.3563
Gaudi::Examples::EvtCollectionSelector SELECTED : True
ReadAlg INFO ========= EVENT:6 RUN:999 TIME:1668444224.871562 0 (0) 1 (1) 2 (2)
Gaudi::Examples::EvtCollectionSelector -> #tracks : 52
Gaudi::Examples::EvtCollectionSelector -> Momenta(Var): [0]=16.7278 [1]=19.0105 [2]=17.2653 [3]=17.9376 [4]=18.0045
Gaudi::Examples::EvtCollectionSelector -> Momenta(Fix): [0]=16.7278 [1]=19.0105 [2]=17.2653 [3]=17.9376 [4]=18.0045
Gaudi::Examples::EvtCollectionSelector -> Track : px=9.79151 py=8.83918 pz=10.2866
Gaudi::Examples::EvtCollectionSelector SELECTED : True
ReadAlg INFO ========= EVENT:500 RUN:999 TIME:1668444226.454028 0 (0) 1 (1) 2 (2)
Gaudi::Examples::EvtCollectionSelector -> #tracks : 55
Gaudi::Examples::EvtCollectionSelector -> Momenta(Var): [0]=17.3344 [1]=16.8644 [2]=17.1626 [3]=19.4074 [4]=18.0094
Gaudi::Examples::EvtCollectionSelector -> Momenta(Fix): [0]=17.3344 [1]=16.8644 [2]=17.1626 [3]=19.4074 [4]=18.0094
Gaudi::Examples::EvtCollectionSelector -> Track : px=10.7646 py=8.89134 pz=10.2737
Gaudi::Examples::EvtCollectionSelector SELECTED : True
ReadAlg INFO ========= EVENT:1000 RUN:999 TIME:1668444228.120125 0 (0) 1 (1) 2 (2)
Gaudi::RootNTup... INFO End of input Ntuple.
EventLoopMgr INFO No more events in event selection
ApplicationMgr INFO Application Manager Stopped successfully
EventLoopMgr INFO Histograms converted successfully according to request.
RootCnvSvc INFO Disconnected data IO:80F9B690-643B-11ED-940A-1C34DA646B40 [ROOTIO.dst]
RootCnvSvc INFO Disconnected data IO:81030B64-643B-11ED-940A-1C34DA646B40 [ROOTIO.mdst]
ToolSvc INFO Removing all tools created by ToolSvc
EvtTupleSvc.Eve... INFO Disconnected data IO:875B39E6-643B-11ED-8677-1C34DA646B40 [ROOT_IO.etags]
EvtTupleSvc.Eve... INFO Disconnected data IO:857E3CC2-643B-11ED-9C50-1C34DA646B40 [ROOT_IO.tags]
ApplicationMgr INFO Application Manager Finalized successfully
ApplicationMgr INFO Application Manager Terminated successfully
Number of MyTrack instances:2
......@@ -26,6 +26,9 @@ AvalancheSchedu... DEBUG RootDecisionHub (0), w/ decision: TRUE(1)
emptySeq (3), w/ decision: FALSE(0)
A2 (4), w/ decision: UNDEFINED(-1), in state: INITIAL
"""
findReferenceBlock(ref1, id="ref1")
# remove noise from stdout
stdout = '\n'.join(l for l in stdout.splitlines() if "Popped slot 0" not in l)
findReferenceBlock(ref1, stdout, id="ref1")
</text></argument>
</extension>
......@@ -10,30 +10,33 @@
#####################################################################################
# GaudiKernel subdirectory
# Look for VectorClass required header (private dependency)
find_path(VectorClass_INCLUDE_DIR NAMES instrset_detect.cpp)
if(VectorClass_INCLUDE_DIR AND NOT VectorClass_VERSION)
# check that the version is good enough
set(VectorClass_VERSION 0.0)
file(STRINGS ${VectorClass_INCLUDE_DIR}/instrset.h _vectorclass_guard REGEX "define +INSTRSET_H +[0-9]+")
list(GET _vectorclass_guard 0 _vectorclass_guard)
if(_vectorclass_guard MATCHES "INSTRSET_H +([0-9][0-9][0-9][0-9][0-9])")
string(REGEX REPLACE "([0-9]+)([0-9][0-9])([0-9][0-9])" "\\1.\\2.\\3" VectorClass_VERSION "${CMAKE_MATCH_1}")
elseif(_vectorclass_guard MATCHES "INSTRSET_H +([0-9][0-9][0-9])")
string(REGEX REPLACE "([0-9]+)([0-9][0-9])" "\\1.\\2" VectorClass_VERSION "${CMAKE_MATCH_1}")
# VectorClass only supports x86_64 architectures
if(CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64")
# Look for VectorClass required header (private dependency)
find_path(VectorClass_INCLUDE_DIR NAMES instrset_detect.cpp)
if(VectorClass_INCLUDE_DIR AND NOT VectorClass_VERSION)
# check that the version is good enough
set(VectorClass_VERSION 0.0)
file(STRINGS ${VectorClass_INCLUDE_DIR}/instrset.h _vectorclass_guard REGEX "define +INSTRSET_H +[0-9]+")
list(GET _vectorclass_guard 0 _vectorclass_guard)
if(_vectorclass_guard MATCHES "INSTRSET_H +([0-9][0-9][0-9][0-9][0-9])")
string(REGEX REPLACE "([0-9]+)([0-9][0-9])([0-9][0-9])" "\\1.\\2.\\3" VectorClass_VERSION "${CMAKE_MATCH_1}")
elseif(_vectorclass_guard MATCHES "INSTRSET_H +([0-9][0-9][0-9])")
string(REGEX REPLACE "([0-9]+)([0-9][0-9])" "\\1.\\2" VectorClass_VERSION "${CMAKE_MATCH_1}")
endif()
set(VectorClass_VERSION "${VectorClass_VERSION}" CACHE INTERNAL "")
endif()
set(VectorClass_VERSION "${VectorClass_VERSION}" CACHE INTERNAL "")
endif()
if(NOT VectorClass_INCLUDE_DIR OR VectorClass_VERSION VERSION_LESS 2.01.02)
if(VectorClass_INCLUDE_DIR)
message(STATUS "Found VectorClass instrset_detect ${VectorClass_VERSION} at ${VectorClass_INCLUDE_DIR}")
if(NOT VectorClass_INCLUDE_DIR OR VectorClass_VERSION VERSION_LESS 2.01.02)
if(VectorClass_INCLUDE_DIR)
message(STATUS "Found VectorClass instrset_detect ${VectorClass_VERSION} at ${VectorClass_INCLUDE_DIR}")
endif()
message(WARNING "using internal VectorClass instrset_detect (2.01.02)")
set(VectorClass_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/src/contrib" CACHE PATH "" FORCE)
set(VectorClass_VERSION "1.25" CACHE INTERNAL "" FORCE)
endif()
message(WARNING "using internal VectorClass instrset_detect (2.01.02)")
set(VectorClass_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/src/contrib" CACHE PATH "" FORCE)
set(VectorClass_VERSION "1.25" CACHE INTERNAL "" FORCE)
mark_as_advanced(VectorClass_INCLUDE_DIR)
message(STATUS "Using VectorClass instrset_detect ${VectorClass_VERSION} at ${VectorClass_INCLUDE_DIR}")
endif()
mark_as_advanced(VectorClass_INCLUDE_DIR)
message(STATUS "Using VectorClass instrset_detect ${VectorClass_VERSION} at ${VectorClass_INCLUDE_DIR}")
# Build the library
gaudi_add_library(GaudiKernel
......
......@@ -44,9 +44,11 @@
# include "Platform/SystemWin32.h"
#endif
#define VCL_NAMESPACE Gaudi
#include "instrset_detect.cpp"
#undef VCL_NAMESPACE
#ifdef __x86_64
# define VCL_NAMESPACE Gaudi
# include "instrset_detect.cpp"
# undef VCL_NAMESPACE
#endif
#ifdef _WIN32
# define strcasecmp _stricmp
......@@ -334,8 +336,12 @@ const std::string& System::machineType() {
}
int System::instructionsetLevel() {
#ifdef __x86_64
using namespace Gaudi;
return instrset_detect();
#else
return -1;
#endif
}
/// User login name
......
......@@ -9,10 +9,19 @@
# or submit itself to any jurisdiction. #
#####################################################################################
import os
from platform import processor
from subprocess import PIPE, Popen
from nose import SkipTest
def test():
if processor() != "x86_64":
raise SkipTest(
"platform {} not supported (instructionsetLevel only works on x86_64".format(
processor()
)
)
out = Popen(["instructionsetLevel", "all"], stdout=PIPE).communicate()[0]
out = out.decode("utf-8")
known_flags = set(l.strip() for l in out.splitlines())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment