Comments (6)
Sorry for not following up in time. This looks like it would work. Most files
of the build system are auto generated and i can't use patches for those files.
I'll check it before the next service release.
Original comment by [email protected]
on 27 Jan 2014 at 8:33
from muparser.
Ok, thanks.
Original comment by [email protected]
on 27 Jan 2014 at 9:55
from muparser.
I enabled the OpenMP and added the example1 in a test, but the program gets stuck here:
(gdb) bt
#0 0x00007ffff7b75bb6 in mu::ParserBase::ParseCmdCodeBulk(int, int) const () from /home/francisg/muparser/temp/libmuparser.so.2
#1 0x00007ffff7b79762 in mu::ParserBase::Eval(double*, int) [clone ._omp_fn.0] () from /home/francisg/muparser/temp/libmuparser.so.2
#2 0x00007ffff6ca7cbf in GOMP_parallel () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#3 0x00007ffff7b795ab in mu::ParserBase::Eval(double*, int) () from /home/francisg/muparser/temp/libmuparser.so.2
#4 0x00007ffff7baf41b in mu::Test::ParserTester::EqnTestBulk(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double*, bool) ()
from /home/francisg/muparser/temp/libmuparser.so.2
#5 0x00007ffff7b94f77 in mu::Test::ParserTester::TestBulkMode() () from /home/francisg/muparser/temp/libmuparser.so.2
#6 0x00007ffff7baaa86 in mu::Test::ParserTester::Run() () from /home/francisg/muparser/temp/libmuparser.so.2
#7 0x000000000040bac9 in SelfTest() ()
#8 0x000000000040dbfe in main ()
from muparser.
Can confirm that there seems to be an issue but not yet what kind of issue. Will investigate the issue.
from muparser.
The reason is that the bulk test code is using a sample size of 4. Nowadays most cpu's have more cors and due to an error in the chuck size computation for openmp. The parser is assigning a chunk size of 0.
A fix will be commited shortly.
from muparser.
The issue is fixed; OpenMP is now the default setting for compiling muparser
from muparser.
Related Issues (20)
- Lack of Visual Studio project compiling with Ev3 HOT 7
- `sprintf` deprecation warning on macOS HOT 6
- constants not doucmented HOT 6
- Precedence is different in code vs docs HOT 2
- anonymous types declared in an anonymous union are an extension HOT 2
- Strange behavior of the postfix operator on macOS HOT 13
- Feature request: Add rnd() built-in function to generate random numbers HOT 1
- bug in muParserDLL.cpp:mupDefineInfixOprt ? HOT 4
- Update cmake minimum required version HOT 1
- Using period in a variable.name HOT 2
- Feature request: static library on Ubuntu HOT 1
- SetExpr & GetExpr HOT 2
- Embedded usage of muparser size vs speed HOT 8
- example1 fails to builds on Windows with mingw gcc HOT 4
- double comparisons not working correctly HOT 1
- SetDecSep does not work
- muNode a class using muParser, for info.
- Pointer casting mismatch in muParserTest.h HOT 1
- Some build warnings HOT 1
- How to cross-compile muParser HOT 3
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 muparser.