{"action":"created","issue":{"url":"https://api.github.com/repos/HBPVIS/zeq/issues/86","labels_url":"https://api.github.com/repos/HBPVIS/zeq/issues/86/labels{/name}","comments_url":"https://api.github.com/repos/HBPVIS/zeq/issues/86/comments","events_url":"https://api.github.com/repos/HBPVIS/zeq/issues/86/events","html_url":"https://github.com/HBPVIS/zeq/issues/86","id":100352678,"number":86,"title":"Building Zeq on Intel cluster","user":{"login":"Kyhel","id":4179331,"avatar_url":"https://avatars.githubusercontent.com/u/4179331?v=3","gravatar_id":"","url":"https://api.github.com/users/Kyhel","html_url":"https://github.com/Kyhel","followers_url":"https://api.github.com/users/Kyhel/followers","following_url":"https://api.github.com/users/Kyhel/following{/other_user}","gists_url":"https://api.github.com/users/Kyhel/gists{/gist_id}","starred_url":"https://api.github.com/users/Kyhel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kyhel/subscriptions","organizations_url":"https://api.github.com/users/Kyhel/orgs","repos_url":"https://api.github.com/users/Kyhel/repos","events_url":"https://api.github.com/users/Kyhel/events{/privacy}","received_events_url":"https://api.github.com/users/Kyhel/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/HBPVIS/zeq/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-08-11T16:28:46Z","updated_at":"2015-08-12T14:38:24Z","closed_at":null,"body":"Hello, I'm trying to build Zeq on an Intel cluster, but I'm getting the following error messages when building using make :\r\n```\r\n[  1%] Building CXX object Servus/servus/CMakeFiles/Servus.dir/version.cpp.o\r\n[  3%] Building CXX object Servus/servus/CMakeFiles/Servus.dir/md5/md5.cc.o\r\n[  4%] Building CXX object Servus/servus/CMakeFiles/Servus.dir/servus.cpp.o\r\n~/externals/zeq/Servus/servus/servus.cpp(48): warning #2304: non-explicit constructor with single argument may cause implicit type conversion\r\n      Servus( const std::string& name ) : _name( name ) {}\r\n      ^\r\n\r\nIn file included from ~/externals/zeq/Servus/servus/servus.cpp(165):\r\n~/externals/zeq/Servus/servus/none/servus.h(26): warning #2304: non-explicit constructor with single argument may cause implicit type conversion\r\n      Servus( const std::string& name ) : detail::Servus( name ) {}\r\n      ^\r\n\r\n[  4%] Building CXX object Servus/servus/CMakeFiles/Servus.dir/uint128_t.cpp.o\r\n~/externals/zeq/Servus/servus/uint128_t.cpp(86): error: namespace \"std\" has no member \"mt19937_64\"\r\n          static std::mt19937_64 engine( device( ));\r\n                      ^\r\n\r\n~/externals/zeq/Servus/servus/uint128_t.cpp(87): error: qualified name is not allowed\r\n          static std::uniform_int_distribution< uint64_t > generator(\r\n                 ^\r\n\r\n~/externals/zeq/Servus/servus/uint128_t.cpp(87): error: expected a \";\"\r\n          static std::uniform_int_distribution< uint64_t > generator(\r\n                                              ^\r\n~/externals/zeq/Servus/servus/uint128_t.cpp(98): error: identifier \"generator\" is undefined\r\n          value.high() = generator( engine );\r\n                         ^\r\n\r\ncompilation aborted for ~/externals/zeq/Servus/servus/uint128_t.cpp (code 2)\r\nmake[2]: *** [Servus/servus/CMakeFiles/Servus.dir/uint128_t.cpp.o] Error 2\r\nmake[1]: *** [Servus/servus/CMakeFiles/Servus.dir/all] Error 2\r\nmake: *** [all] Error 2\r\n```\r\n\r\nI checked on google and found out it may be a compatibility issue with the compilers.\r\nThe CXX environnement variable (which I assume is the compiler used here) is icpc version 14.0.3 (gcc version 4.4.7 compatibility).\r\nAnyone has an idea how I could fix this problem ?\r\n\r\nThank you for your time"},"comment":{"url":"https://api.github.com/repos/HBPVIS/zeq/issues/comments/130324541","html_url":"https://github.com/HBPVIS/zeq/issues/86#issuecomment-130324541","issue_url":"https://api.github.com/repos/HBPVIS/zeq/issues/86","id":130324541,"user":{"login":"Kyhel","id":4179331,"avatar_url":"https://avatars.githubusercontent.com/u/4179331?v=3","gravatar_id":"","url":"https://api.github.com/users/Kyhel","html_url":"https://github.com/Kyhel","followers_url":"https://api.github.com/users/Kyhel/followers","following_url":"https://api.github.com/users/Kyhel/following{/other_user}","gists_url":"https://api.github.com/users/Kyhel/gists{/gist_id}","starred_url":"https://api.github.com/users/Kyhel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kyhel/subscriptions","organizations_url":"https://api.github.com/users/Kyhel/orgs","repos_url":"https://api.github.com/users/Kyhel/repos","events_url":"https://api.github.com/users/Kyhel/events{/privacy}","received_events_url":"https://api.github.com/users/Kyhel/received_events","type":"User","site_admin":false},"created_at":"2015-08-12T14:38:24Z","updated_at":"2015-08-12T14:38:24Z","body":"Okay so I've had some help on getting gcc 4.8 working on the cluster, so I got a little further in the compilation process.\r\n\r\nHere is now the output of the make command : \r\n```\r\n`Scanning dependencies of target Servus\r\n[  1%] Building CXX object Servus/servus/CMakeFiles/Servus.dir/version.cpp.o\r\n[  3%] Building CXX object Servus/servus/CMakeFiles/Servus.dir/md5/md5.cc.o\r\n[  4%] Building CXX object Servus/servus/CMakeFiles/Servus.dir/servus.cpp.o\r\n[  6%] Building CXX object Servus/servus/CMakeFiles/Servus.dir/uint128_t.cpp.o\r\n[  6%] Building CXX object Servus/servus/CMakeFiles/Servus.dir/uri.cpp.o\r\nLinking CXX shared library ../../lib/libServus.so\r\n[  6%] Built target Servus\r\nScanning dependencies of target servus\r\n[  7%] Building CXX object Servus/tests/CMakeFiles/servus.dir/servus.cpp.o\r\nLinking CXX executable servus\r\n[  7%] Built target servus\r\nScanning dependencies of target uint128_t\r\n[  9%] Building CXX object Servus/tests/CMakeFiles/uint128_t.dir/uint128_t.cpp.o\r\nIn file included from /rwthfs/rz/SW/gcc/SCIENTIFIC-6.0/4.8.2/include/c++/4.8.2/functional:55:0,\r\n                 from /rwthfs/rz/SW/gcc/SCIENTIFIC-6.0/4.8.2/include/c++/4.8.2/memory:79,\r\n                 from /usr/include/boost/config/no_tr1/memory.hpp:21,\r\n                 from /usr/include/boost/smart_ptr/shared_ptr.hpp:27,\r\n                 from /usr/include/boost/shared_ptr.hpp:17,\r\n                 from /usr/include/boost/test/predicate_result.hpp:24,\r\n                 from /usr/include/boost/test/test_tools.hpp:19,\r\n                 from /usr/include/boost/test/unit_test.hpp:19,\r\n                 from /home/cc360217/externals/zeq/Servus/tests/uint128_t.cpp:24:\r\n/rwthfs/rz/SW/gcc/SCIENTIFIC-6.0/4.8.2/include/c++/4.8.2/tuple: In instantiation of 'constexpr std::_Head_base<_Idx, _Head, false>::_Head_base(const _Head&) [with long unsigned int _Idx = 0ul; _Head = Thread]':\r\n/rwthfs/rz/SW/gcc/SCIENTIFIC-6.0/4.8.2/include/c++/4.8.2/tuple:255:44:   required from 'constexpr std::_Tuple_impl<_Idx, _Head, _Tail ...>::_Tuple_impl(const _Head&, const _Tail& ...) [with long unsigned int _Idx = 0ul; _Head = Thread; _Tail = {}]'\r\n/rwthfs/rz/SW/gcc/SCIENTIFIC-6.0/4.8.2/include/c++/4.8.2/tuple:398:33:   required from 'constexpr std::tuple< <template-parameter-1-1> >::tuple(const _Elements& ...) [with _Elements = {Thread}]'\r\n/rwthfs/rz/SW/gcc/SCIENTIFIC-6.0/4.8.2/include/c++/4.8.2/functional:1336:70:   required from 'std::_Bind<_Functor(_Bound_args ...)>::_Bind(_Functor&&, _Args&& ...) [with _Args = {Thread&}; _Functor = std::_Mem_fn<void (Thread::*)()>; _Bound_args = {Thread}]'\r\n/rwthfs/rz/SW/gcc/SCIENTIFIC-6.0/4.8.2/include/c++/4.8.2/functional:1661:42:   required from 'typename std::_Bind_helper<std::__or_<std::is_integral<typename std::decay<_Tp>::type>, std::is_enum<typename std::decay<_Tp>::type> >::value, _Func, _BoundArgs ...>::type std::bind(_Func&&, _BoundArgs&& ...) [with _Func = void (Thread::*)(); _BoundArgs = {Thread&}; typename std::_Bind_helper<std::__or_<std::is_integral<typename std::decay<_Tp>::type>, std::is_enum<typename std::decay<_Tp>::type> >::value, _Func, _BoundArgs ...>::type = std::_Bind<std::_Mem_fn<void (Thread::*)()>(Thread)>]'\r\n/home/cc360217/externals/zeq/Servus/tests/uint128_t.cpp:159:71:   required from here\r\n/rwthfs/rz/SW/gcc/SCIENTIFIC-6.0/4.8.2/include/c++/4.8.2/tuple:134:25: error: use of deleted function 'Thread::Thread(const Thread&)'\r\n       : _M_head_impl(__h) { }\r\n                         ^\r\n/home/cc360217/externals/zeq/Servus/tests/uint128_t.cpp:53:7: note: 'Thread::Thread(const Thread&)' is implicitly deleted because the default definition would be ill-formed:\r\n class Thread\r\n       ^\r\n/home/cc360217/externals/zeq/Servus/tests/uint128_t.cpp:53:7: error: use of deleted function 'boost::unordered_map<servus::uint128_t, bool>::unordered_map(const boost::unordered_map<servus::uint128_t, bool>&)'\r\nIn file included from /usr/include/boost/unordered_map.hpp:16:0,\r\n                 from /home/cc360217/externals/zeq/Servus/tests/uint128_t.cpp:27:\r\n/usr/include/boost/unordered/unordered_map.hpp:42:11: note: 'boost::unordered_map<servus::uint128_t, bool>::unordered_map(const boost::unordered_map<servus::uint128_t, bool>&)' is implicitly declared as deleted because 'boost::unordered_map<servus::uint128_t, bool>' declares a move constructor or move assignment operator\r\n     class unordered_map\r\n           ^\r\nmake[2]: *** [Servus/tests/CMakeFiles/uint128_t.dir/uint128_t.cpp.o] Error 1\r\nmake[1]: *** [Servus/tests/CMakeFiles/uint128_t.dir/all] Error 2\r\nmake: *** [all] Error 2\r\n```\r\nDo you think there could be something wrong with the boost library I'm using ?"}}