{"action":"created","issue":{"url":"https://api.github.com/repos/UFParLab/aces4/issues/76","repository_url":"https://api.github.com/repos/UFParLab/aces4","labels_url":"https://api.github.com/repos/UFParLab/aces4/issues/76/labels{/name}","comments_url":"https://api.github.com/repos/UFParLab/aces4/issues/76/comments","events_url":"https://api.github.com/repos/UFParLab/aces4/issues/76/events","html_url":"https://github.com/UFParLab/aces4/issues/76","id":192042178,"number":76,"title":"xlf / ppc64le - stl_vector.h:1166:52: could not bind lvalue of type 'int'","user":{"login":"jlost","id":11338926,"avatar_url":"https://avatars.githubusercontent.com/u/11338926?v=3","gravatar_id":"","url":"https://api.github.com/users/jlost","html_url":"https://github.com/jlost","followers_url":"https://api.github.com/users/jlost/followers","following_url":"https://api.github.com/users/jlost/following{/other_user}","gists_url":"https://api.github.com/users/jlost/gists{/gist_id}","starred_url":"https://api.github.com/users/jlost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlost/subscriptions","organizations_url":"https://api.github.com/users/jlost/orgs","repos_url":"https://api.github.com/users/jlost/repos","events_url":"https://api.github.com/users/jlost/events{/privacy}","received_events_url":"https://api.github.com/users/jlost/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-28T15:54:47Z","updated_at":"2016-12-01T15:03:16Z","closed_at":"2016-12-01T15:03:16Z","body":"Thanks for the previous xlf fix. It seems to make it past the previous error. \r\n\r\nCompiling again on a ppc64le machine, I receive the following:\r\n\r\n```\r\nmpic++ -DHAVE_CONFIG_H -I. -I..  -I../src/sip -I../src/sip/super_instructions -I../src/sip/tensor_algebra -I../src/sip/core -I../src/sip/setup -I../src/sip/worker -I../src/sip/server -I../src/sip/static_data -I../src/sip/dynamic_data -I../src/sip/mpi -I../src/sip/cuda -I../jsoncpp -I../test -I../test/gtest-1.7.0/include -L/home/u0017592/projects/lapack -llapack -lrefblas -qdpc  -g -O2 -MT worker_persistent_array_manager.o -MD -MP -MF .deps/worker_persistent_array_manager.Tpo -c -o worker_persistent_array_manager.o `test -f './src/sip/dynamic_data/worker_persistent_array_manager.cpp' || echo '../'`./src/sip/dynamic_data/worker_persistent_array_manager.cpp\r\nIn file included from .././src/sip/dynamic_data/worker_persistent_array_manager.cpp:10:\r\nIn file included from ../src/sip/worker/interpreter.h:30:\r\nIn file included from ../src/sip/worker/tracer.h:15:\r\n../src/sip/mpi/timer.h:473:24: warning: returning reference to local temporary object [-Wreturn-stack-address]\r\n                return std::vector<double>();\r\n                    ^~~~~~~~~~~~~~~~~~~~~\r\n../src/sip/mpi/timer.h:476:24: warning: returning reference to local temporary object [-Wreturn-stack-address]\r\n                return std::vector<double>();\r\n                    ^~~~~~~~~~~~~~~~~~~~~\r\n3 warnings generated.\r\nmv -f .deps/worker_persistent_array_manager.Tpo .deps/worker_persistent_array_manager.Po\r\nmpic++ -DHAVE_CONFIG_H -I. -I..  -I../src/sip -I../src/sip/super_instructions -I../src/sip/tensor_algebra -I../src/sip/core -I../src/sip/setup -I../src/sip/worker -I../src/sip/server -I../src/sip/static_data -I../src/sip/dynamic_data -I../src/sip/mpi -I../src/sip/cuda -I../jsoncpp -I../test -I../test/gtest-1.7.0/include -L/home/u0017592/projects/lapack -llapack -lrefblas -qdpc  -g -O2 -MT cached_block_map.o -MD -MP -MF .deps/cached_block_map.Tpo -c -o cached_block_map.o `test -f './src/sip/dynamic_data/cached_block_map.cpp' || echo '../'`./src/sip/dynamic_data/cached_block_map.cpp\r\nIn file included from .././src/sip/dynamic_data/cached_block_map.cpp:8:\r\nIn file included from ../src/sip/dynamic_data/cached_block_map.h:12:\r\nIn file included from ../src/sip/dynamic_data/id_block_map.h:12:\r\nIn file included from /usr/lib/gcc/ppc64le-redhat-linux/4.8.3/../../../../include/c++/4.8.3/vector:64:\r\n/usr/lib/gcc/ppc64le-redhat-linux/4.8.3/../../../../include/c++/4.8.3/bits/stl_vector.h:1166:52: error: reference to type\r\n    'const value_type' (aka 'std::map<sip::BlockId, sip::Block *, std::less<sip::BlockId>, std::allocator<std::pair<const sip::BlockId,\r\n    sip::Block *> > > *const') could not bind to an lvalue of type 'int'\r\n        _M_fill_initialize(static_cast<size_type>(__n), __value);\r\n                                                        ^~~~~~~\r\n/usr/lib/gcc/ppc64le-redhat-linux/4.8.3/../../../../include/c++/4.8.3/bits/stl_vector.h:404:4: note: in instantiation of function template\r\n    specialization 'std::vector<std::map<sip::BlockId, sip::Block *, std::less<sip::BlockId>, std::allocator<std::pair<const\r\n    sip::BlockId, sip::Block *> > > *, std::allocator<std::map<sip::BlockId, sip::Block *, std::less<sip::BlockId>,\r\n    std::allocator<std::pair<const sip::BlockId, sip::Block *> > > *> >::_M_initialize_dispatch<int>' requested here\r\n        _M_initialize_dispatch(__first, __last, _Integral());\r\n        ^\r\n../src/sip/dynamic_data/id_block_map.h:45:44: note: in instantiation of function template specialization\r\n    'std::vector<std::map<sip::BlockId, sip::Block *, std::less<sip::BlockId>, std::allocator<std::pair<const sip::BlockId, sip::Block\r\n    *> > > *, std::allocator<std::map<sip::BlockId, sip::Block *, std::less<sip::BlockId>, std::allocator<std::pair<const sip::BlockId,\r\n    sip::Block *> > > *> >::vector<int>' requested here\r\n        explicit IdBlockMap(int array_table_size):block_map_(array_table_size, NULL){}\r\n                                                ^\r\n.././src/sip/dynamic_data/cached_block_map.cpp:16:4: note: in instantiation of member function 'sip::IdBlockMap<sip::Block>::IdBlockMap'\r\n    requested here\r\n        : block_map_(num_arrays), cache_(num_arrays), policy_(cache_),\r\n        ^\r\n/usr/lib/gcc/ppc64le-redhat-linux/4.8.3/../../../../include/c++/4.8.3/bits/stl_vector.h:1212:59: note: passing argument to parameter\r\n    '__value' here\r\n    _M_fill_initialize(size_type __n, const value_type& __value)\r\n                                                        ^\r\n1 warning and 1 error generated.\r\nError while processing .././src/sip/dynamic_data/cached_block_map.cpp.\r\nmake[2]: *** [cached_block_map.o] Error 1\r\nmake[2]: Leaving directory `/home/u0017592/projects/aces4/build'\r\nmake[1]: *** [all-recursive] Error 1\r\nmake[1]: Leaving directory `/home/u0017592/projects/aces4/build'\r\nmake: *** [all] Error 2\r\n```\r\n\r\nAny ideas?"},"comment":{"url":"https://api.github.com/repos/UFParLab/aces4/issues/comments/264195839","html_url":"https://github.com/UFParLab/aces4/issues/76#issuecomment-264195839","issue_url":"https://api.github.com/repos/UFParLab/aces4/issues/76","id":264195839,"user":{"login":"jlost","id":11338926,"avatar_url":"https://avatars.githubusercontent.com/u/11338926?v=3","gravatar_id":"","url":"https://api.github.com/users/jlost","html_url":"https://github.com/jlost","followers_url":"https://api.github.com/users/jlost/followers","following_url":"https://api.github.com/users/jlost/following{/other_user}","gists_url":"https://api.github.com/users/jlost/gists{/gist_id}","starred_url":"https://api.github.com/users/jlost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlost/subscriptions","organizations_url":"https://api.github.com/users/jlost/orgs","repos_url":"https://api.github.com/users/jlost/repos","events_url":"https://api.github.com/users/jlost/events{/privacy}","received_events_url":"https://api.github.com/users/jlost/received_events","type":"User","site_admin":false},"created_at":"2016-12-01T15:03:16Z","updated_at":"2016-12-01T15:03:16Z","body":"@madbosun That was dead on, thanks. xlC supports c++11, but it has to be explicitly enabled.\r\n\r\nThe fix here was to add **`std='c++11'`** to the CPPFLAGS.\r\n\r\nI haven't tested yet due to one more hangup, but I'll close this out since I made it past this particular error."}}
{"actor":{"display_login":"jlost"}}