Skip to content
This repository was archived by the owner on Dec 19, 2025. It is now read-only.

update README, highlight deprecated installation method#84

Merged
IvanGrigorik merged 6 commits intomainfrom
grigorik/install-upd
Nov 25, 2025
Merged

update README, highlight deprecated installation method#84
IvanGrigorik merged 6 commits intomainfrom
grigorik/install-upd

Conversation

@IvanGrigorik
Copy link
Collaborator

Based on most recent setuptools docs, we should not call setup like python setup.py ...

Instead, we should do the following:

PYKOKKOS_BASE_SETUP_ARGS="-DKokkos_ENABLE_THREADS=OFF \
    -DKokkos_ENABLE_OPENMP=ON \
    -DENABLE_CUDA=ON \
    -DENABLE_LAYOUTS=ON \
    -DENABLE_MEMORY_TRAITS=OFF \
    -DENABLE_VIEW_RANKS=3" \
    pip install ./ --verbose

(verbose is optional)

In this PR, I suggest removing python-build, since it uses deprecated installation methods.
I also updated the README file and removed deprecated installation methods from it.
This PR also closes this sub-issue: #69 (comment)

@gliga
Copy link

gliga commented Nov 24, 2025

Remove the deprecated format then I can review

Comment on lines -84 to -89
- Does `external/kokkos/CMakeLists.txt` exists?
- **YES**: assumes the submodule is already checked out
- > _If compute node does not have internet access, checkout submodule before installing!_
- **NO**: does `.gitmodules` exist?
- **YES**: `git submodule update --init external/kokkos`
- **NO**: `git clone -b master https://github.com/kokkos/kokkos.git external/kokkos`
Copy link
Contributor

Choose a reason for hiding this comment

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

oh, we forgot that earlier

@IvanGrigorik IvanGrigorik merged commit 7cbc822 into main Nov 25, 2025
26 checks passed
@IvanGrigorik IvanGrigorik deleted the grigorik/install-upd branch November 25, 2025 04:35
kennykos pushed a commit to kennykos/pykokkos that referenced this pull request Nov 25, 2025
Bring pykokkos install instructions up to date with
kokkos/pykokkos-base#84
IvanGrigorik added a commit to kokkos/pykokkos that referenced this pull request Dec 19, 2025
* Update install instructions

Bring pykokkos install instructions up to date with
kokkos/pykokkos-base#84

* Apply suggestion from @kennykos

correct grammar for install instructions

* update install instructions

---------

Co-authored-by: KennyKos <{ID}+{username}@users.noreply.github.com>
Co-authored-by: Ivan Grigorik <givan502@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants