-
Notifications
You must be signed in to change notification settings - Fork 52
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
README example fails do build on windows with MS-MPI #183
Comments
It looks like an environment problem. Can you compare what you're trying with what is tested in CI? Let us know how we can improve the instructions. |
I have tried cloning the rsmpi repository and running the tests with |
Something must be different between your configuration and the Windows CI where rsmpi is tested. The error is coming from bindgen. I'd recommend seeing if you can run |
I finally found the cause of this! It seems to have been a strange problem with The example builds successfully after adding the environment variable |
If this is something we can document or otherwise make more robust, feel free to open a PR to update the docs. Once the MPI ABI is widely available, we'll be able to drop the dependency on bindgen. I've been involved in that process for a while and it will take some time to make it into distributions. For Windows in particular, it'll depend on MS-MPI adding support. MS-MPI currently only claims compliance with MPI-2.2 (2009) and a subset of MPI-3.1 (2015) so I can't estimate how long it'll take to deploy the ABI (which is still working its way through standardization). |
I have attempted to build the example code in the README on windows. MS-MPI and LLVM/libclang are installed an their path variables set. I get the following error on the custom build command:
I have not touched any code, so I don't know how to interpret the possible errors listed. I apologize if I have overlooked something, but this appears like a crate issue to me.
The text was updated successfully, but these errors were encountered: