correcting info messages on loaded GPU library (David)
authorrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 5 Nov 2009 20:56:17 +0000 (20:56 +0000)
committerrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 5 Nov 2009 20:56:17 +0000 (20:56 +0000)
HLT/TPCLib/tracking-ca/AliHLTTPCCATrackerFramework.cxx

index ac2748d..913c839 100644 (file)
@@ -161,16 +161,16 @@ AliHLTTPCCATrackerFramework::AliHLTTPCCATrackerFramework(int allowGPU) :  fGPULib
 #endif
        if (hGPULib == NULL)
        {
-#ifndef R__WIN32
-               HLTInfo("%s\n", dlerror());
-#endif
                if (allowGPU)
                {
-                       HLTError("Error Opening cagpu library for GPU Tracker, will fallback to CPU\n");
+                       #ifndef R__WIN32
+                               HLTInfo("The following error occured during dlopen: %s", dlerror());
+                       #endif
+                       HLTError("Error Opening cagpu library for GPU Tracker, will fallback to CPU");
                }
                else
                {
-                       HLTInfo("Cagpu library was not found, Tracking on GPU will not be available");
+                       HLTDebug("Cagpu library was not found, Tracking on GPU will not be available");
                }
                fGPUTracker = new AliHLTTPCCAGPUTracker;
        }