CERN / TIGRE

TIGRE: Tomographic Iterative GPU-based Reconstruction Toolbox
BSD 3-Clause "New" or "Revised" License
560 stars 183 forks source link

Cmake to install TIGRE #306

Closed Neilblaze closed 3 years ago

Neilblaze commented 3 years ago

Expected Behavior

I'm trying to compile TIGRE via Cmake v3.21.0, but I'm getting few errors on my system. This is the log that I'm getting CMake Error: Error executing cmake::LoadCache(). Aborting.

Specifications

AnderBiguri commented 3 years ago

Hi @Neilblaze There is no Cmake files in Tigre, it is currently not supported for compiling. I am not very sure how you are even calling it to be honest! Try the instalation instructions

Neilblaze commented 3 years ago

I recently upgraded my CUDA, since then I'm facing some issues during installation, but later found a solution on StackOverflow which didn't work.

@AnderBiguri I was going through the issues where I found an issue where I thought apart from the normal instructions, I could install TIGRE via Cmake. So, I tried running Cmake with the filepath as it's source, but it's showing the mentioned error. I actually thought that support for Cmake might have been added to this.

AnderBiguri commented 3 years ago

No, unfortunately that is not right. The issue is there because I want to enable Cmake compilation, but its open because its still not there.

Neilblaze commented 3 years ago

Ah I see. Thanks for the info :)

AnderBiguri commented 3 years ago

No worries. Do let me know if you have any issue compiling the normal way :+1:

Neilblaze commented 3 years ago

@AnderBiguri Sure! I'll. Also, is CUDA mandatory for TIGRE? or is there any bypass method?

AnderBiguri commented 3 years ago

No theres not. The core of the entire toolbox is that it uses GPUs for computing, and this was coded in CUDA.

Neilblaze commented 3 years ago

Ok, let me see if I can resolve the installation issue. If I get stuck at any point, I'll let you know. Thanks again 😄