Skip to content

AMDGPU.jl v2 forces downgrade of MPI.jl #812

Description

@navidcy

Have a look at this.

An empty environment:

mwe_amdgpu-mpi/ $ julia -O0 --color=yes --project                                                                                                                                                                                                              [12:35:31]
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.10.10 (2025-06-27)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

(@v1.10) pkg> activate .
  Activating new project at `~/Library/CloudStorage/OneDrive-TheUniversityofMelbourne/Documents/Research/mwe_amdgpu-mpi`

(mwe_amdgpu-mpi) pkg> add MPI
   Resolving package versions...
    Updating `~/Library/CloudStorage/OneDrive-TheUniversityofMelbourne/Documents/Research/mwe_amdgpu-mpi/Project.toml`
  [da04e1cc] + MPI v0.20.22
    Updating `~/Library/CloudStorage/OneDrive-TheUniversityofMelbourne/Documents/Research/mwe_amdgpu-mpi/Manifest.toml`
  [ffbed154] + DocStringExtensions v0.9.5
  [692b3bcd] + JLLWrappers v1.7.1
  [da04e1cc] + MPI v0.20.22
  [3da0fdf6] + MPIPreferences v0.1.11
  [eebad327] + PkgVersion v0.3.3
⌅ [aea7be01] + PrecompileTools v1.2.1
  [21216c6a] + Preferences v1.4.3
  [ae029012] + Requires v1.3.1
  [e33a78d0] + Hwloc_jll v2.12.1+0
  [7cb0a576] + MPICH_jll v4.3.1+0
  [f1f71cc9] + MPItrampoline_jll v5.5.4+0
  [9237b28f] + MicrosoftMPI_jll v10.1.4+3
  [fe0851c0] + OpenMPI_jll v5.0.8+0
  [0dad84c5] + ArgTools v1.1.1
  [56f22d72] + Artifacts
  [2a0f44e3] + Base64
  [ade2ca70] + Dates
  [8ba89e20] + Distributed
  [f43a241f] + Downloads v1.6.0
  [7b1f6079] + FileWatching
  [b77e0a4c] + InteractiveUtils
  [4af54fe1] + LazyArtifacts
  [b27032c2] + LibCURL v0.6.4
  [76f85450] + LibGit2
  [8f399da3] + Libdl
  [56ddb016] + Logging
  [d6f4376e] + Markdown
  [ca575930] + NetworkOptions v1.2.0
  [44cfe95a] + Pkg v1.10.0
  [de0858da] + Printf
  [3fa0cd96] + REPL
  [9a3f8284] + Random
  [ea8e919c] + SHA v0.7.0
  [9e88b42a] + Serialization
  [6462fe0b] + Sockets
  [fa267f1f] + TOML v1.0.3
  [a4e569a6] + Tar v1.10.0
  [cf7118a7] + UUIDs
  [4ec0a83e] + Unicode
  [e66e0078] + CompilerSupportLibraries_jll v1.1.1+0
  [deac9b47] + LibCURL_jll v8.4.0+0
  [e37daf67] + LibGit2_jll v1.6.4+0
  [29816b5a] + LibSSH2_jll v1.11.0+1
  [c8ffd9c3] + MbedTLS_jll v2.28.2+1
  [14a3606d] + MozillaCACerts_jll v2023.1.10
  [83775a58] + Zlib_jll v1.2.13+1
  [8e850ede] + nghttp2_jll v1.52.0+1
  [3f19e933] + p7zip_jll v17.4.0+2
        Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. To see why use `status --outdated -m`

(mwe_amdgpu-mpi) pkg> st
Status `~/Library/CloudStorage/OneDrive-TheUniversityofMelbourne/Documents/Research/mwe_amdgpu-mpi/Project.toml`
  [da04e1cc] MPI v0.20.22

(mwe_amdgpu-mpi) pkg> add AMDGPU
   Resolving package versions...
    Updating `~/Library/CloudStorage/OneDrive-TheUniversityofMelbourne/Documents/Research/mwe_amdgpu-mpi/Project.toml`
⌃ [21141c5a] + AMDGPU v1.3.6
    Updating `~/Library/CloudStorage/OneDrive-TheUniversityofMelbourne/Documents/Research/mwe_amdgpu-mpi/Manifest.toml`
⌃ [21141c5a] + AMDGPU v1.3.6
  [621f4979] + AbstractFFTs v1.5.0
  [6a4ca0a5] + AcceleratedKernels v0.4.3
  [79e6a3ab] + Adapt v4.3.0
  [dce04be8] + ArgCheck v2.5.0
  [a9b6321e] + Atomix v1.1.1
  [fa961155] + CEnum v0.5.0
  [a8cc5b0e] + Crayons v4.1.1
  [9a962f9c] + DataAPI v1.16.0
  [e2d170a0] + DataValueInterfaces v1.0.0
  [e2ba6199] + ExprTools v0.1.10
  [0c68f7d7] + GPUArrays v11.2.3
  [46192b85] + GPUArraysCore v0.2.0
  [61eb1bfa] + GPUCompiler v1.6.1
  [096a3bc2] + GPUToolbox v0.2.0
  [076d061b] + HashArrayMappedTries v0.2.0
  [92d709cd] + IrrationalConstants v0.2.4
  [82899510] + IteratorInterfaceExtensions v1.0.0
  [63c18a36] + KernelAbstractions v0.9.38
  [929cbde3] + LLVM v9.4.2
  [b964fa9f] + LaTeXStrings v1.4.0
  [2ab3a3ac] + LogExpFunctions v0.3.29
  [1914dd2f] + MacroTools v0.5.16
  [bac558e1] + OrderedCollections v1.8.1
  [08abe8d2] + PrettyTables v2.4.0
  [74087812] + Random123 v1.7.1
  [e6cf234a] + RandomNumbers v1.6.0
  [189a3867] + Reexport v1.2.2
  [7e506255] + ScopedValues v1.4.0
  [6c6a2e73] + Scratch v1.3.0
  [276daf66] + SpecialFunctions v2.5.1
  [90137ffa] + StaticArrays v1.9.14
  [1e83bf80] + StaticArraysCore v1.4.3
  [892a3eda] + StringManipulation v0.4.1
  [3783bdb8] + TableTraits v1.0.1
  [bd369af6] + Tables v1.12.1
  [e689c965] + Tracy v0.1.5
  [013be700] + UnsafeAtomics v0.3.0
  [dad2f222] + LLVMExtra_jll v0.0.37+2
⌅ [86de99a1] + LLVM_jll v15.0.7+10
  [ad6e5548] + LibTracyClient_jll v0.9.1+6
  [efe28fd5] + OpenSpecFun_jll v0.5.6+0
⌅ [873c0968] + ROCmDeviceLibs_jll v5.6.1+1
  [37e2e46d] + LinearAlgebra
  [2f01184e] + SparseArrays v1.10.0
  [10745b16] + Statistics v1.10.0
  [d55e3150] + LLD_jll v15.0.7+10
  [4536629a] + OpenBLAS_jll v0.3.23+4
  [05823500] + OpenLibm_jll v0.8.5+0
  [bea87d4a] + SuiteSparse_jll v7.2.1+1
  [8f36deef] + libLLVM_jll v15.0.7+10
  [8e850b90] + libblastrampoline_jll v5.11.0+0
        Info Packages marked with ⌃ and ⌅ have new versions available. Those with ⌃ may be upgradable, but those with ⌅ are restricted by compatibility constraints from upgrading. To see why use `status --outdated -m`

(mwe_amdgpu-mpi) pkg> st
Status `~/Library/CloudStorage/OneDrive-TheUniversityofMelbourne/Documents/Research/mwe_amdgpu-mpi/Project.toml`
⌃ [21141c5a] AMDGPU v1.3.6
  [da04e1cc] MPI v0.20.22
Info Packages marked with ⌃ have new versions available and may be upgradable.

When I enforce AMDGPU@v2 to be installed MPI downgrades to 0.20.8

(mwe_amdgpu-mpi) pkg> add AMDGPU@v2
   Resolving package versions...
    Updating `~/Library/CloudStorage/OneDrive-TheUniversityofMelbourne/Documents/Research/mwe_amdgpu-mpi/Project.toml`
  [21141c5a]  AMDGPU v1.3.6  v2.0.1
⌃ [da04e1cc]  MPI v0.20.22  v0.20.8
    Updating `~/Library/CloudStorage/OneDrive-TheUniversityofMelbourne/Documents/Research/mwe_amdgpu-mpi/Manifest.toml`
  [21141c5a]  AMDGPU v1.3.6  v2.0.1
⌃ [da04e1cc]  MPI v0.20.22  v0.20.8
  [eebad327] - PkgVersion v0.3.3
        Info Packages marked with ⌃ have new versions available and may be upgradable.
Precompiling packages finished.
  1 dependency successfully precompiled in 6 seconds. 70 already precompiled.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions