MUQ
0.4.3
ParallelFlags.h
Go to the documentation of this file.
1
#ifndef PARALLELFLAGS_H_
2
#define PARALLELFLAGS_H_
3
4
#include "
MUQ/config.h
"
5
6
#if MUQ_HAS_MPI
7
8
namespace
muq
{
9
namespace
SamplingAlgorithms {
10
15
const
int
ControlTag
= 1;
16
const
int
WorkgroupTag
= 2;
17
23
enum
ControlFlag
:
const
int
{
24
25
// SamplingProblem
26
FINALIZE
,
27
INIT_PROBLEM
,
28
LOGDENSITY
,
29
TEST
,
30
QOI
,
31
32
// Assignment
33
ASSIGN
,
34
ASSIGN_COLLECTOR
,
35
UNASSIGN
,
36
SAMPLE
,
37
SAMPLE_BOX
,
38
QUIT
,
39
40
SAMPLE_BOX_DONE
,
41
42
// Collector
43
MEANS
,
44
MEANS_DONE
,
45
WRITE_TO_FILE
,
46
47
// Workgroup phonebook
48
GET_WORKGROUP
,
49
SET_WORKGROUP
,
50
GET_WORKGROUPS
,
51
UNSET_WORKGROUP
,
52
GET_LARGEST_INDEX
,
53
SET_WORKER_READY
,
54
SCHEDULING_NEEDED
,
55
SCHEDULING_DONE
,
56
SCHEDULING_STOP
,
57
58
HANDSHAKE
59
};
60
61
}
62
}
63
64
#endif
65
66
#endif
config.h
muq::SamplingAlgorithms::WorkgroupTag
const int WorkgroupTag
Definition:
ParallelFlags.h:16
muq::SamplingAlgorithms::ControlFlag
ControlFlag
Flags used by parallel MCMC/MIMCMC type methods.
Definition:
ParallelFlags.h:23
muq::SamplingAlgorithms::FINALIZE
@ FINALIZE
Definition:
ParallelFlags.h:26
muq::SamplingAlgorithms::SCHEDULING_STOP
@ SCHEDULING_STOP
Definition:
ParallelFlags.h:56
muq::SamplingAlgorithms::GET_LARGEST_INDEX
@ GET_LARGEST_INDEX
Definition:
ParallelFlags.h:52
muq::SamplingAlgorithms::SET_WORKGROUP
@ SET_WORKGROUP
Definition:
ParallelFlags.h:49
muq::SamplingAlgorithms::SET_WORKER_READY
@ SET_WORKER_READY
Definition:
ParallelFlags.h:53
muq::SamplingAlgorithms::INIT_PROBLEM
@ INIT_PROBLEM
Definition:
ParallelFlags.h:27
muq::SamplingAlgorithms::SAMPLE_BOX_DONE
@ SAMPLE_BOX_DONE
Definition:
ParallelFlags.h:40
muq::SamplingAlgorithms::QOI
@ QOI
Definition:
ParallelFlags.h:30
muq::SamplingAlgorithms::GET_WORKGROUP
@ GET_WORKGROUP
Definition:
ParallelFlags.h:48
muq::SamplingAlgorithms::WRITE_TO_FILE
@ WRITE_TO_FILE
Definition:
ParallelFlags.h:45
muq::SamplingAlgorithms::SAMPLE_BOX
@ SAMPLE_BOX
Definition:
ParallelFlags.h:37
muq::SamplingAlgorithms::LOGDENSITY
@ LOGDENSITY
Definition:
ParallelFlags.h:28
muq::SamplingAlgorithms::ASSIGN
@ ASSIGN
Definition:
ParallelFlags.h:33
muq::SamplingAlgorithms::SCHEDULING_NEEDED
@ SCHEDULING_NEEDED
Definition:
ParallelFlags.h:54
muq::SamplingAlgorithms::TEST
@ TEST
Definition:
ParallelFlags.h:29
muq::SamplingAlgorithms::UNSET_WORKGROUP
@ UNSET_WORKGROUP
Definition:
ParallelFlags.h:51
muq::SamplingAlgorithms::UNASSIGN
@ UNASSIGN
Definition:
ParallelFlags.h:35
muq::SamplingAlgorithms::GET_WORKGROUPS
@ GET_WORKGROUPS
Definition:
ParallelFlags.h:50
muq::SamplingAlgorithms::HANDSHAKE
@ HANDSHAKE
Definition:
ParallelFlags.h:58
muq::SamplingAlgorithms::MEANS
@ MEANS
Definition:
ParallelFlags.h:43
muq::SamplingAlgorithms::SAMPLE
@ SAMPLE
Definition:
ParallelFlags.h:36
muq::SamplingAlgorithms::SCHEDULING_DONE
@ SCHEDULING_DONE
Definition:
ParallelFlags.h:55
muq::SamplingAlgorithms::MEANS_DONE
@ MEANS_DONE
Definition:
ParallelFlags.h:44
muq::SamplingAlgorithms::ASSIGN_COLLECTOR
@ ASSIGN_COLLECTOR
Definition:
ParallelFlags.h:34
muq::SamplingAlgorithms::QUIT
@ QUIT
Definition:
ParallelFlags.h:38
muq::SamplingAlgorithms::ControlTag
const int ControlTag
Tags separating MPI communication between control level processes and internal work group communicati...
Definition:
ParallelFlags.h:15
muq
Definition:
AllClassWrappers.h:6
doxygen_prep
MUQ
SamplingAlgorithms
ParallelFlags.h
Generated on Wed Jun 12 2024 00:48:29 for MUQ by
1.9.1