Status of LHCb applications
- n 64-bit platforms
Rosa M. Garcia Rioja Openlab
Status of LHCb applications on 64-bit platforms Rosa M. Garcia - - PowerPoint PPT Presentation
Status of LHCb applications on 64-bit platforms Rosa M. Garcia Rioja Openlab Contents 64-bit platforms Source Code issues LHCb applications Global status Issues found Future problems, actions and solutions
Rosa M. Garcia Rioja Openlab
Status of LHCb applications on 64-bit architectures 2
Status of LHCb applications on 64-bit architectures 3
16 32 128
short Int, float long, double size_t,pointer long double long l; int i; long generateNumber(); l=generateNumber(); i = l + +;
64 l 32 i 64
Status of LHCb applications on 64-bit architectures 4
#define OFFSET1 0xFFFFFFFF -1 4,294,967,295 #define OFFSET2 0x100000000 0 4,294,967,296 const signed int OFFSET1 = 0xFFFFFFFF;
Status of LHCb applications on 64-bit architectures 5
– Pointer size is 64 bit. – Wrong cast Value of the pointer will be truncated – Problems with int (linux) and long and int (windows)
int int
0x00000C5BFF45111F
pointer
0xFF45111F
int int pointer
235.6 hello “a” “b” 7 Step 0 Step 1 char p=“a”; (&p= 0x00000C5BFF45111F) int i= &p (*i= 0xFF45111F)
Status of LHCb applications on 64-bit architectures 6
Linux
long, size_t, ssize_t counting numbers intptr_t, uintptr_t type-cast pointer
Windows
int3264, SIZE_T, SSIZE_T Windows\ 2000 (64-bit) size_t, ssize_t ANSI counting numbers LPARAM, WPARAM, LRESULT, INT_PTR, UINT_PTR, DWORD_PTR, LONG_PTR, ULONG_PTR Windows 2000 (64-bit) intptr_t, uintptr_t ANSI type-cast pointer
Status of LHCb applications on 64-bit architectures 7
Status of LHCb applications on 64-bit architectures 9
CORAL POOL COOL GAUDI EULER MOORE GAUSS RELAX ROOT SEAL
SCRAM CMT
Simulation Data Mgmt. Core External Dependencies …
Status of LHCb applications on 64-bit architectures 10
Status of LHCb applications on 64-bit architectures 11
MathLib
SealUtil SealZip SealIOTools PluginManager
Foundation Framework Dictionary Scripting
SealBase SealKernel SealIServices LcgDict Reflex Cintex Reflexion Dictionary PyROOT PyBus PyLcgDict Minuit MathCore FML
RELAX ROOT
Status of LHCb applications on 64-bit architectures 12
Status of LHCb applications on 64-bit architectures 13
Status of LHCb applications on 64-bit architectures 14
Status of LHCb applications on 64-bit architectures 15
Tr a ns i e nt Ev e nt St
e
Co nv e r t e r Al g
i t h m
Ev e n t Da t a Se r v i c e Pe r s i s t e nc y Se r v i c e
Da t a Fi l e s Al g
i t h m
Al g
i t h m De t e c . Da t a Se r v i c e Pe r s i s t e nc y Se r v i c e
Da t a Fi l e s
Tr a ns i e nt De t e c t
St
e M e s s a g e Se r v i c e J
Op t i
Se r v i c e Pa r t i c l e Pr
. Se r v i c e Ot h e r Se r v i c e s Hi s t
r a m Se r v i c e Pe r s i s t e nc y Se r v i c e
Da t a Fi l e s
Tr a ns i e nt Hi s t
r a m St
e Ap p l i c a t i
M a na g e r
Co nv e r t e r
Co nv e r t e r Ev e nt Se l e c t
POOL dependency
Image from:http://lhcb-comp.web.cern.ch/lhcb-comp/Frameworks/Gaudi/GaudiTutorial.htm
Status of LHCb applications on 64-bit architectures 16
Status of LHCb applications on 64-bit architectures 17
Status of LHCb applications on 64-bit architectures 18
CORAL POOL COOL GAUDI RELAX ROOT SEAL External Dependencies
Not clean for 64 bits
Status of LHCb applications on 64-bit architectures 19
Status of LHCb applications on 64-bit architectures 20
Status of LHCb applications on 64-bit architectures 21
Buffer 4*long (32 bits) Buffer 4*long (64 bits)
Status of LHCb applications on 64-bit architectures 22
Status of LHCb applications on 64-bit architectures 23