Skip to content

ucx: fix with cudaSupport#460294

Merged
ConnorBaker merged 1 commit intoNixOS:masterfrom
GaetanLepage:ucx
Nov 10, 2025
Merged

ucx: fix with cudaSupport#460294
ConnorBaker merged 1 commit intoNixOS:masterfrom
GaetanLepage:ucx

Conversation

@GaetanLepage
Copy link
Contributor

@GaetanLepage GaetanLepage commented Nov 10, 2025

Things done

cc @markuskowa

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

Add a 👍 reaction to pull requests you find important.

@nixpkgs-ci nixpkgs-ci bot requested a review from markuskowa November 10, 2025 09:26
@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. 2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". labels Nov 10, 2025
@SomeoneSerge
Copy link
Contributor

@UlyssesZh
Copy link
Member

nixpkgs-review result

Generated using nixpkgs-review-gha

Command: nixpkgs-review pr 460294 --extra-nixpkgs-config {allowUnfree=true;cudaSupport=true;} --package ucx
Commit: 2b7f6e3273475f3facd4ce152f97cc895a380ca9 (subsequent changes)
Merge: 2bc480cbf4a3f44f114792ba5fc7a3263396fabe

Logs: https://github.com/UlyssesZh/nixpkgs-review-gha/actions/runs/19227437305


x86_64-linux

✅ 3 packages built:
  • ucx
  • ucx.dev (ucx.dev.dev, ucx.dev.doc)
  • ucx.doc (ucx.doc.dev, ucx.doc.doc)

aarch64-linux

✅ 3 packages built:
  • ucx
  • ucx.dev (ucx.dev.dev, ucx.dev.doc)
  • ucx.doc (ucx.doc.dev, ucx.doc.doc)

Copy link
Member

@UlyssesZh UlyssesZh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved automatically following the successful run of nixpkgs-review.

@markuskowa
Copy link
Member

@ofborg test slurm

@nixpkgs-ci nixpkgs-ci bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Nov 10, 2025
@GaetanLepage
Copy link
Contributor Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 460294 --extra-nixpkgs-config '{ allowUnfree = true; cudaSupport = true; }'
Commit: 3f5a60fbb9b5219a9e4be6fde0ac00f8da217b91


x86_64-linux

⏩ 29 packages marked as broken and skipped:
  • haskellPackages.LogicGrowsOnTrees-MPI
  • haskellPackages.LogicGrowsOnTrees-MPI.doc
  • haskellPackages.haskell-mpi
  • haskellPackages.haskell-mpi.doc
  • haskellPackages.sde-solver
  • haskellPackages.sde-solver.doc
  • haskellPackages.tensorflow
  • haskellPackages.tensorflow-core-ops
  • haskellPackages.tensorflow-core-ops.doc
  • haskellPackages.tensorflow-logging
  • haskellPackages.tensorflow-logging.doc
  • haskellPackages.tensorflow-mnist
  • haskellPackages.tensorflow-mnist.data
  • haskellPackages.tensorflow-mnist.doc
  • haskellPackages.tensorflow-ops
  • haskellPackages.tensorflow-ops.doc
  • haskellPackages.tensorflow.doc
  • librsb
  • libtensorflow
  • libtensorflow.python
  • octavePackages.sparsersb
  • python312Packages.hoomd-blue
  • python312Packages.pydicom-seg
  • python312Packages.pydicom-seg.dist
  • python312Packages.tensorflow-build
  • python312Packages.tensorflow-build.dist
  • python313Packages.hoomd-blue
  • python313Packages.pydicom-seg
  • python313Packages.pydicom-seg.dist
❌ 19 packages failed to build:
  • cp2k
  • cp2k.dev
  • elpa
  • elpa.dev
  • elpa.doc
  • elpa.man
  • parmetis
  • pdi
  • pflotran
  • siesta
  • siesta-mpi
  • tests.pkg-config.defaultPkgConfigPackages.ompi
  • tests.pkg-config.defaultPkgConfigPackages.ompi-c
  • tests.pkg-config.defaultPkgConfigPackages.ompi-cxx
  • tests.pkg-config.defaultPkgConfigPackages.ompi-f77
  • tests.pkg-config.defaultPkgConfigPackages.ompi-f90
  • tests.pkg-config.defaultPkgConfigPackages.ompi-fort
  • xyce-parallel
  • xyce-parallel.doc
✅ 320 packages built:
  • adios2
  • ants
  • appcsxcad
  • arpack-mpi
  • c3d
  • catalyst
  • cloudcompare
  • costa
  • csxcad
  • cudaPackages.libcublasmp
  • cudaPackages.libcublasmp.dev
  • cudaPackages.libcublasmp.include
  • cudaPackages.libcublasmp.lib
  • cudaPackages.libcudss
  • cudaPackages.libcudss.dev
  • cudaPackages.libcudss.include
  • cudaPackages.libcudss.lib
  • cudaPackages.libcudss.static
  • cudaPackages.libnvshmem
  • cudaPackages.nsight_systems
  • dbcsr
  • dbcsr.dev
  • dcgm
  • dl-poly-classic-mpi
  • dolfinx
  • dtcmp
  • dtcmp.dev
  • elastix
  • elmerfem
  • exhibit
  • ezminc
  • f3d
  • f3d.man
  • fftwMpi
  • fftwMpi.dev
  • fftwMpi.info
  • fftwMpi.man
  • freecad
  • gdcm
  • getdp
  • globalarrays
  • gromacsMpi (gromacsCudaMpi)
  • gromacsMpi.dev (gromacsCudaMpi.dev)
  • gromacsMpi.man (gromacsCudaMpi.man)
  • gromacsDoubleMpi
  • gromacsDoubleMpi.dev
  • gromacsDoubleMpi.man
  • haskellPackages.mpi-hs
  • haskellPackages.mpi-hs-binary
  • haskellPackages.mpi-hs-binary.doc
  • haskellPackages.mpi-hs-cereal
  • haskellPackages.mpi-hs-cereal.doc
  • haskellPackages.mpi-hs-store
  • haskellPackages.mpi-hs-store.doc
  • haskellPackages.mpi-hs.doc
  • hdf5-fortran-mpi
  • hdf5-fortran-mpi.bin
  • hdf5-fortran-mpi.dev
  • hdf5-mpi
  • hdf5-mpi.bin
  • hdf5-mpi.dev
  • highfive-mpi
  • hp2p
  • hpcg
  • hpl
  • hypre
  • ior
  • itk
  • itk_5_2
  • kagen
  • kahip
  • kaminpar
  • lammps-mpi
  • libcircle
  • libcircle.dev
  • libmbd
  • libsupermesh
  • libsupermesh.dev
  • libvdwxc
  • lwgrp
  • lwgrp.dev
  • migrate
  • mirtk
  • mpi
  • mpi.dev
  • mpi.man
  • mpifileutils
  • mpifileutils.dev
  • mpifileutils.man
  • mrtrix
  • mumps-mpi
  • nest-mpi
  • netcdf-mpi
  • netgen (python313Packages.netgen-mesher)
  • neuron-mpi
  • nixpkgs-manual
  • nwchem
  • nwchem.dev
  • octavePackages.dicom
  • octopus
  • octopus.dev
  • octopus.testsuite
  • openems
  • otb
  • p4est
  • p4est-dbg
  • p4est-sc
  • p4est-sc-dbg
  • paraview
  • parmmg
  • parmmg.dev
  • pcl
  • petsc
  • pfft
  • pfft.dev
  • pnetcdf
  • pnfft
  • pnfft.dev
  • precice
  • prometheus-dcgm-exporter
  • python312Packages.adios2
  • python312Packages.baselines
  • python312Packages.baselines.dist
  • python312Packages.catalyst
  • python312Packages.conduit-mpi
  • python312Packages.conduit-mpi.dist
  • python312Packages.dask-mpi
  • python312Packages.dask-mpi.dist
  • python312Packages.dicom2nifti
  • python312Packages.dicom2nifti.dist
  • python312Packages.f3d
  • python312Packages.f3d.man
  • python312Packages.fast-simplification
  • python312Packages.fast-simplification.dist
  • python312Packages.fenics-dolfinx
  • python312Packages.fenics-dolfinx.dist
  • python312Packages.firedrake
  • python312Packages.firedrake.dist
  • python312Packages.gdcm
  • python312Packages.gpaw
  • python312Packages.gpaw.dist
  • python312Packages.gstools
  • python312Packages.gstools.dist
  • python312Packages.h5py-mpi
  • python312Packages.h5py-mpi.dist
  • python312Packages.itk
  • python312Packages.kahip
  • python312Packages.libsupermesh
  • python312Packages.libsupermesh.dist
  • python312Packages.mayavi
  • python312Packages.mayavi.dist
  • python312Packages.medpy
  • python312Packages.medpy.dist
  • python312Packages.medvol
  • python312Packages.medvol.dist
  • python312Packages.meep
  • python312Packages.mpi-pytest
  • python312Packages.mpi-pytest.dist
  • python312Packages.mpi4py
  • python312Packages.mpi4py.dist
  • python312Packages.napari-nifti
  • python312Packages.napari-nifti.dist
  • python312Packages.nest
  • python312Packages.netgen-mesher
  • python312Packages.neuronpy
  • python312Packages.nifty8
  • python312Packages.nifty8.dist
  • python312Packages.opencv4Full
  • python312Packages.opencv4Full.cxxdev
  • python312Packages.opencv4Full.package_tests
  • python312Packages.petsc4py
  • python312Packages.petsctools
  • python312Packages.petsctools.dist
  • python312Packages.pykrige
  • python312Packages.pykrige.dist
  • python312Packages.pymatgen
  • python312Packages.pymatgen.dist
  • python312Packages.pymedio
  • python312Packages.pymedio.dist
  • python312Packages.pyotb
  • python312Packages.pyotb.dist
  • python312Packages.pyprecice
  • python312Packages.pyprecice.dist
  • python312Packages.pyradiomics
  • python312Packages.pyradiomics.dist
  • python312Packages.python-csxcad
  • python312Packages.python-csxcad.dist
  • python312Packages.python-openems
  • python312Packages.python-openems.dist
  • python312Packages.pyvista
  • python312Packages.pyvista.dist
  • python312Packages.sfepy
  • python312Packages.sfepy.dist
  • python312Packages.simpleitk
  • python312Packages.simpleitk.dist
  • python312Packages.sirius
  • python312Packages.sirius.dev
  • python312Packages.slepc4py
  • python312Packages.sumo
  • python312Packages.sumo.dist
  • python312Packages.torch-bin
  • python312Packages.torch-bin.dist
  • python312Packages.torchaudio-bin
  • python312Packages.torchaudio-bin.dist
  • python312Packages.torchio
  • python312Packages.torchio.dist
  • python312Packages.torchvision-bin
  • python312Packages.torchvision-bin.dist
  • python312Packages.vtk
  • python313Packages.adios2
  • python313Packages.baselines
  • python313Packages.baselines.dist
  • python313Packages.catalyst
  • python313Packages.conduit-mpi
  • python313Packages.conduit-mpi.dist
  • python313Packages.dask-mpi
  • python313Packages.dask-mpi.dist
  • python313Packages.dicom2nifti
  • python313Packages.dicom2nifti.dist
  • python313Packages.f3d
  • python313Packages.f3d.man
  • python313Packages.fast-simplification
  • python313Packages.fast-simplification.dist
  • python313Packages.fenics-dolfinx
  • python313Packages.fenics-dolfinx.dist
  • python313Packages.firedrake
  • python313Packages.firedrake.dist
  • python313Packages.gdcm
  • python313Packages.gpaw
  • python313Packages.gpaw.dist
  • python313Packages.gstools
  • python313Packages.gstools.dist
  • python313Packages.h5py-mpi
  • python313Packages.h5py-mpi.dist
  • python313Packages.itk
  • python313Packages.kahip
  • python313Packages.libsupermesh
  • python313Packages.libsupermesh.dist
  • python313Packages.mayavi
  • python313Packages.mayavi.dist
  • python313Packages.medpy
  • python313Packages.medpy.dist
  • python313Packages.medvol
  • python313Packages.medvol.dist
  • python313Packages.meep
  • python313Packages.mpi-pytest
  • python313Packages.mpi-pytest.dist
  • python313Packages.mpi4py
  • python313Packages.mpi4py.dist
  • python313Packages.napari-nifti
  • python313Packages.napari-nifti.dist
  • python313Packages.nest
  • python313Packages.nifty8
  • python313Packages.nifty8.dist
  • python313Packages.opencv4Full
  • python313Packages.opencv4Full.cxxdev
  • python313Packages.opencv4Full.package_tests
  • python313Packages.petsc4py
  • python313Packages.petsctools
  • python313Packages.petsctools.dist
  • python313Packages.pykrige
  • python313Packages.pykrige.dist
  • python313Packages.pymedio
  • python313Packages.pymedio.dist
  • python313Packages.pyotb
  • python313Packages.pyotb.dist
  • python313Packages.pyprecice
  • python313Packages.pyprecice.dist
  • python313Packages.pyradiomics
  • python313Packages.pyradiomics.dist
  • python313Packages.python-csxcad
  • python313Packages.python-csxcad.dist
  • python313Packages.pyvista
  • python313Packages.pyvista.dist
  • python313Packages.simpleitk
  • python313Packages.simpleitk.dist
  • python313Packages.sirius
  • python313Packages.sirius.dev
  • python313Packages.slepc4py
  • python313Packages.torch-bin
  • python313Packages.torch-bin.dist
  • python313Packages.torchaudio-bin
  • python313Packages.torchaudio-bin.dist
  • python313Packages.torchio
  • python313Packages.torchio.dist
  • python313Packages.torchvision-bin
  • python313Packages.torchvision-bin.dist
  • python313Packages.vtk
  • qcsxcad
  • qcsxcad.dev
  • quantum-espresso
  • raxml-mpi
  • rtabmap
  • scalapack
  • scalapack.dev
  • scipopt-ug
  • simpleitk
  • sirius
  • sirius.dev
  • slepc
  • spfft
  • spla
  • spla.dev
  • superlu_dist
  • tests.testers.hasCmakeConfigModules.boost-has-boost_mpi
  • tests.testers.hasCmakeConfigModules.boost_mpi-does-not-have-mpi
  • therion
  • tmpi
  • trilinos-mpi
  • tt-metal
  • ucc
  • ucc.dev
  • ucx
  • ucx.dev
  • ucx.doc
  • viskores
  • vtk
  • vtk-dicom
  • vtk-full
  • vtkWithQt6

Error logs: `x86_64-linux`
cp2k
  but the target was not found.  Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.

-- Generating done (0.3s)
CMake Warning:
Manually-specified variables were not used by the project:

BUILD_TESTING
CMAKE_EXPORT_NO_PACKAGE_REGISTRY
CMAKE_POLICY_DEFAULT_CMP0025
CUDAToolkit_INCLUDE_DIR
CUDA_HOST_COMPILER

CMake Generate step failed. Build files cannot be regenerated correctly.

elpa
Not using NVIDIA_SM80_GPU as no selected kernel needs it
checking whether we need _ in C programs to link against a Fortran library... yes
checking whether we can link C programs against Fortran without _ ... no
checking whether we can compile SSE3 with gcc intrinsics in C... yes
checking whether double-precision SSE assembly kernels can be compiled... yes
checking whether single-precision SSE assembly kernels can be compiled... yes
checking whether GPU version should be used... no
checking whether the NVIDIA cub should be used (only for the real kernels)... no
checking whether INTEL GPU version should be used with OpenMP or SYCL backend... no
checking for nvcc... yes
checking for library containing cublasDgemm... -lcublas
checking for library containing cublasLtHeuristicsCacheSetCapacity... -lcublasLt
checking for library containing cudaMemcpy... -lcudart
checking whether NVIDIA GPU memory debugging should be enabled... no
checking whether CUDA aware MPI should be used... no
checking whether GPU streams should be used... yes
configure: Streaming has ben enabled since you relied on the default action
checking whether NVIDIA cusolver library should be used (since streams are activated)... yes
checking for library containing cusolverDnXtrtri... no
configure: error: Could not link cusolver;  try to set the path to cusolver.so or disable it: --with-cusolver=no
parmetis
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: configurePhase
@nix { "action": "setPhase", "phase": "configurePhase" }
rm -rf build/Linux-x86_64
mkdir -p build/Linux-x86_64
cd build/Linux-x86_64 && cmake /build/source -DCMAKE_VERBOSE_MAKEFILE=1 -DGKLIB_PATH=/nix/store/n8673jfvd2zbf15jab2gwirzxgxp8fxn-gklib-5.1.1-unstable-2025-07-15  -DMETIS_PATH=/nix/store/hpfkwjlnaygsfkvrwwj2qrscpp29iigl-metis-5.2.1 -DCMAKE_INSTALL_PREFIX=/nix/store/iwsxc6g4j1jdf7d3m3bxh8gdfdjsayri-parmetis-4.0.3-unstable-2023-03-26 -DSHARED=1 -DCMAKE_C_COMPILER=mpicc
CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 has been removed from CMake.

Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.

Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.

-- Configuring incomplete, errors occurred!
make: *** [Makefile:72: config] Error 1

pdi
-- Installing: /nix/store/82w64dam0sghv4v80cckykmrzwdld1nc-pdi-1.9.2/lib/libnetcdf.settings
-- Installing: /nix/store/82w64dam0sghv4v80cckykmrzwdld1nc-pdi-1.9.2/lib/cmake/netCDF/netCDFTargets.cmake
-- Installing: /nix/store/82w64dam0sghv4v80cckykmrzwdld1nc-pdi-1.9.2/lib/cmake/netCDF/netCDFTargets-release.cmake
-- Installing: /nix/store/82w64dam0sghv4v80cckykmrzwdld1nc-pdi-1.9.2/lib/cmake/netCDF/netCDFConfig.cmake
-- Installing: /nix/store/82w64dam0sghv4v80cckykmrzwdld1nc-pdi-1.9.2/lib/cmake/netCDF/netCDFConfigVersion.cmake
-- Installing: /nix/store/82w64dam0sghv4v80cckykmrzwdld1nc-pdi-1.9.2/include/netcdf.h
-- Installing: /nix/store/82w64dam0sghv4v80cckykmrzwdld1nc-pdi-1.9.2/include/netcdf_mem.h
-- Installing: /nix/store/82w64dam0sghv4v80cckykmrzwdld1nc-pdi-1.9.2/include/netcdf_aux.h
-- Installing: /nix/store/82w64dam0sghv4v80cckykmrzwdld1nc-pdi-1.9.2/include/netcdf_meta.h
-- Installing: /nix/store/82w64dam0sghv4v80cckykmrzwdld1nc-pdi-1.9.2/include/netcdf_filter.h
-- Installing: /nix/store/82w64dam0sghv4v80cckykmrzwdld1nc-pdi-1.9.2/include/netcdf_filter_build.h
-- Installing: /nix/store/82w64dam0sghv4v80cckykmrzwdld1nc-pdi-1.9.2/include/netcdf_dispatch.h
-- Installing: /nix/store/82w64dam0sghv4v80cckykmrzwdld1nc-pdi-1.9.2/include/netcdf_par.h
-- Installing: /nix/store/82w64dam0sghv4v80cckykmrzwdld1nc-pdi-1.9.2/include/netcdf_json.h
-- Installing: /nix/store/82w64dam0sghv4v80cckykmrzwdld1nc-pdi-1.9.2/lib/libnetcdf.so.19
-- Set non-toolchain portion of runtime path of "/nix/store/82w64dam0sghv4v80cckykmrzwdld1nc-pdi-1.9.2/lib/libnetcdf.so.19" to "/nix/store/82w64dam0sghv4v80cckykmrzwdld1nc-pdi-1.9.2//nix/store/82w64dam0sghv4v80cckykmrzwdld1nc-pdi-1.9.2/lib"
-- Installing: /nix/store/82w64dam0sghv4v80cckykmrzwdld1nc-pdi-1.9.2/lib/libnetcdf.so
[ 26%] Completed 'NetCDF_pkg'
[ 26%] Built target NetCDF_pkg
make: *** [Makefile:136: all] Error 2
xyce-parallel
checking for library containing MPI_Bcast... none required
checking for amd_valid in -lamd... yes
checking for main in -lteuchoscore... yes
configure: WARNING: Unable to find export file: Makefile.export.Teuchos.  Using predefined library dependencies.
checking for main in -lteuchoscore... (cached) yes
checking for main in -lteuchosremainder... yes
checking for main in -lteuchosnumerics... yes
checking for main in -lteuchoscomm... yes
checking for main in -lteuchosparameterlist... yes
checking for trilinos_klu_defaults in -ltrilinosss... yes
configure: WARNING: Unable to find export file: Makefile.export.Triutils.  Using predefined library dependencies.
checking for main in -ltriutils... yes
configure: WARNING: Unable to find export file: Makefile.export.Epetra.  Using predefined library dependencies.
checking for main in -lepetra... yes
configure: WARNING: Unable to find export file: Makefile.export.EpetraExt.  Using predefined library dependencies.
checking for main in -lepetraext... yes
checking for mpicxx -std=gnu++11 options needed to detect all undeclared functions... none needed
checking whether HAVE_TEUCHOS_COMPLEX is declared... yes
checking for Teuchos_SerialDenseMatrix.hpp... no
configure: error: Unable to compile a test program against Trilinos that includes Teuchos_Serial_DenseMatrix.hpp.  It is possible Trilinos was not properly configured or the environment has changed since Trilinos was installed.  See config.log for more information.

@GaetanLepage
Copy link
Contributor Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 460294 --extra-nixpkgs-config '{ allowUnfree = true; cudaSupport = true; }' --package nixosTests.slurm
Commit: 3f5a60fbb9b5219a9e4be6fde0ac00f8da217b91


x86_64-linux

✅ 1 test built:
  • nixosTests.slurm

@ConnorBaker
Copy link
Contributor

See also #459164

@ConnorBaker ConnorBaker added this pull request to the merge queue Nov 10, 2025
@nixpkgs-ci nixpkgs-ci bot added 12.approvals: 2 This PR was reviewed and approved by two persons. and removed 12.approvals: 1 This PR was reviewed and approved by one person. labels Nov 10, 2025
Merged via the queue into NixOS:master with commit 0f978ad Nov 10, 2025
30 of 32 checks passed
@GaetanLepage GaetanLepage deleted the ucx branch November 10, 2025 23:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. 12.approvals: 2 This PR was reviewed and approved by two persons.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants