Charles Greathouse on Mon, 22 Jan 2024 19:04:40 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

make dobench failing recently for me


I'm not sure if this is a bug or local configuration issues, so I'll post here for now. While I'm able to build gp from the repo, for a while (weeks, at least) I haven't been able to pass the bench. The diffs show a precision/rounding issue in trans-dyn and heap/memory leak issues in  analyz-dyn, number-dyn, and polyser-dyn.

The diffs are below. I can include more information if desired; this is for the latest git version from a few days ago, 3056f0fd062, but I've had similar issues on all recent releases. I'm running Ubuntu on WSL 2 (which hasn't had troubles in the past). I can reproduce on at least one other machine from a clean build.

analyz-dyn.dif
*** ../src/test/32/analyz       2023-01-26 18:53:03.497988600 -0500
--- gp.out      2024-01-22 11:55:08.254757500 -0500
***************
*** 4,8 ****
  ? sum(x=1,25,sum(y=1,100,x/y),0.0);
  ? sum(x=1,100,sum(y=1,100,x/y,0.0));
  ? if(getheap()!=HEAP,getheap())
  ? print("Total time spent: ",gettime);
! Total time spent: 17
--- 4,9 ----
  ? sum(x=1,25,sum(y=1,100,x/y),0.0);
  ? sum(x=1,100,sum(y=1,100,x/y,0.0));
  ? if(getheap()!=HEAP,getheap())
+ [10, 127]
  ? print("Total time spent: ",gettime);
! Total time spent: 16


number-dyn.dif
*** ../src/test/32/number       2023-01-26 20:24:02.486620100 -0500
--- gp.out      2024-01-22 11:55:08.362325200 -0500
***************
*** 276,280 ****
  [768, [12, 4, 4, 2, 2], [Mod(2641, 3120), Mod(2497, 3120), Mod(2341, 3120),
  Mod(1951, 3120), Mod(2081, 3120)]]
  ? if(getheap()!=HEAP,getheap())
  ? print("Total time spent: ",gettime);
! Total time spent: 13
--- 276,281 ----
  [768, [12, 4, 4, 2, 2], [Mod(2641, 3120), Mod(2497, 3120), Mod(2341, 3120),
  Mod(1951, 3120), Mod(2081, 3120)]]
  ? if(getheap()!=HEAP,getheap())
+ [96, 3256]
  ? print("Total time spent: ",gettime);
! Total time spent: 0


polyser-dyn.dif
*** ../src/test/32/polyser      2023-01-26 18:53:03.544190200 -0500
--- gp.out      2024-01-22 11:55:08.463198100 -0500
***************
*** 149,153 ****
  ? variable(name^4-other)
  name
  ? if(getheap()!=HEAP,getheap())
  ? print("Total time spent: ",gettime);
! Total time spent: 5
--- 149,154 ----
  ? variable(name^4-other)
  name
  ? if(getheap()!=HEAP,getheap())
+ [61, 4888]
  ? print("Total time spent: ",gettime);
! Total time spent: 0


trans-dyn.dif
*** ../src/test/32/trans        2023-01-26 20:24:02.505912000 -0500
--- gp.out      2024-01-22 11:55:09.172302400 -0500
***************
*** 209,215 ****
  4941126226105509040063638188285564115344953681810888273779786908674971375790
  8195668868771862724960506973654276418030571788122630863453337110176849606822
  1737947156506471705364776857567885865306510307287057939775372643683728493581
! 541266542498557839619175749637426460610039831
  ? acosh(3)
  1.76274717403908605046521864995958461805632065652327082150659121730675436844
  4052175667413783820512085713479632384212984377524145023953183875054510925531
--- 209,215 ----
  4941126226105509040063638188285564115344953681810888273779786908674971375790
  8195668868771862724960506973654276418030571788122630863453337110176849606822
  1737947156506471705364776857567885865306510307287057939775372643683728493581
! 541266542498557839619175749637426460610039830
  ? acosh(3)
  1.76274717403908605046521864995958461805632065652327082150659121730675436844
  4052175667413783820512085713479632384212984377524145023953183875054510925531
***************
*** 435,438 ****
  763732423 E-8*I
  ? if(getheap()!=HEAP,getheap())
  ? print("Total time spent: ",gettime);
! Total time spent: 10
--- 435,438 ----
  763732423 E-8*I
  ? if(getheap()!=HEAP,getheap())
  ? print("Total time spent: ",gettime);
! Total time spent: 0