Comments (8)
tail is a good idea, I'll use that for now. BTW, operon is doing better than other options (ellyn with FE_AFP or turingbot) for my problem.
from operon.
Hi, we've noticed this happening with certain combinations of CPUs and compilation flags. Could you share more details about the CPU architecture? It might help to specify flags explicitly during the build generation phase, for example:
cmake -S . -B build -DCMAKE_CXX_FLAGS="-march=x86-64 -mavx2 -mfma" -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON
Could you possibly make a debug build and attach the gdb backtrace? That would be helpful in figuring out this issue. Thanks!
from operon.
I built it like this:
cmake -S . -B build -DCMAKE_TOOLCHAIN_FILE=/usr/local/src/vcpkg-2022.06.16.1/scripts/buildsystems/vcpkg.cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_PYBIND=OFF -DUSE_OPENLIBM=ON -DUSE_SINGLE_PRECISION=ON -DUSE_CERES_NNLS=ON -DCMAKE_INSTALL_PREFIX=/usr -DVCPKG_OVERLAY_PORTS=./ports -DMETIS_INCLUDE_DIR=/usr/include/metis
I did not specify explicitly which malloc version, so it is using whichever is the default.
I was built and run on a Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz .
I will see if I can do a debug build to provide you with the stack trace.
thanks
from operon.
When I run the same binary on a Intel(R) Xeon(R) W-1270 CPU @ 3.40GHz it behaves in the same way (it still produces the double free or corruption error)
from operon.
The -DUSE_JEMALLOC
part is not relevant, it just happened to be what I use on my system. But the explicit flags -DCMAKE_CXX_FLAGS="-march=x86-64 -mavx2 -mfma"
might actually make the error go away (alternatively -march=skylake
should also work for those processors). In any case I will investigate.
from operon.
The Debug build does not abort... and there is no trace to supply. So I will build with your suggested options now.
from operon.
compiling with -DCMAKE_CXX_FLAGS="-march=x86-64 -mavx2 -mfma"
resolved the problem, no more double free error. Thanks for the help!
BTW, is there any way to silence the output but still get the best function at the end? I know I can redirect stdout and/or stderr but I was wondering if there is some option that can do the same?
from operon.
currently, there is no way to do that without touching the source code, but you could use tail
to get just the last line of output. it might be a good idea to add a command-line switch for that.
from operon.
Related Issues (20)
- TypeError: __init__(): incompatible constructor arguments HOT 1
- getting the build process to recognize a lower python version HOT 2
- ValueError: Input contains NaN, infinity or a value too large for dtype('float32'). HOT 3
- Add option to disable evolution / optimization of variable coefficients (fix coefficients to one) HOT 2
- Usage instructions for command line interface do not show all supported symbols for --enable-symbols and --disable-symbols. HOT 1
- Python bindings HOT 6
- Evidential regression? HOT 3
- Building python binding and packaging HOT 2
- building operon HOT 9
- Can't build on linux HOT 1
- buliding problem HOT 3
- error in cmake HOT 4
- Custom cost function HOT 3
- Question about running ctest based on the instructions in HACKING.md HOT 5
- Building operon fails with a compiler error HOT 2
- Where can I find a c++ example of using operon? HOT 5
- About implementing specific custom primitives HOT 7
- Typo in selection operator definition produces segfault on CLI HOT 1
- eve::views::zip throws error HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from operon.