Open huiyuxie opened 1 month ago
(Trixi) pkg> add CUDA@5.5.2
Resolving package versions...
ERROR: Unsatisfiable requirements detected for package Adapt [79e6a3ab]:
Adapt [79e6a3ab] log:
├─possible versions are: 0.3.0 - 4.0.4 or uninstalled
├─restricted by compatibility requirements with RecursiveArrayTools [731186ca] to versions: 3.0.0 - 3.7.2
│ └─RecursiveArrayTools [731186ca] log:
│ ├─possible versions are: 0.16.0 - 3.27.0 or uninstalled
│ └─restricted to versions 2.38.10 - 2 by Trixi [a7f1ee26], leaving only versions: 2.38.10
│ └─Trixi [a7f1ee26] log:
│ ├─possible versions are: 0.9.2 or uninstalled
│ └─Trixi [a7f1ee26] is fixed to version 0.9.2-DEV
└─restricted by compatibility requirements with CUDA [052768ef] to versions: 4.0.0 - 4.0.4 — no versions left
└─CUDA [052768ef] log:
├─possible versions are: 0.1.0 - 5.5.2 or uninstalled
└─restricted to versions 5.5.2 by an explicit requirement, leaving only versions: 5.5.2
Adapt is required by RecursiveArrayTools to be in the version range 3.0.0 - 3.7.2. CUDA is requiring Adapt to be in the range 4.0.0 - 4.0.4, but this is outside of the range that RecursiveArrayTools allows.
See #2063.
This is all related to https://github.com/trixi-framework/Trixi.jl/issues/1789 so it will take some time
Update: There is no compatibility issue for Julia 1.10; the issue only exits for Julia 1.11
This package restricts the GPUCompiler version to an old one which is out of maintenance and it could do with some old dependencies - leads the CUDA failed to precompile.