Commit 439efbf8 authored by Mathieu Faverge's avatar Mathieu Faverge

Change the error option, into warning option to disable the messages

parent f03703b2
......@@ -492,7 +492,7 @@ main(int argc, char *argv[]) {
iparam[IPARAM_GEMM3M ] = 0;
iparam[IPARAM_PROGRESS ] = 0;
iparam[IPARAM_PROFILE ] = 0;
iparam[IPARAM_PRINT_ERRORS ] = 0;
iparam[IPARAM_PRINT_WARNINGS] = 1;
iparam[IPARAM_PEAK ] = 0;
iparam[IPARAM_PARALLEL_TASKS] = 0;
iparam[IPARAM_NO_CPU ] = 0;
......@@ -586,8 +586,8 @@ main(int argc, char *argv[]) {
iparam[IPARAM_PEAK] = 1;
} else if (startswith( argv[i], "--noprofile" )) {
iparam[IPARAM_PROFILE] = 0;
} else if (startswith( argv[i], "--printerrors" )) {
iparam[IPARAM_PRINT_ERRORS] = 1;
} else if (startswith( argv[i], "--nowarnings" )) {
iparam[IPARAM_PRINT_WARNINGS] = 0;
/* } else if (startswith( argv[i], "--parallel=" )) { */
/* sscanf( strchr( argv[i], '=' ) + 1, "%d", &(iparam[IPARAM_PARALLEL_TASKS]) ); */
/* } else if (startswith( argv[i], "--noparallel" )) { */
......@@ -653,12 +653,12 @@ main(int argc, char *argv[]) {
if (iparam[IPARAM_PROFILE] == 1)
MORSE_Enable(MORSE_PROFILING_MODE);
if (iparam[IPARAM_PRINT_ERRORS] == 1)
MORSE_Enable(MORSE_ERRORS);
if (iparam[IPARAM_PROGRESS] == 1)
MORSE_Enable(MORSE_PROGRESS);
if (iparam[IPARAM_PRINT_WARNINGS] == 0)
MORSE_Disable(MORSE_WARNINGS);
if (iparam[IPARAM_GEMM3M] == 1)
MORSE_Enable(MORSE_GEMM3M);
......
......@@ -54,7 +54,7 @@ enum iparam_timing {
IPARAM_GEMM3M, /* Use GEMM3M for complex matrix vector products */
/* Added for StarPU version */
IPARAM_PROFILE,
IPARAM_PRINT_ERRORS,
IPARAM_PRINT_WARNINGS,
IPARAM_PEAK,
IPARAM_PARALLEL_TASKS,
IPARAM_NO_CPU,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment