Class MPIDistributedBackend
java.lang.Object
org.episteme.core.distributed.backends.MPIDistributedBackend
- All Implemented Interfaces:
DistributedComputingProvider, AlgorithmProvider, Backend, ComputeBackend, DistributedBackend
@AutoService({Backend.class,AlgorithmProvider.class})
public class MPIDistributedBackend
extends Object
implements DistributedBackend
MPI Distributed Computing Backend.
Wraps MPJ Express for high-performance distributed computing.
- Since:
- 1.2
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates a new distributed execution context.getName()Returns the display name for UI presentation.intReturns the number of available distributed nodes.booleanResolves the method conflict betweenandinvalid reference
Backend#isAvailable()AlgorithmProvider.isAvailable().voidshutdown()Called when the application is shutting down or the backend is being replaced.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface AlgorithmProvider
description, getMetadata, scoreMethods inherited from interface Backend
getAlgorithmProviders, getStatusMessage, isExplicitlyDisabledMethods inherited from interface ComputeBackend
createBackend, getDescription, getId, supportsComplexNumbers, supportsFloatingPointMethods inherited from interface DistributedBackend
createContext, getAcceleratorType, getAlgorithmType, getPriority, getType, supportsParallelOps
-
Constructor Details
-
MPIDistributedBackend
public MPIDistributedBackend()
-
-
Method Details
-
getName
-
isAvailable
public boolean isAvailable()Description copied from interface:DistributedBackendResolves the method conflict betweenandinvalid reference
Backend#isAvailable()AlgorithmProvider.isAvailable().- Specified by:
isAvailablein interfaceAlgorithmProvider- Specified by:
isAvailablein interfaceBackend- Specified by:
isAvailablein interfaceDistributedBackend
-
getNodeCount
public int getNodeCount()Description copied from interface:DistributedBackendReturns the number of available distributed nodes.- Specified by:
getNodeCountin interfaceDistributedBackend- Returns:
- the node count
-
createDistributedContext
Description copied from interface:DistributedComputingProviderCreates a new distributed execution context.- Specified by:
createDistributedContextin interfaceDistributedComputingProvider- Returns:
- a context for submitting distributed tasks.
-
shutdown
public void shutdown()Description copied from interface:BackendCalled when the application is shutting down or the backend is being replaced. Use this to release hardware resources, close file handles, or stop background threads.- Specified by:
shutdownin interfaceAlgorithmProvider- Specified by:
shutdownin interfaceBackend- Specified by:
shutdownin interfaceDistributedBackend
-