Skip to content
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

Failed to build on Windows platform #40

Closed
hqy1335470343 opened this issue Jun 27, 2024 · 6 comments
Closed

Failed to build on Windows platform #40

hqy1335470343 opened this issue Jun 27, 2024 · 6 comments

Comments

@hqy1335470343
Copy link

Does this library not support the Windows platform?

@TLCFEM
Copy link

TLCFEM commented Jun 27, 2024

What error do you encounter? Which flavour of MPI are you using?

@hqy1335470343
Copy link
Author

I'm using MSMPI.
I only copied the mpl directory to my project, but I was unable to successfully compile it.
I use the MSVC compiler for compilation.
There are too many errors, such as 'MPI_CXX_BOOL' was not declared in this scope 'MPI_Comm_set_info' was not declared in this scope etc.

@hqy1335470343
Copy link
Author

Then I replaced the Intel MPI, but still couldn't compile successfully

@TLCFEM
Copy link

TLCFEM commented Jun 27, 2024

I'm using MSMPI.
I only copied the mpl directory to my project, but I was unable to successfully compile it.
I use the MSVC compiler for compilation.
There are too many errors, such as 'MPI_CXX_BOOL' was not declared in this scope 'MPI_Comm_set_info' was not declared in this scope etc.

MSMPI is MPI 2.x compliant and to use mpl you need 3.x, see README.

Intel's implementation should be okay but still it depends on what are installed on your machine.

OpenMPI has no official windows support I think. So you don't have many choices.

@hqy1335470343
Copy link
Author

Thank you!
I changed the vscode for compilation and it was successful!

@TLCFEM
Copy link

TLCFEM commented Jun 27, 2024

Thank you!
I changed the vscode for compilation and it was successful!

Then you may consider closing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants