Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for certain modelDB CI failures #3194

Merged
merged 4 commits into from
Nov 11, 2024
Merged

Conversation

JCGoran
Copy link
Contributor

@JCGoran JCGoran commented Nov 11, 2024

For context, #3135 introduced a level of indirection to std::pow, which seems to be problematic for some models (model IDs: 149100 3800 113997 144520 126467 256388), in particular, when using the -O2 optimization flag (see #3137 (comment), #3137 (comment), #3137 (comment)).

The solution is to include nrnconf.h, and put the entire NOCMODL change under an #if guard, since nrnconf.h has a #define NRN_ENABLE_ARCH_INDEP_EXP_POW [0/1], and the #if guard appears later, so it works in either case.

The azure URL of the successful run (I disabled all CI to build it faster): #3194 (comment)
The modelDB run: https://github.com/neuronsimulator/nrn-modeldb-ci/actions/runs/11782044837/job/32816199196

Note that I am using #3163 as the baseline (this azure URL: #3163 (comment)) due to #3093, which causes some other models to fail due to fact that 8.2.6 doesn't use TABLE for hh.mod, while current master does, but this does not have an impact on the models mentioned above.

Copy link

✔️ e93caaa -> Azure artifacts URL

Copy link

codecov bot commented Nov 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 67.07%. Comparing base (4b62e56) to head (3e7434c).
Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3194   +/-   ##
=======================================
  Coverage   67.06%   67.07%           
=======================================
  Files         570      569    -1     
  Lines      111232   111206   -26     
=======================================
- Hits        74600    74592    -8     
+ Misses      36632    36614   -18     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

✔️ ea049c1 -> Azure artifacts URL

Copy link

✔️ bea2ceb -> Azure artifacts URL

@JCGoran JCGoran changed the title [IGNORE] Various attempts at fixing modelDB CI failures Fix for certain modelDB CI failures Nov 11, 2024
@JCGoran JCGoran marked this pull request as ready for review November 11, 2024 16:18
Copy link

sonarcloud bot commented Nov 11, 2024

Copy link

✔️ 3e7434c -> Azure artifacts URL

@nrnhines nrnhines merged commit 1e95ecc into master Nov 11, 2024
36 checks passed
@nrnhines nrnhines deleted the jelic/workaround_hoc_pow branch November 11, 2024 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants