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

MultiMDServiceTest::testAvgNumberOfMDSimulations does not run sequentially #25

Open
Thinkpiet opened this issue Dec 22, 2023 · 2 comments

Comments

@Thinkpiet
Copy link
Member

It assumes 4 MPI ranks. OK, but for size!=4 it should exit gracefully. Currently it crashes with an error instead

@LouieVoit
Copy link
Contributor

Do you mean it assumes 4 MD simulations ? It does not crash for me. Can you detail a bit more ?

@Thinkpiet
Copy link
Member Author

I am on master (e7f3891). I compile with BUILD_WITH_MPI=ON, BUILD_TESTING=ON, CMAKE_BUILD_TYPE=Debug, I use GCC 13.2.1.

If I execute ./testmamico MultiMDServiceTest::testAvgNumberOfMDSimulations or mpirun -n 2 testmamico MultiMDServiceTest::testAvgNumberOfMDSimulations then I get

ERROR MultiMDService::MultiMDService(): _globalSize mod _localSize!=0 ! The number of globally available MPI processes must be filled completely with local MD simulation processes!

Expected result: Test should pass.

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