Reconnect the opal dss debug envar with the debug output
This commit was SVN r18759.
Этот коммит содержится в:
родитель
d129578694
Коммит
830ea9dfe6
@ -28,7 +28,6 @@
|
|||||||
* globals
|
* globals
|
||||||
*/
|
*/
|
||||||
bool opal_dss_initialized = false;
|
bool opal_dss_initialized = false;
|
||||||
bool opal_dss_debug = false;
|
|
||||||
int opal_dss_verbose = -1; /* by default disabled */
|
int opal_dss_verbose = -1; /* by default disabled */
|
||||||
int opal_dss_initial_size;
|
int opal_dss_initial_size;
|
||||||
int opal_dss_threshold_size;
|
int opal_dss_threshold_size;
|
||||||
@ -147,9 +146,7 @@ int opal_dss_open(void)
|
|||||||
|
|
||||||
enviro_val = getenv("OPAL_dss_debug");
|
enviro_val = getenv("OPAL_dss_debug");
|
||||||
if (NULL != enviro_val) { /* debug requested */
|
if (NULL != enviro_val) { /* debug requested */
|
||||||
opal_dss_debug = true;
|
opal_dss_verbose = 0;
|
||||||
} else {
|
|
||||||
opal_dss_debug = false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/** set the default buffer type. If we are in debug mode, then we default
|
/** set the default buffer type. If we are in debug mode, then we default
|
||||||
|
@ -105,6 +105,7 @@ int opal_dss_unpack_buffer(opal_buffer_t *buffer, void *dst, int32_t *num_vals,
|
|||||||
}
|
}
|
||||||
/* if the data types don't match, then return an error */
|
/* if the data types don't match, then return an error */
|
||||||
if (type != local_type) {
|
if (type != local_type) {
|
||||||
|
opal_output(0, "OPAL dss:unpack: got type %d when expecting type %d", local_type, type);
|
||||||
return OPAL_ERR_PACK_MISMATCH;
|
return OPAL_ERR_PACK_MISMATCH;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user