From 70a59b727823478aa76c11a47fc67b8fd582283c Mon Sep 17 00:00:00 2001 From: Christoph Junghans Date: Mon, 14 Apr 2025 09:18:51 -0600 Subject: [PATCH 1/6] package-managers.rst: add more distro PMs --- docs/source/get-started/package-managers.rst | 42 ++++++++++++++++++-- 1 file changed, 38 insertions(+), 4 deletions(-) diff --git a/docs/source/get-started/package-managers.rst b/docs/source/get-started/package-managers.rst index 2b94b7519..aa6614fef 100644 --- a/docs/source/get-started/package-managers.rst +++ b/docs/source/get-started/package-managers.rst @@ -6,11 +6,35 @@ Use your favorite package manager to install Kokkos. System package managers ~~~~~~~~~~~~~~~~~~~~~~~ -DNF ---- +Fedora +------ + +You may use the Fedora Project package manager to install Kokkos: + +.. code-block:: + + dnf install kokkos-devel + + +Debian/Ubuntu +------------- + +You may use the Debian/Ubuntu Project package manager to install Kokkos: + +.. code-block:: + + apt-get install kokkos-dev + + +openSUSE +-------- + +You may use the openSUSE Project package manager to install Kokkos: + +.. code-block:: + + zypper install kokkos-devel -You may use the Fedora Project package manager to install Kokkos -https://packages.fedoraproject.org/pkgs/kokkos/ Other package managers ~~~~~~~~~~~~~~~~~~~~~~ @@ -126,3 +150,13 @@ For more complete examples, you can look at already existing recipes in the *Req spack dependents kokkos + +`Conda `_ +---------------------------------------- + +You may use the Conda package manager to install Kokkos: + +.. code-block:: + + conda install conda-forge::kokkos + From d4bc77fc79568015b2d379f10c611163ce3ba019 Mon Sep 17 00:00:00 2001 From: Christoph Junghans Date: Fri, 18 Apr 2025 08:59:11 -0600 Subject: [PATCH 2/6] Update package-managers.rst --- docs/source/get-started/package-managers.rst | 48 ++++++++------------ 1 file changed, 19 insertions(+), 29 deletions(-) diff --git a/docs/source/get-started/package-managers.rst b/docs/source/get-started/package-managers.rst index aa6614fef..6cca03842 100644 --- a/docs/source/get-started/package-managers.rst +++ b/docs/source/get-started/package-managers.rst @@ -6,35 +6,25 @@ Use your favorite package manager to install Kokkos. System package managers ~~~~~~~~~~~~~~~~~~~~~~~ -Fedora ------- - -You may use the Fedora Project package manager to install Kokkos: - -.. code-block:: - - dnf install kokkos-devel - - -Debian/Ubuntu -------------- - -You may use the Debian/Ubuntu Project package manager to install Kokkos: - -.. code-block:: - - apt-get install kokkos-dev - - -openSUSE --------- - -You may use the openSUSE Project package manager to install Kokkos: - -.. code-block:: - - zypper install kokkos-devel - ++----------+---------------------------------------+----------------------+--------+---------------------------------------+----------------------------------------------------------------------------------------------------------+ +| Distro | Command to install | Backend | Vetted | Maintainer | Build Source | ++==========+=======================================+======================+========+=======================================+==========================================================================================================+ +| Fedora | ``dnf install kokkos-devel`` | openMP, rocm, serial | a bit | rbberger | `here `_ | ++----------+---------------------------------------+----------------------+--------+---------------------------------------+----------------------------------------------------------------------------------------------------------+ +| Debian | ``apt-get install libkokkos-dev`` | openMP | a bit | alexmyczko | `here `_ | ++----------+---------------------------------------+----------------------+--------+---------------------------------------+----------------------------------------------------------------------------------------------------------+ +| Conda | ``conda install conda-forge::kokkos`` | openMP, serial, CUDA | nope | carterbox | `here `_ | ++----------+---------------------------------------+----------------------+--------+---------------------------------------+----------------------------------------------------------------------------------------------------------+ +| openSUSE | ``zypper install kokkos-devel`` | openMP, serial | nope | `mli@suse.com `_ | `here `_ | ++----------+---------------------------------------+----------------------+--------+---------------------------------------+----------------------------------------------------------------------------------------------------------+ +| Gentoo | ``emerge kokkos`` | whatever enabled | a bit | tamiko | `here `_ | ++----------+---------------------------------------+----------------------+--------+---------------------------------------+----------------------------------------------------------------------------------------------------------+ +| Arch | ``pacman -S kokkos`` | Threads, serial | maybe | carlosal1015 | `here `_ | ++----------+---------------------------------------+----------------------+--------+---------------------------------------+----------------------------------------------------------------------------------------------------------+ +| Mac Port | ``port install kokkos-devel`` | openMP, serial | no | MarcusCalhoun-Lopez | `here `_ | ++----------+---------------------------------------+----------------------+--------+---------------------------------------+----------------------------------------------------------------------------------------------------------+ +| Spack | ``spack install kokkos`` | whatever enabled | yes | cedricchevalier19, nmm0, lucbv | `here `_ | ++----------+---------------------------------------+----------------------+--------+---------------------------------------+----------------------------------------------------------------------------------------------------------+ Other package managers ~~~~~~~~~~~~~~~~~~~~~~ From f570b4d28f18599bbd27420202bb379c9ad1a2a0 Mon Sep 17 00:00:00 2001 From: Christoph Junghans Date: Fri, 18 Apr 2025 09:00:54 -0600 Subject: [PATCH 3/6] Update package-managers.rst --- docs/source/get-started/package-managers.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/get-started/package-managers.rst b/docs/source/get-started/package-managers.rst index 6cca03842..09aeb76fb 100644 --- a/docs/source/get-started/package-managers.rst +++ b/docs/source/get-started/package-managers.rst @@ -13,7 +13,7 @@ System package managers +----------+---------------------------------------+----------------------+--------+---------------------------------------+----------------------------------------------------------------------------------------------------------+ | Debian | ``apt-get install libkokkos-dev`` | openMP | a bit | alexmyczko | `here `_ | +----------+---------------------------------------+----------------------+--------+---------------------------------------+----------------------------------------------------------------------------------------------------------+ -| Conda | ``conda install conda-forge::kokkos`` | openMP, serial, CUDA | nope | carterbox | `here `_ | +| Conda | ``conda install conda-forge::kokkos`` | openMP (linux), Threads (windows), serial, CUDA | nope | carterbox | `here `_ | +----------+---------------------------------------+----------------------+--------+---------------------------------------+----------------------------------------------------------------------------------------------------------+ | openSUSE | ``zypper install kokkos-devel`` | openMP, serial | nope | `mli@suse.com `_ | `here `_ | +----------+---------------------------------------+----------------------+--------+---------------------------------------+----------------------------------------------------------------------------------------------------------+ From e4ac6211060da6be9e356e79ca1422cbec0ccbf0 Mon Sep 17 00:00:00 2001 From: Christoph Junghans Date: Fri, 18 Apr 2025 09:02:00 -0600 Subject: [PATCH 4/6] Update package-managers.rst --- docs/source/get-started/package-managers.rst | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/docs/source/get-started/package-managers.rst b/docs/source/get-started/package-managers.rst index 09aeb76fb..4dab5e937 100644 --- a/docs/source/get-started/package-managers.rst +++ b/docs/source/get-started/package-managers.rst @@ -3,7 +3,7 @@ Package Managers Use your favorite package manager to install Kokkos. -System package managers +Package managers ~~~~~~~~~~~~~~~~~~~~~~~ +----------+---------------------------------------+----------------------+--------+---------------------------------------+----------------------------------------------------------------------------------------------------------+ @@ -26,11 +26,9 @@ System package managers | Spack | ``spack install kokkos`` | whatever enabled | yes | cedricchevalier19, nmm0, lucbv | `here `_ | +----------+---------------------------------------+----------------------+--------+---------------------------------------+----------------------------------------------------------------------------------------------------------+ -Other package managers -~~~~~~~~~~~~~~~~~~~~~~ -`Spack `_ ---------------------------- +More on `Spack `_ +----------------------------------- Spack is a popular package manager for HPC. Spack comes with installation recipes for Kokkos. @@ -141,12 +139,3 @@ For more complete examples, you can look at already existing recipes in the *Req spack dependents kokkos -`Conda `_ ----------------------------------------- - -You may use the Conda package manager to install Kokkos: - -.. code-block:: - - conda install conda-forge::kokkos - From c7c3ecf915aa9e5e42698afdc71423ea58e1be9f Mon Sep 17 00:00:00 2001 From: Christoph Junghans Date: Fri, 18 Apr 2025 09:02:38 -0600 Subject: [PATCH 5/6] Update package-managers.rst --- docs/source/get-started/package-managers.rst | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/source/get-started/package-managers.rst b/docs/source/get-started/package-managers.rst index 4dab5e937..663c780b6 100644 --- a/docs/source/get-started/package-managers.rst +++ b/docs/source/get-started/package-managers.rst @@ -138,4 +138,3 @@ For more complete examples, you can look at already existing recipes in the *Req spack dependents kokkos - From 7f064834975a308a2bc09778c8748760a13a634a Mon Sep 17 00:00:00 2001 From: Christoph Junghans Date: Thu, 24 Apr 2025 10:35:04 -0700 Subject: [PATCH 6/6] Update docs/source/get-started/package-managers.rst MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Cédric Chevalier --- docs/source/get-started/package-managers.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/source/get-started/package-managers.rst b/docs/source/get-started/package-managers.rst index 663c780b6..02c75ee07 100644 --- a/docs/source/get-started/package-managers.rst +++ b/docs/source/get-started/package-managers.rst @@ -9,19 +9,19 @@ Package managers +----------+---------------------------------------+----------------------+--------+---------------------------------------+----------------------------------------------------------------------------------------------------------+ | Distro | Command to install | Backend | Vetted | Maintainer | Build Source | +==========+=======================================+======================+========+=======================================+==========================================================================================================+ -| Fedora | ``dnf install kokkos-devel`` | openMP, rocm, serial | a bit | rbberger | `here `_ | +| Fedora | ``dnf install kokkos-devel`` | OpenMP, rocm, serial | a bit | rbberger | `here `_ | +----------+---------------------------------------+----------------------+--------+---------------------------------------+----------------------------------------------------------------------------------------------------------+ -| Debian | ``apt-get install libkokkos-dev`` | openMP | a bit | alexmyczko | `here `_ | +| Debian | ``apt-get install libkokkos-dev`` | OpenMP | a bit | alexmyczko | `here `_ | +----------+---------------------------------------+----------------------+--------+---------------------------------------+----------------------------------------------------------------------------------------------------------+ -| Conda | ``conda install conda-forge::kokkos`` | openMP (linux), Threads (windows), serial, CUDA | nope | carterbox | `here `_ | +| Conda | ``conda install conda-forge::kokkos`` | OpenMP (linux), Threads (windows), serial, CUDA | nope | carterbox | `here `_ | +----------+---------------------------------------+----------------------+--------+---------------------------------------+----------------------------------------------------------------------------------------------------------+ -| openSUSE | ``zypper install kokkos-devel`` | openMP, serial | nope | `mli@suse.com `_ | `here `_ | +| openSUSE | ``zypper install kokkos-devel`` | OpenMP, serial | nope | `mli@suse.com `_ | `here `_ | +----------+---------------------------------------+----------------------+--------+---------------------------------------+----------------------------------------------------------------------------------------------------------+ | Gentoo | ``emerge kokkos`` | whatever enabled | a bit | tamiko | `here `_ | +----------+---------------------------------------+----------------------+--------+---------------------------------------+----------------------------------------------------------------------------------------------------------+ | Arch | ``pacman -S kokkos`` | Threads, serial | maybe | carlosal1015 | `here `_ | +----------+---------------------------------------+----------------------+--------+---------------------------------------+----------------------------------------------------------------------------------------------------------+ -| Mac Port | ``port install kokkos-devel`` | openMP, serial | no | MarcusCalhoun-Lopez | `here `_ | +| Mac Port | ``port install kokkos-devel`` | OpenMP, serial | no | MarcusCalhoun-Lopez | `here `_ | +----------+---------------------------------------+----------------------+--------+---------------------------------------+----------------------------------------------------------------------------------------------------------+ | Spack | ``spack install kokkos`` | whatever enabled | yes | cedricchevalier19, nmm0, lucbv | `here `_ | +----------+---------------------------------------+----------------------+--------+---------------------------------------+----------------------------------------------------------------------------------------------------------+