pastix-5.2.2.22-nosmp-undefined-variable.patch 494 B

12345678910111213141516
  1. --- ./sopalin/src/updo.c.orig 2016-02-23 01:42:00.000000000 +0000
  2. +++ ./sopalin/src/updo.c 2016-02-23 01:42:10.000000000 +0000
  3. @@ -940,8 +940,10 @@
  4. i = TASK_CBLKNUM(i);
  5. # define END_LOOP(a) } SMP_END_LOOP(a)
  6. # else /* SMP_SOPALIN */
  7. -# define START_LOOP for (i=0;i<SYMB_CBLKNBR;i++)
  8. -# define END_LOOP
  9. +# define START_LOOP \
  10. + int bubnum = me; \
  11. + for (i=0;i<SYMB_CBLKNBR;i++)
  12. +# define END_LOOP(a) a
  13. # endif
  14. /* Xi=(Dii)-1Xi; */