[Rtk-users] Hi rtk-users/developpers,

Mathieu DUPONT mdupont at cppm.in2p3.fr
Mon Jun 22 07:56:46 EDT 2015


Hi Simon, 

thanks for your job, i was able to compile (with a minor problem, see https://github.com/SimonRit/RTK/pull/13) and test your example with python 2.7 (provided by anaconda) and it works. 

Regards, 
Mathieu 





----- Original Message -----

From: "Simon Rit" <simon.rit at creatis.insa-lyon.fr> 
To: "Julien Jomier" <julien.jomier at kitware.com> 
Cc: "Mathieu DUPONT" <mdupont at cppm.in2p3.fr>, rtk-users at public.kitware.com 
Sent: Friday, June 19, 2015 8:46:47 AM 
Subject: Re: [Rtk-users] Hi rtk-users/developpers, 

Hi Mathieu, 
That was not easy but I have pushed a fix that should allow the use of CUDA in SimpleRTK. I have included your json file in the repository and added an example that works for me: 
https://github.com/SimonRit/RTK/blob/master/utilities/SimpleRTK/Examples/RTKFirstCudaReconstruction.py 
It would be great if some other users can test it. 
Simon 

On Wed, Apr 1, 2015 at 2:47 PM, Julien Jomier < julien.jomier at kitware.com > wrote: 


Hi Mathieu, 

It's actually a little more complicated than just modifying the CMakeLists files, because we define a new image type itk::CudaImage which is not currently handled by the wrapping. We'll see if we can add this soon. 

Julien 


On 30/03/2015 11:14, Mathieu DUPONT wrote: 

<blockquote>
Hi rtk-users/developpers, 


I want to use RTK in a python workflow, and for this I want to use CudaFDKConeBeamReconstructionFilter class. For this, I created a json file in "utilities/SimpleRTK/Code/BasicFilters/json" directory. I join this file with this email. But when I try to build, I get an error about "cuda.h" file missing. 


" 
[ 65%] Building CXX object Code/BasicFilters/src/CMakeFiles/SimpleRTKBasicFilters1.dir/srtkCudaFDKConeBeamReconstructionFilter.cxx.o 
cd /data/mdupont/Compile/openrtk/bin-rtk/SimpleRTK-build/Code/BasicFilters/src && /usr/bin/c++ -DSimpleRTKBasicFilters1_EXPORTS -DSimpleRTKBasicFilters_EXPORTS -fPIC -fPIC -I/data/mdupont/Compile/openrtk/bin-rtk -I/image/mdupont/soft/RTK/utilities/ITKCudaCommon/include -I/image/mdupont/soft/RTK/code -I/data/soft/include/ITK-4.7/Algorithms -I/data/soft/include/ITK-4.7 -I/image/mdupont/soft/RTK/utilities/SimpleRTK/Code/Common/include -I/image/mdupont/soft/RTK/utilities/SimpleRTK/Code/Registration -I/image/mdupont/soft/RTK/utilities/SimpleRTK/Code/BasicFilters/include -I/image/mdupont/soft/RTK/utilities/SimpleRTK/Code/IO/include -I/data/mdupont/Compile/openrtk/bin-rtk/SimpleRTK-build/Code/BasicFilters/include -I/data/mdupont/Compile/openrtk/bin-rtk/SimpleRTK-build/Code/Common/include -I/image/mdupont/soft/RTK/utilities/SimpleRTK/Code/BasicFilters/src -o CMakeFiles/SimpleRTKBasicFilters1.dir/srtkCudaFDKConeBeamReconstructionFilter.cxx.o -c /data/mdupont/Compile/openrtk 


/bin-rt 
k/SimpleRTK-build/Code/BasicFilters/src/srtkCudaFDKConeBeamReconstructionFilter.cxx 

<blockquote>

In file included from /image/mdupont/soft/RTK/utilities/ITKCudaCommon/include/itkCudaImageDataManager.h:25, 
from /image/mdupont/soft/RTK/utilities/ITKCudaCommon/include/itkCudaImage.h:22, 
from /image/mdupont/soft/RTK/code/rtkCudaFDKWeightProjectionFilter.h:25, 
from /image/mdupont/soft/RTK/code/rtkCudaFDKConeBeamReconstructionFilter.h:23, 
from /data/mdupont/Compile/openrtk/bin-rtk/SimpleRTK-build/Code/BasicFilters/src/srtkCudaFDKConeBeamReconstructionFilter.cxx:34: 
/image/mdupont/soft/RTK/utilities/ITKCudaCommon/include/itkCudaUtil.h:33: fatal error: cuda.h: No such file or directory 
" 

How to modify cmakelists files in order to use cuda classes with SimpleRTK ? 

Thanks for your help, 
Mathieu Dupont 



_______________________________________________ 
Rtk-users mailing list 
Rtk-users at public.kitware.com 
http://public.kitware.com/mailman/listinfo/rtk-users 


</blockquote>
_______________________________________________ 
Rtk-users mailing list 
Rtk-users at public.kitware.com 
http://public.kitware.com/mailman/listinfo/rtk-users 

</blockquote>



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/rtk-users/attachments/20150622/22dcfb74/attachment-0002.html>


More information about the Rtk-users mailing list