java.lang.Object
com.powsybl.computation.mpi.JniMpiNativeServices
- All Implemented Interfaces:
MpiNativeServices
- Author:
- Geoffroy Jamgotchian <geoffroy.jamgotchian at rte-france.com>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
checkTasksCompletion
(List<com.powsybl.computation.mpi.MpiTask> runningTasks, List<com.powsybl.computation.mpi.MpiTask> completedTasks) int
void
initMpi
(int coresPerRank, boolean verbose) void
sendCommonFile
(byte[] message) void
startTasks
(List<com.powsybl.computation.mpi.MpiTask> tasks) void
-
Constructor Details
-
JniMpiNativeServices
public JniMpiNativeServices()
-
-
Method Details
-
initMpi
public void initMpi(int coresPerRank, boolean verbose) - Specified by:
initMpi
in interfaceMpiNativeServices
-
terminateMpi
public void terminateMpi()- Specified by:
terminateMpi
in interfaceMpiNativeServices
-
getMpiVersion
- Specified by:
getMpiVersion
in interfaceMpiNativeServices
-
getMpiCommSize
public int getMpiCommSize()- Specified by:
getMpiCommSize
in interfaceMpiNativeServices
-
sendCommonFile
public void sendCommonFile(byte[] message) - Specified by:
sendCommonFile
in interfaceMpiNativeServices
-
startTasks
- Specified by:
startTasks
in interfaceMpiNativeServices
-
checkTasksCompletion
public void checkTasksCompletion(List<com.powsybl.computation.mpi.MpiTask> runningTasks, List<com.powsybl.computation.mpi.MpiTask> completedTasks) - Specified by:
checkTasksCompletion
in interfaceMpiNativeServices
-