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

MPI enabled builds #20

Open
1 task done
awvwgk opened this issue May 13, 2021 · 6 comments
Open
1 task done

MPI enabled builds #20

awvwgk opened this issue May 13, 2021 · 6 comments

Comments

@awvwgk
Copy link
Member

awvwgk commented May 13, 2021

Issue:
Currently looking into building DFTB+ on conda-forge with plumed support, I think we would need an MPI enabled version as well to build all variants of the package with plumed support. Are there plans to support MPI in this package as well?

cc @conda-forge/dftbplus

@GiovanniBussi
Copy link
Contributor

GiovanniBussi commented May 13, 2021

@awvwgk thanks for raising this. Currently we have no plan in this sense. I noticed that unfortunately preparing a package that works both with and without MPI is non trivial, and I thus didn't have time to figure out how to fix our recipe. If you know how to do it, could you please make a pull request in this sense? Ideally:

  • default should be no MPI
  • optionally the user might install MPI support

Thanks!

@awvwgk
Copy link
Member Author

awvwgk commented May 13, 2021

Will give it a try in #21, let's see how this goes.

There is probably more work to do than adding MPI to the build matrix. Do any of the dependencies have to support MPI as well?

@GiovanniBussi
Copy link
Contributor

There is probably more work to do than adding MPI to the build matrix. Do any of the dependencies have to support MPI as well?

Not that I know. I guess you are thinking about fftw? We only use the serial version.

@GiovanniBussi
Copy link
Contributor

Will give it a try in #21, let's see how this goes.

🤞

@awvwgk
Copy link
Member Author

awvwgk commented May 13, 2021

Seems like it works with MPICH, but fails with OpenMPI. Not sure what the cause it, but maybe it seems to be an issue with the compiler wrappers (we don't use those in DFTB+).

@awvwgk
Copy link
Member Author

awvwgk commented May 13, 2021

Feel free to close this PR or keep it open to track the build failure on OSX-ARM with OpenMPI.

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