Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EcalRawToDigiGPU should fail gracefully if CUDA is not available #451

Closed
fwyzard opened this issue May 11, 2020 · 2 comments
Closed

EcalRawToDigiGPU should fail gracefully if CUDA is not available #451

fwyzard opened this issue May 11, 2020 · 2 comments
Assignees
Labels
ECAL ECAL-related developments fixed

Comments

@fwyzard
Copy link

fwyzard commented May 11, 2020

EcalRawToDigiGPU should fail gracefully if CUDA is not available, or if the driver is not recent enough.

Trying to run on a machine without GPUs or with an older version of CUDA 10.1 results in

%MSG-w CUDAService:  (NoModuleName) 11-May-2020 21:52:33 CEST pre-events
Failed to initialize the CUDA runtime.
Disabling the CUDAService.
%MSG
11-May-2020 21:52:37 CEST  Initiating request to open file file:step2.root
11-May-2020 21:52:38 CEST  Successfully opened file file:step2.root

std::bad_alloc exception
11-May-2020 21:52:38 CEST  Closed file file:step2.root
----- Begin Fatal Exception 11-May-2020 21:52:38 CEST-----------------------
An exception of category 'BadAlloc' occurred while
   [0] Constructing the EventProcessor
   [1] Constructing module: class=EcalRawToDigiGPU label='ecalDigisGPU'
Exception Message:
A std::bad_alloc exception was thrown.
The job has probably exhausted the virtual memory available to the process.
----- End Fatal Exception -------------------------------------------------
@fwyzard fwyzard added the ECAL ECAL-related developments label May 11, 2020
@vkhristenko
Copy link

not needed after #502

@fwyzard
Copy link
Author

fwyzard commented Jul 8, 2020

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ECAL ECAL-related developments fixed
Projects
None yet
Development

No branches or pull requests

2 participants