28 #include <queso/config_queso.h>
29 #include <queso/asserts.h>
33 #ifdef QUESO_HAVE_GLPK
34 #define QUESO_HAS_GLPK
37 #ifdef QUESO_HAVE_HDF5
38 #define QUESO_HAS_HDF5
41 #ifdef QUESO_HAVE_TRILINOS
42 #define QUESO_HAS_TRILINOS
56 #include <queso/asserts.h>
63 #define ML_CODE_HAS_NEW_RESTART_CAPABILITY
64 #undef QUESO_MEMORY_DEBUGGING
65 #undef UQ_DEBUG_PARALLEL_RUNS_IN_DETAIL
66 #undef UQ_ALSO_COMPUTE_MDFS_WITHOUT_KDE
67 #define QUESO_EXPECTS_LN_LIKELIHOOD_INSTEAD_OF_MINUS_2_LN
68 #define QUESO_CLASSES_INSTANTIATE_NEW_MAPS
69 #undef QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS
70 #undef QUESO_COMPUTES_EXTRA_POST_PROCESSING_STATISTICS
71 #define QUESO_USES_NEW_RNG_CLASS
88 #define UQ_FILE_EXTENSION_FOR_MATLAB_FORMAT "m"
89 #define UQ_FILE_EXTENSION_FOR_HDF_FORMAT "h5"
177 #define UQ_RC_MACRO(macroIRc,givenRank,where,what,retValue) \
179 int macroRank = givenRank; \
180 if (macroRank < 0) { \
181 macroRank = QUESO::MyWorldfullRank(); \
183 std::cerr << "UQ RC ERROR" \
184 << ", rank " << macroRank \
185 << ", in " << where \
187 << ", iRc = " << macroIRc \
192 #define UQ_TEST_MACRO(test,givenRank,where,what,retValue) \
194 int macroRank = givenRank; \
195 if (macroRank < 0) { \
196 macroRank = QUESO::MyWorldfullRank(); \
198 std::cerr << "UQ TEST ERROR" \
199 << ", rank " << macroRank \
200 << ", in " << where \
206 #define UQ_FATAL_RC_MACRO(macroIRc,givenRank,where,what) \
208 int macroRank = givenRank; \
209 if (macroRank < 0) { \
210 macroRank = QUESO::MyWorldfullRank(); \
212 std::cerr << "UQ RC FATAL ERROR" \
213 << ", rank " << macroRank \
214 << ", in " << where \
216 << ", iRC = " << macroIRc \
222 #define UQ_FATAL_TEST_MACRO(test,givenRank,where,what) \
224 int macroRank = givenRank; \
225 if (macroRank < 0) { \
226 macroRank = QUESO::MyWorldfullRank(); \
228 std::cerr << "UQ TEST FATAL ERROR" \
229 << ", rank " << macroRank \
230 << ", in " << where \
239 #endif // UQ_DEFINES_H
const int UQ_FAILED_READING_FILE_RC
EnvOptionsValues()
Default constructor.
bool m_subDisplayAllowInter0
Allows (or not) all inter0 nodes to write to output file.
std::string m_rngType
Type of the random number generator.
const int UQ_MATRIX_IS_NOT_POS_DEFINITE_RC
EnvOptionsValues & operator=(const EnvOptionsValues &rhs)
Operator for copying the options of an environment.
unsigned int m_checkingLevel
Checking level.
unsigned int m_numSubEnvironments
Number of sub-environments.
const int UQ_INVALID_OBSERVABLE_SPEC_RC
const int UQ_INCOMPLETE_IMPLEMENTATION_RC
const int UQ_INVALID_QOI_SPEC_RC
std::string m_identifyingString
Identifying string.
std::string m_platformName
Platform name.
const int UQ_INVALID_INTERNAL_RESULT_RC
int MyWorldfullRank()
Returns the rank of the calling process in the communicator.
~EnvOptionsValues()
Destructor.
unsigned int m_numDebugParams
Number of debug parameters.
const int UQ_MATRIX_SVD_FAILED_RC
const int UQ_FAILED_TO_OPEN_FILE_RC
unsigned int m_displayVerbosity
Verbosity.
const int UQ_INVALID_INTERNAL_STATE_RC
const int UQ_INVALID_PARAMETER_SPEC_RC
std::string m_subDisplayFileName
Output filename for sub-screen writing.
const int UQ_UNAVAILABLE_RANK
std::vector< double > m_debugParams
Debug parameters.
int m_seed
Seed of the random number generator.
const int UQ_INVALID_SPACE_COMPONENT_ID_RC
void copy(const EnvOptionsValues &src)
Makes an exact copy of an existing EnvOptionsValues instance.
unsigned int m_syncVerbosity
Synchronized verbosity.
This class provides a suite options one can pass to a QUESO environment.
bool m_subDisplayAllowAll
Allows (or not) all sub-environments to write to output file.
std::set< unsigned int > m_subDisplayAllowedSet
Sub-environments that will write to output.