C - coefficient typepublic class GroebnerBaseDistributedHybridMPI<C extends edu.jas.structure.RingElem<C>> extends edu.jas.gb.GroebnerBaseAbstract<C>
| Modifier and Type | Field and Description |
|---|---|
static int |
ackTag
Message tag for acknowledgments.
|
boolean |
debug |
protected static int |
DEFAULT_THREADS
Default number of threads.
|
protected static int |
DEFAULT_THREADS_PER_NODE
Default number of threads per compute node.
|
protected mpi.Comm |
engine |
static int |
pairTag
Message tag for pairs.
|
protected edu.jas.util.ThreadPool |
pool
Pool of threads to use.
|
static int |
resultTag
Message tag for results.
|
protected int |
threads
Number of threads to use.
|
protected int |
threadsPerNode
Number of threads per node to use.
|
| Constructor and Description |
|---|
GroebnerBaseDistributedHybridMPI()
Constructor.
|
GroebnerBaseDistributedHybridMPI(int threads)
Constructor.
|
GroebnerBaseDistributedHybridMPI(int threads,
int threadsPerNode)
Constructor.
|
GroebnerBaseDistributedHybridMPI(int threads,
int threadsPerNode,
edu.jas.gb.PairList<C> pl)
Constructor.
|
GroebnerBaseDistributedHybridMPI(int threads,
int threadsPerNode,
edu.jas.util.ThreadPool pool)
Constructor.
|
GroebnerBaseDistributedHybridMPI(int threads,
int threadsPerNode,
edu.jas.util.ThreadPool pool,
edu.jas.gb.PairList<C> pl)
Constructor.
|
GroebnerBaseDistributedHybridMPI(int threads,
edu.jas.util.ThreadPool pool)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clientPart(int rank)
GB distributed client.
|
java.util.List<edu.jas.poly.GenPolynomial<C>> |
GB(int modv,
java.util.List<edu.jas.poly.GenPolynomial<C>> F)
Distributed Groebner base.
|
java.util.List<edu.jas.poly.GenPolynomial<C>> |
GBmaster(int modv,
java.util.List<edu.jas.poly.GenPolynomial<C>> F)
Distributed hybrid Groebner base.
|
java.util.List<edu.jas.poly.GenPolynomial<C>> |
minimalGB(java.util.List<edu.jas.poly.GenPolynomial<C>> Fp)
Minimal ordered groebner basis.
|
void |
terminate()
Cleanup and terminate.
|
cancel, commonZeroTest, constructUnivariate, criterion3, extGB, extGB, GB, GB, GB, isGB, isGB, isGB, isGB, isGB, isGB, isGBidem, isGBsimple, isMinimalGB, isReductionMatrix, isReductionMatrix, minimalExtendedGB, normalizeMatrix, normalizeZerosOnes, toString, univariateDegreespublic final boolean debug
protected final int threads
protected static final int DEFAULT_THREADS
protected final int threadsPerNode
protected static final int DEFAULT_THREADS_PER_NODE
protected final transient edu.jas.util.ThreadPool pool
protected final transient mpi.Comm engine
public static final int pairTag
public static final int resultTag
public static final int ackTag
public GroebnerBaseDistributedHybridMPI() throws java.io.IOException
java.io.IOExceptionpublic GroebnerBaseDistributedHybridMPI(int threads) throws java.io.IOException
threads - number of threads to use.java.io.IOExceptionpublic GroebnerBaseDistributedHybridMPI(int threads, int threadsPerNode) throws java.io.IOException
threads - number of threads to use.threadsPerNode - threads per node to use.java.io.IOExceptionpublic GroebnerBaseDistributedHybridMPI(int threads, edu.jas.util.ThreadPool pool) throws java.io.IOException
threads - number of threads to use.pool - ThreadPool to use.java.io.IOExceptionpublic GroebnerBaseDistributedHybridMPI(int threads, int threadsPerNode, edu.jas.gb.PairList<C> pl) throws java.io.IOException
threads - number of threads to use.threadsPerNode - threads per node to use.pl - pair selection strategyjava.io.IOExceptionpublic GroebnerBaseDistributedHybridMPI(int threads, int threadsPerNode, edu.jas.util.ThreadPool pool) throws java.io.IOException
threads - number of threads to use.threadsPerNode - threads per node to use.java.io.IOExceptionpublic GroebnerBaseDistributedHybridMPI(int threads, int threadsPerNode, edu.jas.util.ThreadPool pool, edu.jas.gb.PairList<C> pl) throws java.io.IOException
threads - number of threads to use.threadsPerNode - threads per node to use.pool - ThreadPool to use.pl - pair selection strategyjava.io.IOExceptionpublic void terminate()
public java.util.List<edu.jas.poly.GenPolynomial<C>> GB(int modv, java.util.List<edu.jas.poly.GenPolynomial<C>> F)
modv - number of module variables.F - polynomial list.public java.util.List<edu.jas.poly.GenPolynomial<C>> GBmaster(int modv, java.util.List<edu.jas.poly.GenPolynomial<C>> F) throws mpi.MPIException, java.io.IOException
modv - number of module variables.F - polynomial list.mpi.MPIExceptionjava.io.IOExceptionpublic void clientPart(int rank) throws java.io.IOException, mpi.MPIException
rank - of the MPI where the server runs on.java.io.IOExceptionmpi.MPIException