Open keixthb opened 1 year ago
Do we actually support MacOS? IIRC our primary support platform is Linux for now. Sometimes it helps to follow the CI setup steps first, although those don't include GPU support: https://github.com/kokkos/pykokkos/blob/main/.github/workflows/main_ci.yml
Unfortunately I can't reproduce the error as I don't have a Mac. I may be able to help though. It seems the issue is that it cannot find the dynamic library file libkokkossimd.3.7.dylib
, which should have been installed into your conda environment when you installed pykokkos-base
.
As a first step, can you first check whether that dynamic library file exists? It should be located in this directory
/Users/keithhbova/anaconda3/envs/pyk/lib/python3.11/site-packages/pykokkos_base-0.0.7-py3.11-macosx-10.15-x86_64.egg/lib
If the lib
directory does not exist, replace it with lib64
in the above path. Let me know if you have trouble finding the file
Hello, I am having some issues with the PyKokkos installation. Can someone help?
System:
Steps to reproduce:
First I build Kokkos serial
Then I build pykokkos-base
Then I install PyKokkos:
And run the tests:
But I get the following error:
I'm sure I'm doing something wrong. I don't have much experience with conda so I'm not sure where to begin building the python bindings. My goal is to get a working python program on my laptop that can run a conjugate gradient solver on a cpu cluster (amd) or a gpu cluster (nvidia). I was thinking about using mpi4py for the communication. For example, I'd like to be able to write something like this:
...but call it inside a parallel for--and be able to launch the kernel in either Serial, OpenMP or CUDA. Ideally, I'd like to be able to do a git clone, cmake build and pip install on each target system. Thanks, any help or guidance would be greatly appreciated!