Closed 6ABCD0 closed 8 months ago
It appears that your installed CUDA version is incompatible with your installed GCC version, as the error message suggests:
error: #error -- unsupported GNU version! gcc versions later than 12 are not supported! The nvcc flag '-allow-unsupported-compiler' can be used to override this version check; however, using an unsupported host compiler may cause compilation failure or incorrect run time execution. Use at your own risk.
You need to find a gcc that is compatible with your CUDA version, otherwise you won't be able to compile anything CUDA. This is unfortunately not something we can control from TIGRE, NVIDIA keeps changing which GCCs they accept in every version, its hard to keep track.
Thanks so much for your help! I changed a machine and I fix it! The example.py and d01_CreateGeometry.py was run smoothly. But when I try to run d02_SampleData.py. I appears:
/users/psi/wxie/anaconda3/envs/NeRP/lib/python3.7/site-packages/matplotlib/animation.py:888: UserWarning: Animation was deleted without rendering anything. This is most likely not intended. To prevent deletion, assign the Animation to a variable, e.g. anim
, that exists until you have outputted the Animation using plt.show()
or anim.save()
.
'Animation was deleted without rendering anything. This is '
Traceback (most recent call last):
File "/users/psi/wxie/anaconda3/envs/NeRP/lib/python3.7/site-packages/scipy/io/matlab/mio.py", line 39, in _open_file
return open(file_like, mode), True
FileNotFoundError: [Errno 2] No such file or directory: '/users/psi/wxie/anaconda3/envs/NeRP/lib/python3.7/site-packages/tigre/utilities/./../../data/head.mat'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "d02_SampleData.py", line 64, in
I don't know how can I find the'/users/psi/wxie/anaconda3/envs/NeRP/lib/python3.7/site-packages/tigre/utilities/./../../data/head.mat'?
@Window-Duo This error is on us (#493), still trying to solve it, but it has an easy solution:
take the file https://github.com/CERN/TIGRE/tree/master/Common/data/head.mat and then copy it in /users/psi/wxie/anaconda3/envs/NeRP/lib/python3.7/site-packages/tigre/utilities/./../../data/head.mat
you can do it with the mv
command in command line.
@Window-Duo I just updated the master branch to fix this, if you can pull again and try installing again, that would be great.
Hi AnderBiguri, thanks so much! It's fine now. But when I run d04_SimpleReconstruction.py, it shows:
(NeRP) [wxie@fasso demos]$ python d04_SimpleReconstruction.py
OSSART algorithm in progress.
Estimated time until completion : 00:00:48
/users/psi/wxie/anaconda3/envs/NeRP/lib/python3.7/site-packages/matplotlib/animation.py:888: UserWarning: Animation was deleted without rendering anything. This is most likely not intended. To prevent deletion, assign the Animation to a variable, e.g. anim
, that exists until you have outputted the Animation using plt.show()
or anim.save()
.
'Animation was deleted without rendering anything. This is '
And When I run d03_generateData.py ,it shows:
(NeRP) [wxie@fasso demos]$ python d03_generateData.py
/users/psi/wxie/anaconda3/envs/NeRP/lib/python3.7/site-packages/matplotlib/animation.py:888: UserWarning: Animation was deleted without rendering anything. This is most likely not intended. To prevent deletion, assign the Animation to a variable, e.g. anim
, that exists until you have outputted the Animation using plt.show()
or anim.save()
.
'Animation was deleted without rendering anything. This is
I know it's just a Warning I can ignore. But I still want to double check if it's okay and if this warning will cause some bad things when I use it in the future?
@Window-Duo It seems that you are using an older version of python + matplotlib, so some displaying stuff may not work for you, but it should not stop the code from working.
I got it. Thanks so much! AnderBiguri.
Expected Behavior
When I try to run:pip install .
it appears:
Specifications