armi.tests.test_mpiActions module¶
Tests for MPI actions
- class armi.tests.test_mpiActions.MpiIterTests(methodName='runTest')[source]¶
Bases:
unittest.case.TestCase
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- test_perfectBalancing()[source]¶
Test load balancing when numProcs divides numObjects
In this case, all processes should get the same number of objects.
- test_excessProcesses()[source]¶
Test load balancing when numProcs exceeds numObjects
In this case, some processes should receive a single object and the rest should receive no objects