{"action":"created","issue":{"url":"https://api.github.com/repos/casadi/casadi/issues/1692","repository_url":"https://api.github.com/repos/casadi/casadi","labels_url":"https://api.github.com/repos/casadi/casadi/issues/1692/labels{/name}","comments_url":"https://api.github.com/repos/casadi/casadi/issues/1692/comments","events_url":"https://api.github.com/repos/casadi/casadi/issues/1692/events","html_url":"https://github.com/casadi/casadi/issues/1692","id":133756361,"number":1692,"title":"RC1 build fails WITH_OPENMP","user":{"login":"mccullerlp","id":413939,"avatar_url":"https://avatars.githubusercontent.com/u/413939?v=3","gravatar_id":"","url":"https://api.github.com/users/mccullerlp","html_url":"https://github.com/mccullerlp","followers_url":"https://api.github.com/users/mccullerlp/followers","following_url":"https://api.github.com/users/mccullerlp/following{/other_user}","gists_url":"https://api.github.com/users/mccullerlp/gists{/gist_id}","starred_url":"https://api.github.com/users/mccullerlp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mccullerlp/subscriptions","organizations_url":"https://api.github.com/users/mccullerlp/orgs","repos_url":"https://api.github.com/users/mccullerlp/repos","events_url":"https://api.github.com/users/mccullerlp/events{/privacy}","received_events_url":"https://api.github.com/users/mccullerlp/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/casadi/casadi/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"jaeandersson","id":2487645,"avatar_url":"https://avatars.githubusercontent.com/u/2487645?v=3","gravatar_id":"","url":"https://api.github.com/users/jaeandersson","html_url":"https://github.com/jaeandersson","followers_url":"https://api.github.com/users/jaeandersson/followers","following_url":"https://api.github.com/users/jaeandersson/following{/other_user}","gists_url":"https://api.github.com/users/jaeandersson/gists{/gist_id}","starred_url":"https://api.github.com/users/jaeandersson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaeandersson/subscriptions","organizations_url":"https://api.github.com/users/jaeandersson/orgs","repos_url":"https://api.github.com/users/jaeandersson/repos","events_url":"https://api.github.com/users/jaeandersson/events{/privacy}","received_events_url":"https://api.github.com/users/jaeandersson/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/casadi/casadi/milestones/13","html_url":"https://github.com/casadi/casadi/milestones/Version%203.0","labels_url":"https://api.github.com/repos/casadi/casadi/milestones/13/labels","id":1072673,"number":13,"title":"Version 3.0","description":"Release 3.0 consolidates and extends the syntax changes from 2.4 and previous releases. With this release, CasADi should enter a new stage of maturity and hopefully stability.","creator":{"login":"jaeandersson","id":2487645,"avatar_url":"https://avatars.githubusercontent.com/u/2487645?v=3","gravatar_id":"","url":"https://api.github.com/users/jaeandersson","html_url":"https://github.com/jaeandersson","followers_url":"https://api.github.com/users/jaeandersson/followers","following_url":"https://api.github.com/users/jaeandersson/following{/other_user}","gists_url":"https://api.github.com/users/jaeandersson/gists{/gist_id}","starred_url":"https://api.github.com/users/jaeandersson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaeandersson/subscriptions","organizations_url":"https://api.github.com/users/jaeandersson/orgs","repos_url":"https://api.github.com/users/jaeandersson/repos","events_url":"https://api.github.com/users/jaeandersson/events{/privacy}","received_events_url":"https://api.github.com/users/jaeandersson/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":78,"state":"open","created_at":"2015-04-17T19:05:14Z","updated_at":"2016-02-24T23:14:11Z","due_on":"2016-01-31T23:00:00Z","closed_at":null},"comments":6,"created_at":"2016-02-15T16:26:44Z","updated_at":"2016-02-24T23:14:11Z","closed_at":"2016-02-24T23:14:11Z","body":"Hi, I am able to successfully build casadi with the options\r\n\r\n  cmake -DCMAKE_BUILD_TYPE=\"${_buildtype}\" \\\r\n        -DCMAKE_INSTALL_PREFIX=\"/usr\" \\\r\n        -DWITH_PYTHON=ON \\\r\n        -DPYTHON_EXECUTABLE=/usr/bin/python2 \\\r\n        -DPYTHON_INCLUDE_DIR=/usr/include/python2.7 \\\r\n        -DPYTHON_LIBRARY=/usr/lib/libpython2.7.so \\\r\n        -DWITH_CLANG=ON \\\r\n        -DWITH_EIGEN3=ON \\\r\n        \"${srcdir}/${_pkgname}-${pkgver}${pkgkey}\"\r\n\r\nthis is on an up-to-date ARCH linux.\r\n\r\nHowever if I add -DWITH_OPENMP the build fails on casadi/core/function/map.cpp with the errors.\r\n\r\n> /home/mcculler/today/casadi/src/casadi-3.0.0-rc1/casadi/core/function/map.cpp: In member function ‘virtual void casadi::MapReduce::eval(casadi::Memory&, const double**, double**, int*, double*) const’:\r\n> /home/mcculler/today/casadi/src/casadi-3.0.0-rc1/casadi/core/function/map.cpp:365:41: error: no matching function for call to ‘casadi::FunctionInternal::eval(const double**&, double**&, int*&, double*&)’\r\n>          f_->eval(arg_i, res_i, iw_i, w_i);\r\n>                                          ^\r\n> In file included from /home/mcculler/today/casadi/src/casadi-3.0.0-rc1/casadi/core/function/map.hpp:29:0,\r\n>                  from /home/mcculler/today/casadi/src/casadi-3.0.0-rc1/casadi/core/function/map.cpp:26:\r\n> /home/mcculler/today/casadi/src/casadi-3.0.0-rc1/casadi/core/function/function_internal.hpp:141:18: note: candidate: virtual void casadi::FunctionInternal::eval(casadi::Memory&, const double**, double**, int*, double*) const\r\n>      virtual void eval(Memory& mem, const double** arg, double** res, int* iw, double* w) const;\r\n>                   ^\r\n> /home/mcculler/today/casadi/src/casadi-3.0.0-rc1/casadi/core/function/function_internal.hpp:141:18: note:   candidate expects 5 arguments, 4 provided\r\n> /home/mcculler/today/casadi/src/casadi-3.0.0-rc1/casadi/core/function/function_internal.hpp:142:18: note: candidate: virtual void casadi::FunctionInternal::eval(const double**, double**, int*, double*, int) const\r\n>      virtual void eval(const double** arg, double** res, int* iw, double* w, int mem) const;\r\n>                   ^\r\n> /home/mcculler/today/casadi/src/casadi-3.0.0-rc1/casadi/core/function/function_internal.hpp:142:18: note:   candidate expects 5 arguments, 4 provided\r\n> /home/mcculler/today/casadi/src/casadi-3.0.0-rc1/casadi/core/function/map.cpp: In member function ‘virtual void casadi::MapOmp::eval(casadi::Memory&, const double**, double**, int*, double*) const’:\r\n> /home/mcculler/today/casadi/src/casadi-3.0.0-rc1/casadi/core/function/map.cpp:517:39: error: no matching function for call to ‘casadi::FunctionInternal::eval(const double**&, double**&, int*&, double*&)’\r\n>        f_->eval(arg_i, res_i, iw_i, w_i);\r\n>                                        ^\r\n> In file included from /home/mcculler/today/casadi/src/casadi-3.0.0-rc1/casadi/core/function/map.hpp:29:0,\r\n>                  from /home/mcculler/today/casadi/src/casadi-3.0.0-rc1/casadi/core/function/map.cpp:26:\r\n> /home/mcculler/today/casadi/src/casadi-3.0.0-rc1/casadi/core/function/function_internal.hpp:141:18: note: candidate: virtual void casadi::FunctionInternal::eval(casadi::Memory&, const double**, double**, int*, double*) const\r\n>      virtual void eval(Memory& mem, const double** arg, double** res, int* iw, double* w) const;\r\n>                   ^\r\n> /home/mcculler/today/casadi/src/casadi-3.0.0-rc1/casadi/core/function/function_internal.hpp:141:18: note:   candidate expects 5 arguments, 4 provided\r\n> /home/mcculler/today/casadi/src/casadi-3.0.0-rc1/casadi/core/function/function_internal.hpp:142:18: note: candidate: virtual void casadi::FunctionInternal::eval(const double**, double**, int*, double*, int) const\r\n>      virtual void eval(const double** arg, double** res, int* iw, double* w, int mem) const;\r\n>                   ^\r\n> /home/mcculler/today/casadi/src/casadi-3.0.0-rc1/casadi/core/function/function_internal.hpp:142:18: note:   candidate expects 5 arguments, 4 provided\r\n> /home/mcculler/today/casadi/src/casadi-3.0.0-rc1/casadi/core/function/map.cpp: In member function ‘virtual void casadi::MapOmp::generateBody(casadi::CodeGenerator&) const’:\r\n> /home/mcculler/today/casadi/src/casadi-3.0.0-rc1/casadi/core/function/map.cpp:543:27: error: ‘class casadi::CodeGenerator’ has no member named ‘call’\r\n>      g.body << \"    \" << g.call(f_, \"arg_i\", \"res_i\", \"iw_i\", \"w_i\") << \";\" << endl;\r\n>                            ^\r\n> make[2]: *** [casadi/core/CMakeFiles/casadi.dir/function/map.cpp.o] Error 1\r\n> make[1]: *** [casadi/core/CMakeFiles/casadi.dir/all] Error 2\r\n> make: *** [all] Error 2\r\n> "},"comment":{"url":"https://api.github.com/repos/casadi/casadi/issues/comments/188507669","html_url":"https://github.com/casadi/casadi/issues/1692#issuecomment-188507669","issue_url":"https://api.github.com/repos/casadi/casadi/issues/1692","id":188507669,"user":{"login":"jaeandersson","id":2487645,"avatar_url":"https://avatars.githubusercontent.com/u/2487645?v=3","gravatar_id":"","url":"https://api.github.com/users/jaeandersson","html_url":"https://github.com/jaeandersson","followers_url":"https://api.github.com/users/jaeandersson/followers","following_url":"https://api.github.com/users/jaeandersson/following{/other_user}","gists_url":"https://api.github.com/users/jaeandersson/gists{/gist_id}","starred_url":"https://api.github.com/users/jaeandersson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaeandersson/subscriptions","organizations_url":"https://api.github.com/users/jaeandersson/orgs","repos_url":"https://api.github.com/users/jaeandersson/repos","events_url":"https://api.github.com/users/jaeandersson/events{/privacy}","received_events_url":"https://api.github.com/users/jaeandersson/received_events","type":"User","site_admin":false},"created_at":"2016-02-24T23:14:11Z","updated_at":"2016-02-24T23:14:11Z","body":"Fixed the compilation errors."}}