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

Integrate multiple-replicas MPI communicator into library, support GROMACS multisim #720

Draft
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

giacomofiorin
Copy link
Member

Moves member data and functions from the LAMMPS interface to the library, with the purpose of being reused in GROMACS.

The preprocessor macro COLVARS_MPI controls whether MPI_Comm is defined: if it isn't it is defined a void * via typedef by default. Both LAMMPS and GROMACS set that macro in different ways:

  • LAMMPS always sets it, because it has a MPI stubs "library" to link against
  • GROMACS defines it only when not using thread-MPI
    NAMD ignores it altogether and continues to use derived-class functions.

TODO: unit and functional tests for the GROMACS interface feature.

@HanatoK
Copy link
Member

HanatoK commented Sep 24, 2024

Should I rebase #709 to use check_replicas_enabled() on this PR?

@giacomofiorin
Copy link
Member Author

Should I rebase #709 to use check_replicas_enabled() on this PR?

No, #709 is ready for review. Better to rebase this onto master later.

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

Successfully merging this pull request may close these issues.

2 participants