]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/TPCLib/tracking-ca/cagpu/gpu_tracker_install.txt
end-of-line normalization
[u/mrichter/AliRoot.git] / HLT / TPCLib / tracking-ca / cagpu / gpu_tracker_install.txt
1 The GPU Tracker is contained in an extra library AliHLTTPCCAGPU that must be build in addition to the HLT libraries
2 The HLT Tracker Framework will automatically try to load AliHLTTPCCAGPU from LD_LIBRARY_PATH
3 AliHLTTPCCAGPU will further try to load the CUDA runtime library which needs to be installed and pointed to by LD_LIBRARY_PATH
4 If the -allowGPU option for the AliHLTTPCCATrackerComponent is set, the tracker framework will automatically try run the GPU tracker.
5 If the GPU tracker is not available (because no GPU is present, or because all the GPU memory is used by other processes) the framework will automatically fall back to the CPU tracker
6
7 Therefore to use the GPU tracker the following steps are needed:
8 - The NVIDIA Driver must be installed and the kernel modules loaded
9 - The CUDA Toolkit must be installed in /usr/local/cuda and the LD_LIBRARY_PATH must point to it
10 - The library AliHLTTPCCAGPU must be compiled and LD_LIBRARY_PATH point to it
11 - the -allowGPU option must be set for the TrackerComponent in the HLT configuration
12
13 How to build the library AliHLTTPCCAGPU:
14 The library is not build automatically by the AliROOT or HLT standalone build
15 It can be found at via svn at https://qon.zapto.org/var/svn/catracker/catracker/standalone/cagpubuild
16 The Variables ROOTSYS AND ALIHLT_TOPDIR must be set for the makefile to work, the cuda compiler nvcc must be present in the PATH variable
17 The makefile builds the library and stores the shared object file in the current directory
18
19 To build the library the following is needed
20 - Checkout the library from svn
21 - Make sure the environment variables ALIHLT_TOPDIR and ROOTSYS are set
22 - The CUDA compiler must be installed in /usr/local/cuda and available in the PATH variable (you can change the path in the makefile)
23 - run make