Commit Graph

6 Commits

Author SHA1 Message Date
Grimmauld
1d05796574 treewide: openmpCheckPhaseHook -> checkPhaseThreadLimitHook 2026-07-10 00:47:02 +02:00
Grimmauld
240ef095c6 mpiCheckPhaseHook: propagate openmpCheckPhaseHook 2026-06-26 18:42:03 +02:00
Sigmanificient
0bbc8dffae treewide: set meta.license on hooks 2026-05-25 13:48:20 +02:00
qbisi
fd12b140a4 mpiCheckPhaseHook: use low-level env HWLOC_XMLFILE in all MPI implementations
HWLOC_XMLFILE is lower-level than PRTE_MCA_hwloc_use_topo_file.
Setting PRTE_MCA_hwloc_use_topo_file require processes managed by prterun/mpiexec.
While setting HWLOC_XMLFILE will always work in sandbox environment.
This commit fix the annoying error message
    "[hwloc/linux] failed to find sysfs cpu topology directory, aborting linux discovery."
When running mpi4py related python tests not managed by mpiexec.
2025-04-16 21:02:07 +08:00
qbisi
e4d10fa807 mpiCheckPhaseHook: change HYDRA_IFACE to lo0 on Darwin platform 2025-04-13 22:30:24 +08:00
aleksana
571c71e6f7 treewide: migrate packages to pkgs/by-name, take 1
We are migrating packages that meet below requirements:

1. using `callPackage`
2. called path is a directory
3. overriding set is empty (`{ }`)
4. not containing path expressions other than relative path (to
makenixpkgs-vet happy)
5. not referenced by nix files outside of the directory, other
than`pkgs/top-level/all-packages.nix`
6. not referencing nix files outside of the directory
7. not referencing `default.nix` (since it's changed to `package.nix`)
8. `outPath` doesn't change after migration

The tool is here: https://github.com/Aleksanaa/by-name-migrate.
2024-11-09 20:04:51 +08:00