@@ -3998,14 +3998,14 @@ int core_msolve(
39983998 st -> gfc );
39993999 }
40004000 if (!success ) {
4001- printf ( "Bad input data, stopped computation.\n" );
4001+ fprintf ( stderr , "Bad input data, stopped computation.\n" );
40024002 exit (1 );
40034003 }
40044004 /* compute a gb for initial generators */
40054005 success = core_sba_schreyer (& bs , & bht , & st );
40064006
40074007 if (!success ) {
4008- printf ( "Problem with sba, stopped computation.\n" );
4008+ fprintf ( stderr , "Problem with sba, stopped computation.\n" );
40094009 exit (1 );
40104010 }
40114011 int64_t nb = export_results_from_gba (bld , blen , bexp ,
@@ -4068,7 +4068,7 @@ int core_msolve(
40684068 0 /*truncate_lifting */ , info_level );
40694069
40704070 if (!success ) {
4071- printf ( "Bad input data, stopped computation.\n" );
4071+ fprintf ( stderr , "Bad input data, stopped computation.\n" );
40724072 exit (1 );
40734073 }
40744074
@@ -4094,7 +4094,7 @@ int core_msolve(
40944094 success = core_f4sat (bs , sat , st , & error );
40954095
40964096 if (!success ) {
4097- printf ( "Problem with f4sat, stopped computation.\n" );
4097+ fprintf ( stderr , "Problem with f4sat, stopped computation.\n" );
40984098 exit (1 );
40994099 }
41004100 int64_t nb = export_results_from_gba (bld , blen , bexp ,
@@ -4166,7 +4166,7 @@ int core_msolve(
41664166 st -> gfc );
41674167 }
41684168 if (!success ) {
4169- printf ( "Bad input data, stopped computation.\n" );
4169+ fprintf ( stderr , "Bad input data, stopped computation.\n" );
41704170 exit (1 );
41714171 }
41724172
@@ -4192,7 +4192,7 @@ int core_msolve(
41924192 bs = core_gba (bs , st , & err , gens -> field_char );
41934193
41944194 if (err ) {
4195- printf ( "Problem with F4, stopped computation.\n" );
4195+ fprintf ( stderr , "Problem with F4, stopped computation.\n" );
41964196 exit (1 );
41974197 }
41984198 }
@@ -4226,7 +4226,7 @@ int core_msolve(
42264226 tbr = core_nf (tbr , st , mul , bs , & err );
42274227
42284228 if (err ) {
4229- printf ( "Problem with normalform, stopped computation.\n" );
4229+ fprintf ( stderr , "Problem with normalform, stopped computation.\n" );
42304230 exit (1 );
42314231 }
42324232 /* print reduced element in tbr, last one is the input element */
@@ -4546,7 +4546,7 @@ int core_msolve(
45464546
45474547 st -> gfc = gens -> field_char ;
45484548 if (!success ) {
4549- printf ( "Bad input data, stopped computation.\n" );
4549+ fprintf ( stderr , "Bad input data, stopped computation.\n" );
45504550 exit (1 );
45514551 }
45524552
@@ -4585,7 +4585,7 @@ int core_msolve(
45854585 tbr = core_nf (tbr , st , mul , bs , & err );
45864586
45874587 if (err ) {
4588- printf ( "Problem with normalform, stopped computation.\n" );
4588+ fprintf ( stderr , "Problem with normalform, stopped computation.\n" );
45894589 exit (1 );
45904590 }
45914591 /* print all reduced elements in tbr, first normal_form ones
@@ -4959,7 +4959,9 @@ int core_msolve(
49594959 sat_qq -> lmps [k ] = k ; /* fix input element in tbr */
49604960 }
49614961
4962- printf ("LEARNING PHASE -- PART 1\n" );
4962+ if (info_level ){
4963+ fprintf (stdout ,"LEARNING PHASE -- PART 1\n" );
4964+ }
49634965 f4sat_trace_learning_phase_1 (
49644966 trace ,
49654967 tht ,
@@ -4988,7 +4990,9 @@ int core_msolve(
49884990
49894991 lp -> p [0 ] = prime ;
49904992
4991- printf ("LEARNING PHASE -- PART 2\n" );
4993+ if (info_level ){
4994+ fprintf (stdout ,"LEARNING PHASE -- PART 2\n" );
4995+ }
49924996 f4sat_trace_learning_phase_2 (
49934997 trace ,
49944998 tht ,
0 commit comments