-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Runtest errors after installation #271
Comments
Could you tell us a bit more about the approach you used to install the software and commands you are running. |
In addition to the commands you used to build and install pykokkos-base and pykokkos, could you also share what your compilers and their versions are? |
Today I did this again but, I removed all cuda toolkit and reinstalled again. Then tried it again. Compilers: |
What numpy version are you using? Should be visible through
I'll come up with a fix soon. In the meantime I think your pykokkos installation is working (apart from the above). |
|
Hello @NaderAlAwar, I am trying to compile one of the example codes using OpenMP or Cuda with |
Hello @Sumanthbg . |
No, I do not need pkc in particular. I just need to compile a code using OpenMP or Cuda but I could not find any instructions anywhere other than the one with pkc. Also could you please share any links to tutorial materials? |
Hi @Sumanthbg, after you've written an example in PyKokkos, you can just run it as a normal python application. When execution reaches a call to a kernel, pykokkos will compile it automatically. For example, the
|
@Sumanthbg could you also tell us the documentation you have been reading to discover |
Hi @gliga, I was looking for the material on pykokkos, I found a paper on the same and also a demo available on youtube which instructs to use pkc file. |
@Sumanthbg the test failures you encountered should be resolved with #278, can you check if they are still failing? |
@Sumanthbg thanks for the response. Indeed, those documents were written quite some time ago and they are not matching the latest version of pykokkos. The best is to check the README file and the documentation links available from there. |
Above is the test results. I performed the following again
|
Seems like the tests are passing now (the remaining failures are expected). Are you able to write and run a kernel? |
Hi @NaderAlAwar ,
It runs fine if I set execution space as OpenMP but the moment I change it to Cuda, I get the following error
|
What changes did you make to your code to run it with CUDA? In your case, not only do you have to change the default execution space to Cuda, but you also have to allocate the array using cupy instead of numpy. |
I was able to install the pykokkos, but when I run the 'runtests.py' lot of tests are failing. I am adding the terminal output as an attachment.
test_report.txt
The text was updated successfully, but these errors were encountered: