Open
Description
Description
Scrounging for optimizations wherever I can I noticed we did not set the NDEBUG
macro flag which can have some nice teny benefits. However setting the NDEBUG macro at compile time causes the SIR test to fail. If we don't support NDEBUG
being defined we should catch it and throw an error message. Otherwise we should figure out how that happens. @wds15 have you ever seen test failures for that before?
Example
git clone --recursive https://github.com/stan-dev/performance-tests-cmdstan
cd performance-tests-cmdstan
replace compare-git-hashes.py with the version here that changes the compiler flags on the second iteration.
./compare-git-hashes.sh "stat_comp_benchmarks/benchmarks/sir/ -j32 --runs 1" develop develop develop develop
Failure's are here everything is off by a good bit.
Expected Output
Tests pass
Current Version:
v3.2.0