-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
Rebuild for windows_cuda #19
Rebuild for windows_cuda #19
Conversation
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
Requires windows builds to make any sense, therefore blocked on #17. |
353c8b7
to
7ce24cc
Compare
@jaimergp I saw you added the windows packaging for nvcc: conda-forge/nvcc-feedstock#49 Not sure if I need to change something else, but it's not working out of the box here... Even though I see
in the
|
@h-vetinari Yes, I saw this happen in other recipe too. Tracking here: conda-forge/nvcc-feedstock#53. Please add a comment there pointing to this PR so I have more data points. I should have some free time next weeks and will look into this. I have tried a different variable export mechanism in this PR conda-forge/conda-forge-ci-setup-feedstock#131, using the activation scripts of I am not sure why this doesn't work here either, but a thing to notice is that both this repo and prismatic are multi-output recipes. It does work in single output recipes like OpenMM, though 🤷 I wonder if this is an issue at the conda build level, where some env variables do not survive long enough to reach here. The workaround for now is, unfortunately, setting
|
@jaimergp Thanks for the info & workaround, but I have no idea how to provide it. The builds-scripts are too late (at least for the nvcc activation script), and setting it in |
Since nvcc activation is failing in this recipe, we might need to bypass it for now. What's the manual way of telling CMake where to find CUDA in this project? I normally need to set up You'll also need these lines: https://github.com/conda-forge/nvcc-feedstock/blob/master/recipe/windows/activate.bat#L59-L61 and make nvcc use These are a lot of "workarounds" needed so you can also choose to wait a bit until I debug the multi-output problem with the activation script (hopefully before the year ends!). |
Thanks for the quick reply! I don't mind adding work-arounds (if we're talking about a handful of lines) and removing them once fixed. I actually just realized that I had not successfully committed the changes in I'm hoping that cmake is smart enough to add the |
I have included a fallback mechanism that will try to look for CUDA in the default location, in conda-forge/nvcc-feedstock#52 In the meantime, let's try adding these lines first thing in your bld.bat: set "CUDA_PATH=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v%cuda_compiler_version%"
set "ORIG_PKG_VERSION=%PKG_VERSION%"
set "PKG_VERSION=%cuda_compiler_version%"
call %BUILD_PREFIX%\etc\conda\activate.d\nvcc_activate.bat
set "PKG_VERSION=%ORIG_PKG_VERSION%"
set "ORIG_PKG_VERSION=" Maybe it's PREFIX instead of BUILD_PREFIX but you'll see :) |
fb391a4
to
12281d2
Compare
A new |
To the contrary, thank you for your help on this! :) |
@jaimergp
|
Maybe we need some kind of quotes here, but this should have been caught by the tests 🤔 I'll need to open a new PR for this. If you want you can try to define CFLAGS and friends manually, using the example output in |
30e0c5f
to
28a77f4
Compare
28a77f4
to
ad7b695
Compare
Seems I started this too closely on the heels of conda-forge/nvcc-feedstock#57 being merged - the builds here still picked up the old build |
7bfb6d4
to
d7d1e47
Compare
It appears that this traces back to |
Take into account that the CUDA installation on Windows lacks the drivers, since the Nvidia installer refuses to install them due to the missing GPU. |
Check how we handle this at OpenMM. We can create packages with the full test suite (which does not run on the CI) and then run them locally. |
c5bb9cc
to
08e3732
Compare
@jaimergp Thanks so much for your help debugging this 🙏 🙃 |
08e3732
to
28466cc
Compare
Co-Authored-By: H. Vetinari <h.vetinari@gmx.com>
…da-forge-pinning 2021.02.17.06.54.06
28466cc
to
e2f408d
Compare
Hi! This is the friendly conda-forge automerge bot! I considered the following status checks when analyzing this PR:
Thus the PR was passing and merged! Have a great day! |
Wow, this makes me so glad! Congratulations, this was quite the journey! 🎉 |
Thanks for the kind words! Journey isn't over yet, unfortunately - ran the gpu-specific test suite locally and it has a bunch of segfaults 😒 |
Soon... |
This PR has been triggered in an effort to update windows_cuda.
Notes and instructions for merging this PR:
Please note that if you close this PR we presume that the feedstock has been rebuilt, so if you are going to perform the rebuild yourself don't close this PR until the your rebuild has been merged.
This package has the following downstream children:
And potentially more.
If this PR was opened in error or needs to be updated please add the
bot-rerun
label to this PR. The bot will close this PR and schedule another one. If you do not have permissions to add this label, you can use the phrase@conda-forge-admin, please rerun bot
in a PR comment to have theconda-forge-admin
add it for you.This PR was created by the regro-cf-autotick-bot.
The regro-cf-autotick-bot is a service to automatically track the dependency graph, migrate packages, and propose package version updates for conda-forge. If you would like a local version of this bot, you might consider using rever. Rever is a tool for automating software releases and forms the backbone of the bot's conda-forge PRing capability. Rever is both conda (
conda install -c conda-forge rever
) and pip (pip install re-ver
) installable.Finally, feel free to drop us a line if there are any issues!
This PR was generated by https://github.com/regro/autotick-bot/actions/runs/379456304, please use this URL for debugging