{"action":"created","issue":{"url":"https://api.github.com/repos/Cantera/cantera/issues/330","repository_url":"https://api.github.com/repos/Cantera/cantera","labels_url":"https://api.github.com/repos/Cantera/cantera/issues/330/labels{/name}","comments_url":"https://api.github.com/repos/Cantera/cantera/issues/330/comments","events_url":"https://api.github.com/repos/Cantera/cantera/issues/330/events","html_url":"https://github.com/Cantera/cantera/issues/330","id":146213773,"number":330,"title":"unable to install cantera development version \"2.3.0a2\" on rhel 6.5","user":{"login":"pharthiphan","id":18302174,"avatar_url":"https://avatars.githubusercontent.com/u/18302174?v=3","gravatar_id":"","url":"https://api.github.com/users/pharthiphan","html_url":"https://github.com/pharthiphan","followers_url":"https://api.github.com/users/pharthiphan/followers","following_url":"https://api.github.com/users/pharthiphan/following{/other_user}","gists_url":"https://api.github.com/users/pharthiphan/gists{/gist_id}","starred_url":"https://api.github.com/users/pharthiphan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pharthiphan/subscriptions","organizations_url":"https://api.github.com/users/pharthiphan/orgs","repos_url":"https://api.github.com/users/pharthiphan/repos","events_url":"https://api.github.com/users/pharthiphan/events{/privacy}","received_events_url":"https://api.github.com/users/pharthiphan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-06T07:22:13Z","updated_at":"2016-04-06T15:06:08Z","closed_at":null,"body":"unable to install cantera development version \"2.3.0a2\" on rhel 6.5. while compiling src/thermo/Nasa9PolyMultiTempRegion.cpp throws the below shown error.\r\n\r\n\r\n\r\n/usr/include/c++/4.4.7/bits/vector.tcc(380): error: function \"std::unique_ptr<_Tp, _Tp_Deleter>::unique_ptr(const std::unique_ptr<_Tp, _Tp_Deleter> &) [with _Tp=Cantera::Nasa9Poly1, _Tp_Deleter=std::default_delete<Cantera::Nasa9Poly1>]\" (declared at line 214 of \"/usr/include/c++/4.4.7/bits/unique_ptr.h\") cannot be referenced -- it is a deleted function\r\n              value_type __x_copy = __x;\r\n                                    ^\r\n          detected during:\r\n            instantiation of \"void std::vector<_Tp, _Alloc>::_M_fill_insert(std::vector<_Tp, _Alloc>::iterator, std::vector<_Tp, _Alloc>::size_type={size_t={unsigned long}}, const std::vector<_Tp, _Alloc>::value_type &) [with _Tp=std::unique_ptr<Cantera::Nasa9Poly1, std::default_delete<Cantera::Nasa9Poly1>>, _Alloc=std::allocator<std::unique_ptr<Cantera::Nasa9Poly1, std::default_delete<Cantera::Nasa9Poly1>>>]\" at line 851 of \"/usr/include/c++/4.4.7/bits/stl_vector.h\"\r\n            instantiation of \"void std::vector<_Tp, _Alloc>::insert(std::vector<_Tp, _Alloc>::iterator, std::vector<_Tp, _Alloc>::size_type={size_t={unsigned long}}, const std::vector<_Tp, _Alloc>::value_type &) [with _Tp=std::unique_ptr<Cantera::Nasa9Poly1, std::default_delete<Cantera::Nasa9Poly1>>, _Alloc=std::allocator<std::unique_ptr<Cantera::Nasa9Poly1, std::default_delete<Cantera::Nasa9Poly1>>>]\" at line 557 of \"/usr/include/c++/4.4.7/bits/stl_vector.h\"\r\n            instantiation of \"void std::vector<_Tp, _Alloc>::resize(std::vector<_Tp, _Alloc>::size_type={size_t={unsigned long}}, std::vector<_Tp, _Alloc>::value_type) [with _Tp=std::unique_ptr<Cantera::Nasa9Poly1, std::default_delete<Cantera::Nasa9Poly1>>, _Alloc=std::allocator<std::unique_ptr<Cantera::Nasa9Poly1, std::default_delete<Cantera::Nasa9Poly1>>>]\" at line 62 of \"src/thermo/Nasa9PolyMultiTempRegion.cpp\"\r\n\r\nicpc -o build/src/thermo/PDSS.os -c -std=c++0x -pthread -O3 -Wall -xHost -fp-model precise -Wcheck -fPIC -DNDEBUG -Iinclude -Iinclude/cantera/ext src/thermo/PDSS.cpp\r\n/usr/include/c++/4.4.7/bits/stl_algobase.h(691): error: function \"std::unique_ptr<_Tp, _Tp_Deleter>::operator=(const std::unique_ptr<_Tp, _Tp_Deleter> &) [with _Tp=Cantera::Nasa9Poly1, _Tp_Deleter=std::default_delete<Cantera::Nasa9Poly1>]\" (declared at line 219 of \"/usr/include/c++/4.4.7/bits/unique_ptr.h\") cannot be referenced -- it is a deleted function\r\n        *__first = __value;\r\n                 ^\r\n          detected during:\r\n            instantiation of \"__gnu_cxx::__enable_if<<expression>, void>::__type std::__fill_a(_ForwardIterator, _ForwardIterator, const _Tp &) [with _ForwardIterator=std::unique_ptr<Cantera::Nasa9Poly1, std::default_delete<Cantera::Nasa9Poly1>> *, _Tp=std::unique_ptr<Cantera::Nasa9Poly1, std::default_delete<Cantera::Nasa9Poly1>>]\" at line 738\r\n            instantiation of \"void std::fill(_ForwardIterator, _ForwardIterator, const _Tp &) [with _ForwardIterator=std::unique_ptr<Cantera::Nasa9Poly1, std::default_delete<Cantera::Nasa9Poly1>> *, _Tp=std::unique_ptr<Cantera::Nasa9Poly1, std::default_delete<Cantera::Nasa9Poly1>>]\" at line 393 of \"/usr/include/c++/4.4.7/bits/vector.tcc\"\r\n            instantiation of \"void std::vector<_Tp, _Alloc>::_M_fill_insert(std::vector<_Tp, _Alloc>::iterator, std::vector<_Tp, _Alloc>::size_type={size_t={unsigned long}}, const std::vector<_Tp, _Alloc>::value_type &) [with _Tp=std::unique_ptr<Cantera::Nasa9Poly1, std::default_delete<Cantera::Nasa9Poly1>>, _Alloc=std::allocator<std::unique_ptr<Cantera::Nasa9Poly1, std::default_delete<Cantera::Nasa9Poly1>>>]\" at line 851 of \"/usr/include/c++/4.4.7/bits/stl_vector.h\"\r\n            instantiation of \"void std::vector<_Tp, _Alloc>::insert(std::vector<_Tp, _Alloc>::iterator, std::vector<_Tp, _Alloc>::size_type={size_t={unsigned long}}, const std::vector<_Tp, _Alloc>::value_type &) [with _Tp=std::unique_ptr<Cantera::Nasa9Poly1, std::default_delete<Cantera::Nasa9Poly1>>, _Alloc=std::allocator<std::unique_ptr<Cantera::Nasa9Poly1, std::default_delete<Cantera::Nasa9Poly1>>>]\" at line 557 of \"/usr/include/c++/4.4.7/bits/stl_vector.h\"\r\n            instantiation of \"void std::vector<_Tp, _Alloc>::resize(std::vector<_Tp, _Alloc>::size_type={size_t={unsigned long}}, std::vector<_Tp, _Alloc>::value_type) [with _Tp=std::unique_ptr<Cantera::Nasa9Poly1, std::default_delete<Cantera::Nasa9Poly1>>, _Alloc=std::allocator<std::unique_ptr<Cantera::Nasa9Poly1, std::default_delete<Cantera::Nasa9Poly1>>>]\" at line 62 of \"src/thermo/Nasa9PolyMultiTempRegion.cpp\"\r\n\r\n/usr/include/c++/4.4.7/bits/stl_construct.h(73): error: function \"std::unique_ptr<_Tp, _Tp_Deleter>::unique_ptr(const std::unique_ptr<_Tp, _Tp_Deleter> &) [with _Tp=Cantera::Nasa9Poly1, _Tp_Deleter=std::default_delete<Cantera::Nasa9Poly1>]\" (declared at line 214 of \"/usr/include/c++/4.4.7/bits/unique_ptr.h\") cannot be referenced -- it is a deleted function\r\n        ::new(static_cast<void*>(__p)) _T1(std::forward<_T2>(__value));\r\n                                          ^\r\n          detected during:\r\n            instantiation of \"void std::_Construct(_T1 *, _T2 &&) [with _T1=std::unique_ptr<Cantera::Nasa9Poly1, std::default_delete<Cantera::Nasa9Poly1>>, _T2=const std::unique_ptr<Cantera::Nasa9Poly1, std::default_delete<Cantera::Nasa9Poly1>> &]\" at line 186 of \"/usr/include/c++/4.4.7/bits/stl_uninitialized.h\"\r\n            instantiation of \"void std::__uninitialized_fill_n<<unnamed>>::uninitialized_fill_n(_ForwardIterator, _Size, const _Tp &) [with <unnamed>=false, _ForwardIterator=std::unique_ptr<Cantera::Nasa9Poly1, std::default_delete<Cantera::Nasa9Poly1>> *, _Size=unsigned long, _Tp=std::unique_ptr<Cantera::Nasa9Poly1, std::default_delete<Cantera::Nasa9Poly1>>]\" at line 223 of \"/usr/include/c++/4.4.7/bits/stl_uninitialized.h\"\r\n            instantiation of \"void std::uninitialized_fill_n(_ForwardIterator, _Size, const _Tp &) [with _ForwardIterator=std::unique_ptr<Cantera::Nasa9Poly1, std::default_delete<Cantera::Nasa9Poly1>> *, _Size=unsigned long, _Tp=std::unique_ptr<Cantera::Nasa9Poly1, std::default_delete<Cantera::Nasa9Poly1>>]\" at line 317 of \"/usr/include/c++/4.4.7/bits/stl_uninitialized.h\"\r\n            instantiation of \"void std::__uninitialized_fill_n_a(_ForwardIterator, _Size, const _Tp &, std::allocator<_Tp2> &) [with _ForwardIterator=std::unique_ptr<Cantera::Nasa9Poly1, std::default_delete<Cantera::Nasa9Poly1>> *, _Size=unsigned long, _Tp=std::unique_ptr<Cantera::Nasa9Poly1, std::default_delete<Cantera::Nasa9Poly1>>, _Tp2=std::unique_ptr<Cantera::Nasa9Poly1, std::default_delete<Cantera::Nasa9Poly1>>]\" at line 400 of \"/usr/include/c++/4.4.7/bits/vector.tcc\"\r\n            instantiation of \"void std::vector<_Tp, _Alloc>::_M_fill_insert(std::vector<_Tp, _Alloc>::iterator, std::vector<_Tp, _Alloc>::size_type={size_t={unsigned long}}, const std::vector<_Tp, _Alloc>::value_type &) [with _Tp=std::unique_ptr<Cantera::Nasa9Poly1, std::default_delete<Cantera::Nasa9Poly1>>, _Alloc=std::allocator<std::unique_ptr<Cantera::Nasa9Poly1, std::default_delete<Cantera::Nasa9Poly1>>>]\" at line 851 of \"/usr/include/c++/4.4.7/bits/stl_vector.h\"\r\n            instantiation of \"void std::vector<_Tp, _Alloc>::insert(std::vector<_Tp, _Alloc>::iterator, std::vector<_Tp, _Alloc>::size_type={size_t={unsigned long}}, const std::vector<_Tp, _Alloc>::value_type &) [with _Tp=std::unique_ptr<Cantera::Nasa9Poly1, std::default_delete<Cantera::Nasa9Poly1>>, _Alloc=std::allocator<std::unique_ptr<Cantera::Nasa9Poly1, std::default_delete<Cantera::Nasa9Poly1>>>]\" at line 557 of \"/usr/include/c++/4.4.7/bits/stl_vector.h\"\r\n            instantiation of \"void std::vector<_Tp, _Alloc>::resize(std::vector<_Tp, _Alloc>::size_type={size_t={unsigned long}}, std::vector<_Tp, _Alloc>::value_type) [with _Tp=std::unique_ptr<Cantera::Nasa9Poly1, std::default_delete<Cantera::Nasa9Poly1>>, _Alloc=std::allocator<std::unique_ptr<Cantera::Nasa9Poly1, std::default_delete<Cantera::Nasa9Poly1>>>]\" at line 62 of \"src/thermo/Nasa9PolyMultiTempRegion.cpp\"\r\n\r\ncompilation aborted for src/thermo/Nasa9PolyMultiTempRegion.cpp (code 2)\r\nscons: *** [build/src/thermo/Nasa9PolyMultiTempRegion.os] Error 2\r\nscons: building terminated because of errors.\r\n\r\n\r\nthis is how my cantera.conf looks\r\n\r\n$ cat cantera.conf\r\nCXX = 'icpc'\r\nCC = 'icc'\r\nprefix = '/root/cantera-install'\r\npython_package = 'new'\r\npython_prefix = 'USER'\r\npython3_cmd = '/root/anaconda3/bin/python'\r\npython3_prefix = 'USER'\r\nf90_interface = 'y'\r\nFORTRAN = 'ifort'\r\nFORTRANFLAGS = '-O3 -xHost'\r\nsystem_sundials = 'n'\r\nblas_lapack_libs = 'mkl_rt,mkl_intel_lp64,mkl_core,mkl_intel_thread,iomp5'\r\nblas_lapack_dir = '/gpfs1/opt/intel/icsxe/composer_xe_2013_sp1/mkl/lib/intel64'\r\nenv_vars = 'all'\r\ncc_flags = ''\r\noptimize_flags = '-O3 -Wall -xHost -fp-model precise'\r\ndebug = False\r\n"},"comment":{"url":"https://api.github.com/repos/Cantera/cantera/issues/comments/206418323","html_url":"https://github.com/Cantera/cantera/issues/330#issuecomment-206418323","issue_url":"https://api.github.com/repos/Cantera/cantera/issues/330","id":206418323,"user":{"login":"speth","id":644977,"avatar_url":"https://avatars.githubusercontent.com/u/644977?v=3","gravatar_id":"","url":"https://api.github.com/users/speth","html_url":"https://github.com/speth","followers_url":"https://api.github.com/users/speth/followers","following_url":"https://api.github.com/users/speth/following{/other_user}","gists_url":"https://api.github.com/users/speth/gists{/gist_id}","starred_url":"https://api.github.com/users/speth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/speth/subscriptions","organizations_url":"https://api.github.com/users/speth/orgs","repos_url":"https://api.github.com/users/speth/repos","events_url":"https://api.github.com/users/speth/events{/privacy}","received_events_url":"https://api.github.com/users/speth/received_events","type":"User","site_admin":false},"created_at":"2016-04-06T15:06:08Z","updated_at":"2016-04-06T15:06:08Z","body":"Cantera 2.3.x requires GCC 4.6 or newer, while you appear to be using GCC 4.4. Note that even though you are using ICPC, you still need GCC because the Intel compiler uses the C++ standard library from there.\r\n\r\nI don't know what version of the Intel compiler you are using, but you need to be using 14.0 or newer to compile the development version of Cantera."}}