nabu-multicor crashes when using cuda 12
Should not happen. For the record, cuda 12 is supported though not optimal in terms of performances
paleo@slurm-nice-devel2903:~$ go_gpu
paleo@gpu4-01:~$ cd /mnt/multipath-shares/tmp_14_days/payno/test
paleo@gpu4-01:/mnt/multipath-shares/tmp_14_days/payno/test$ source /scisoft/tomotools/x86_64/cuda11/test_henri/bin/activate
(test_henri) paleo@gpu4-01:/mnt/multipath-shares/tmp_14_days/payno/test$ ml cuda/11
(test_henri) paleo@gpu4-01:/mnt/multipath-shares/tmp_14_days/payno/test$ nabu-multicor /mnt/multipath-shares/tmp_14_days/payno/test/saaxis_results/nabu_cfg_files/bambou_hercules_0001_multi_cor.cfg 1080 2055.0,2056.0,2057.0,2058.0,2059.0,2060.0,2061.0,2062.0,2063.0,2064.0,2065.0
yields
Loaded darks from /mnt/multipath-shares/tmp_14_days/payno/test/bambou_hercules_0001_darks.hdf5
Loaded flats from /mnt/multipath-shares/tmp_14_days/payno/test/bambou_hercules_0001_flats.hdf5
Going to reconstruct slices (1080, 1080)
Processing sub-volume ((0, 4400), (1080, 1081), (0, 2560))
Reading data
Read subvolume (4400, 1, 2560) in 0.49 s
Applying flat-field
Taking logarithm
Reconstruction
Saving data
Wrote /mnt/multipath-shares/tmp_14_days/payno/test/saaxis_results/bambou_hercules_0001_rec/bambou_hercules_0001_rec_01080.hdf5
File already exists: /mnt/multipath-shares/tmp_14_days/payno/test/saaxis_results/bambou_hercules_0001_rec_2055.000_01080.hdf5. It will be overwritten as requested in configuration
Traceback (most recent call last):
File "/scisoft/tomotools/x86_64/cuda11/test_henri/bin/nabu-multicor", line 8, in <module>
sys.exit(main())
File "/scisoft/tomotools/x86_64/cuda11/test_henri/lib/python3.8/site-packages/nabu/app/multicor.py", line 78, in main
rec = pipeline.reconstruction.fbp(sino)
File "/scisoft/tomotools/x86_64/cuda11/test_henri/lib/python3.8/site-packages/nabu/reconstruction/fbp_base.py", line 374, in filtered_backprojection
return self.backproj(sino_to_backproject, output=output)
File "/scisoft/tomotools/x86_64/cuda11/test_henri/lib/python3.8/site-packages/nabu/reconstruction/fbp_base.py", line 351, in backproj
self.gpu_projector(*self.kern_proj_args, **self.kern_proj_kwargs)
File "/scisoft/tomotools/x86_64/cuda11/test_henri/lib/python3.8/site-packages/nabu/cuda/kernel.py", line 90, in call
t = func_call(grid, block, *args, **kwargs)
File "/scisoft/tomotools/x86_64/cuda11/test_henri/lib/python3.8/site-packages/pycuda/driver.py", line 568, in function_prepared_call
arg_buf = pack(func.arg_format, *args)
struct.error: required argument is not an integer