[Gate-users] Error compiling GATE with CUDA

André Miguel Monteiro ammonteiro at fc.ul.pt
Wed Jan 7 15:20:39 CET 2015


Dear Gate users,

I am trying to compile gate with CUDA computing using:


Geant4 9.6.p03 with Gate v7.0
The CLHEP either embedded from Geant4 or an external CLHEP (version : 2.1.3.1)
gcc 4.8, 4.7 or 4.6
CMAKE version : 2.4, 2.6 or 2.7

?
and it gives me always the following output:

[  6%] Building NVCC (Device) object CMakeFiles/Gate.dir/source/gpu/src/./Gate_generated_GateGPUManager.cu.o
In file included from /usr/include/c++/4.6/atomic:38:0,
                 from /home/andre/programs/root/include/TFile.h:24,
                 from /home/andre/programs/gate_v7.0/source/digits_hits/include/GateToGPUImageSPECT.hh:20,
                 from /home/andre/programs/gate_v7.0/source/gpu/src/GateCollim_gpu.cu:2,
                 from /home/andre/programs/gate_v7.0/source/gpu/src/GateGPUManager.cu:9:
/usr/include/c++/4.6/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the upcoming ISO C++ standard, C++0x. This support is currently experimental, and must be enabled with the -std=c++0x or -std=gnu++0x compiler options.
CMake Error at Gate_generated_GateGPUManager.cu.o.cmake:206 (message):
  Error generating
  /home/andre/programs/gate.7.0-build-test/CMakeFiles/Gate.dir/source/gpu/src/./Gate_generated_GateGPUManager.cu.o


make[2]: *** [CMakeFiles/Gate.dir/source/gpu/src/./Gate_generated_GateGPUManager.cu.o] Error 1
make[1]: *** [CMakeFiles/Gate.dir/all] Error 2
make: *** [all] Error 2

Does anyone knows what is the problem?

Thank you in advance.

Best regards,

André Miguel Monteiro?


--------------------------------
MSc Student in Biomedical and Biophysics Engineering at Faculty of Sciences of the University of Lisbon

Institute of Biophysics and Biomedical Engineering
Faculty of Sciences, University of Lisbon
Campo Grande
1749-016 Lisbon

Room Office: 1.02
Extension: 20509
Email: ammonteiro at fc.ul.pt
LinkedIn Profile: http://linkedin.com/in/andremmonteiro
Website: http://www.ibeb.fc.ul.pt/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20150107/b3259fb6/attachment.html>


More information about the Gate-users mailing list