amusecode / amuse

Astrophysical Multipurpose Software Environment. This is the main repository for AMUSE
http://www.amusecode.org
Apache License 2.0
158 stars 99 forks source link

CUDA calls outdated #592

Closed GFTwrt closed 2 years ago

GFTwrt commented 4 years ago

Hello,

I'm using UBUNTU 19.10 (eoan) which uses CUDA10 https://packages.ubuntu.com/source/eoan/nvidia-cuda-toolkit. (GeForce RTX 2070, on Ryzen 7 3800) I can compile newer codes like "fastkick" with CUDA Support. But older codes like "bonsai" needs to be ported to higher "gpu-architecture". Example sapporo_2 sets the flag "-arch=sm_20" which is outdated since CUDA 9 and already set to deprecated in Version 8. Please have look to the build.log attached.

I also tried cython and cython3. The codes where not compiled.

Community codes not built (because of errors):

https://stackoverflow.com/questions/28932864/cuda-compute-capability-requirements CUDA VERSION Min CC Deprecated CC Default CC Max CC 5.5 (and prior) 1.0 N/A 1.0 6.0 1.0 1.0 1.0 6.5 1.1 1.x 2.0 7.x 2.0 N/A 2.0 8.0 2.0 2.x 2.0 6.2 9.x 3.0 N/A 3.0 7.0 10.x 3.0 N/A 3.0 7.5

build.log

Can you help?

ipelupessy commented 4 years ago

@jbedorf can you have a look at the saporro and bonsai??

GFTwrt commented 4 years ago

Hello, please keep in mind: not just saporro and bonsai have this problem. Other CUDA codes are in the same pit. (Have a look to the attached build.log)

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 28 days if no further activity occurs. Thank you for your contributions.

ipelupessy commented 2 years ago

Closing. reopen if necessary. CUDA stuff will need some maintenance; but atm I cannot test this easily..