Giter Site home page Giter Site logo

Comments (6)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 19, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 19, 2024
Ok, thanks.

Original comment by [email protected] on 27 Jan 2014 at 9:55

from muparser.

giraldeau avatar giraldeau commented on August 19, 2024

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.

beltoforion avatar beltoforion commented on August 19, 2024

Can confirm that there seems to be an issue but not yet what kind of issue. Will investigate the issue.

from muparser.

beltoforion avatar beltoforion commented on August 19, 2024

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.

beltoforion avatar beltoforion commented on August 19, 2024

The issue is fixed; OpenMP is now the default setting for compiling muparser

from muparser.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.