Closed yalinli2 closed 2 years ago
Hi Yalin,
I'm getting the same results as the remote results:
-25247164.98735794
-25248804.495846584
-25249129.471471302
-25249194.351868946
-25249207.323377453
-25249209.91749646
-25249210.43631295
-25249210.54007596
-25249210.560828548
-25249210.56497907
Even if I disable numba (I have numba==0.54.0), I also get (almost exactly) the same results:
-25247164.987357937
-25248804.49584659
-25249129.471471302
-25249194.351868954
-25249207.323377457
-25249209.917496465
-25249210.43631295
-25249210.540075958
-25249210.56082855
-25249210.56497907
I believe it may have to do with your chemicals/thermo dependency, I am using the latest from the master branches (and the remote is using the latest PyPI versions). Caleb has recently added Joback estimation methods, new data, and fixed accuracy/reproducibility of results; so maybe it has to do with your local versions.
Let me know if updating works, Thanks!
FYI, if you ever think it is just numba acting up, you can disable numba with:
>>> import os
>>> os.environ["NUMBA_DISABLE_JIT"] = '1' # Before running anything
Ah I forgot thermo
!!! Thanks for the tips!
Hey @yoelcortes , I'm trying to set up the GitHub workflow for QSDsan, but in doing so I found there's one TEA-related test that the remote won't be able to pass, the thing is that the values I get from local runs are different from the remote runs
I looked into it and feel like it's related to BioSTEAM's TEA, so I added a trial method (see here) and found that again, the local results are different from remote ones (I don't think it's because of the package versions, I tried to match the ones on remote), the complete log is here: logs_11.zip
here's the test codes:
expected (i.e., local) results:
remote results:
the absolute diff between local and remote results are pretty consistent, so probably not a convergence thing, any ideas on why this would be the case? Thanks!!!