I’m trying to build Garfield (master blanch) with GPU in my PC(AlmaLinux10.2). My PC has already installed ROOT v6.36.04 and v6.40.00 . When I build Garfield, the below message showed and can’t build it.
$cmake -Dcuda=ON ..
Check for working CUDA compiler: /usr/local/cuda/bin/nvcc - skipped
– Detecting CUDA compile features
– Detecting CUDA compile features - done
$make
Loading from the following files: …/AvalancheMicroscopicGPU.cu:19:
../garfieldpp-master/Include/Garfield/RandomEngineRoot.hh:
4:10: Fatal error: TRandom3.h: No such file or directory
4 | #include <TRandom3.h>
Trandom3.h is only included in Garfield/RandomEngineRoot.hh.
I can build Garfield without GPU.
Could you help to build Garfield with GPU?