Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation issue #20

Open
Kalpa08 opened this issue Jan 8, 2024 · 1 comment
Open

Compilation issue #20

Kalpa08 opened this issue Jan 8, 2024 · 1 comment

Comments

@Kalpa08
Copy link

Kalpa08 commented Jan 8, 2024

Dear developers,
I was trying to compile qcmaquis in the system and now I am getting the following issue. Could you please help me to figure out the solution to the problem

Thank you

[kalpa@compute build]$ cmake -DLINALG=MKL -DCMAKE_INSTALL_PREFIX=/opt/SOFTWARES/autoCAS/QCmaquis/qc_install ..

-- Found BLAS: /opt/compilers/intel/mkl/2023.0.0/lib/intel64/libmkl_intel_lp64.so;/opt/compilers/intel/mkl/2023.0.0/lib/intel64/libmkl_intel_thread.so;/opt/compilers/intel/mkl/2023.0.0/lib/intel64/libmkl_core.so;/opt/compilers/intel/compiler/2023.0.0/linux/compiler/lib/intel64_lin/libiomp5.so;-lpthread;-lm;-ldl
-- A library with LAPACK API found.
-- BLAS/LAPACK vendor: MKL
-- Enabling 64-bit integer interface with Intel MKL
-- Found BLAS: /opt/compilers/intel/mkl/2023.0.0/lib/intel64/libmkl_intel_ilp64.so;/opt/compilers/intel/mkl/2023.0.0/lib/intel64/libmkl_sequential.so;/opt/compilers/intel/mkl/2023.0.0/lib/intel64/libmkl_core.so;-lpthread;-lm;-ldl
-- A library with LAPACK API found.
-- BLAS library: /opt/compilers/intel/mkl/2023.0.0/lib/intel64/libmkl_intel_ilp64.so;/opt/compilers/intel/mkl/2023.0.0/lib/intel64/libmkl_sequential.so;/opt/compilers/intel/mkl/2023.0.0/lib/intel64/libmkl_core.so;-lpthread;-lm;-ldl
-- LAPACK library: /opt/compilers/intel/mkl/2023.0.0/lib/intel64/libmkl_intel_ilp64.so;/opt/compilers/intel/mkl/2023.0.0/lib/intel64/libmkl_sequential.so;/opt/compilers/intel/mkl/2023.0.0/lib/intel64/libmkl_core.so;-lpthread;-lm;-ldl;-lpthread;-lm;-ldl
-- Enabled symmetries: TwoU1PG;SU2U1PG
GSL_DEFINITIONS=
GSL_INCLUDE_DIRS=/opt/library/gsl-2.7/2.7/include
GSL_CFLAGS=-I/opt/library/gsl-2.7/2.7/include
-- Using GSL from
-- FindGSL: Found both GSL headers and library
No linear algebra library provided, trying to guess... Make sure you compile with the correct integer interface.
-- A library with LAPACK API found.
-- Lapack include:
-- Lapack lib dirs:
-- Lapack libs: /opt/compilers/intel/mkl/2023.0.0/lib/intel64/libmkl_intel_ilp64.so;/opt/compilers/intel/mkl/2023.0.0/lib/intel64/libmkl_sequential.so;/opt/compilers/intel/mkl/2023.0.0/lib/intel64/libmkl_core.so;-lpthread;-lm;-ldl;-lpthread;-lm;-ldl
CMake Warning at /opt/compilers/cmake/cmake-3.18.0-Linux-x86_64/share/cmake-3.18/Modules/FindBoost.cmake:1187 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
/opt/compilers/cmake/cmake-3.18.0-Linux-x86_64/share/cmake-3.18/Modules/FindBoost.cmake:1311 (_Boost_COMPONENT_DEPENDENCIES)
/opt/compilers/cmake/cmake-3.18.0-Linux-x86_64/share/cmake-3.18/Modules/FindBoost.cmake:1919 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:278 (find_package)

CMake Warning at /opt/compilers/cmake/cmake-3.18.0-Linux-x86_64/share/cmake-3.18/Modules/FindBoost.cmake:1187 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
/opt/compilers/cmake/cmake-3.18.0-Linux-x86_64/share/cmake-3.18/Modules/FindBoost.cmake:1311 (_Boost_COMPONENT_DEPENDENCIES)
/opt/compilers/cmake/cmake-3.18.0-Linux-x86_64/share/cmake-3.18/Modules/FindBoost.cmake:1919 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:278 (find_package)

CMake Warning at /opt/compilers/cmake/cmake-3.18.0-Linux-x86_64/share/cmake-3.18/Modules/FindBoost.cmake:1187 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
/opt/compilers/cmake/cmake-3.18.0-Linux-x86_64/share/cmake-3.18/Modules/FindBoost.cmake:1311 (_Boost_COMPONENT_DEPENDENCIES)
/opt/compilers/cmake/cmake-3.18.0-Linux-x86_64/share/cmake-3.18/Modules/FindBoost.cmake:1919 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:278 (find_package)

CMake Warning at /opt/compilers/cmake/cmake-3.18.0-Linux-x86_64/share/cmake-3.18/Modules/FindBoost.cmake:1187 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
/opt/compilers/cmake/cmake-3.18.0-Linux-x86_64/share/cmake-3.18/Modules/FindBoost.cmake:1311 (_Boost_COMPONENT_DEPENDENCIES)
/opt/compilers/cmake/cmake-3.18.0-Linux-x86_64/share/cmake-3.18/Modules/FindBoost.cmake:1919 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:278 (find_package)

CMake Warning at /opt/compilers/cmake/cmake-3.18.0-Linux-x86_64/share/cmake-3.18/Modules/FindBoost.cmake:1187 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
/opt/compilers/cmake/cmake-3.18.0-Linux-x86_64/share/cmake-3.18/Modules/FindBoost.cmake:1311 (_Boost_COMPONENT_DEPENDENCIES)
/opt/compilers/cmake/cmake-3.18.0-Linux-x86_64/share/cmake-3.18/Modules/FindBoost.cmake:1919 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:278 (find_package)

CMake Warning at /opt/compilers/cmake/cmake-3.18.0-Linux-x86_64/share/cmake-3.18/Modules/FindBoost.cmake:1187 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
/opt/compilers/cmake/cmake-3.18.0-Linux-x86_64/share/cmake-3.18/Modules/FindBoost.cmake:1311 (_Boost_COMPONENT_DEPENDENCIES)
/opt/compilers/cmake/cmake-3.18.0-Linux-x86_64/share/cmake-3.18/Modules/FindBoost.cmake:1919 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:278 (find_package)

CMake Warning at /opt/compilers/cmake/cmake-3.18.0-Linux-x86_64/share/cmake-3.18/Modules/FindBoost.cmake:1187 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
/opt/compilers/cmake/cmake-3.18.0-Linux-x86_64/share/cmake-3.18/Modules/FindBoost.cmake:1311 (_Boost_COMPONENT_DEPENDENCIES)
/opt/compilers/cmake/cmake-3.18.0-Linux-x86_64/share/cmake-3.18/Modules/FindBoost.cmake:1919 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:278 (find_package)

CMake Warning at /opt/compilers/cmake/cmake-3.18.0-Linux-x86_64/share/cmake-3.18/Modules/FindBoost.cmake:1187 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
/opt/compilers/cmake/cmake-3.18.0-Linux-x86_64/share/cmake-3.18/Modules/FindBoost.cmake:1311 (_Boost_COMPONENT_DEPENDENCIES)
/opt/compilers/cmake/cmake-3.18.0-Linux-x86_64/share/cmake-3.18/Modules/FindBoost.cmake:1919 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:278 (find_package)

-- Found Boost: /opt/library/boost/boost_1_84_0 (found suitable version "1.84.0", minimum required is "1.56") found components: program_options filesystem system serialization thread chrono date_time atomic
-- Looking for rpc/rpc.h
-- Looking for rpc/rpc.h - found
-- Looking for stdarg.h
-- Looking for stdarg.h - found
-- Looking for sys/stat.h
-- Looking for sys/stat.h - found
-- Looking for sys/systeminfo.h
-- Looking for sys/systeminfo.h - not found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for windows.h
-- Looking for windows.h - not found
-- Looking for C++ include valarray
-- Looking for C++ include valarray - found
-- Found Git: /usr/bin/git (found version "1.8.3.1")
-- DMRG version: 3.1.3-e9770edae333be56b7bc0365aa96bc5844fc81d4 (master) release-3.1.3
-- Found OpenMP_C: -fopenmp (found version "3.1")
-- Found OpenMP_CXX: -fopenmp (found version "3.1")
-- Found OpenMP: TRUE (found version "3.1")
-- Configuring done
-- Generating done
-- Build files have been written to: /opt/SOFTWARES/autoCAS/QCmaquis/qcmaquis/dmrg/build

[kalpa@compute build]$ make

Scanning dependencies of target alps
[ 1%] Building CXX object alps/src/alps/CMakeFiles/alps.dir/utility/encode.cpp.o
[ 3%] Building CXX object alps/src/alps/CMakeFiles/alps.dir/utility/copyright.cpp.o
[ 5%] Building CXX object alps/src/alps/CMakeFiles/alps.dir/utility/os.cpp.o
[ 6%] Building CXX object alps/src/alps/CMakeFiles/alps.dir/utility/temporary_filename.cpp.o
[ 8%] Building CXX object alps/src/alps/CMakeFiles/alps.dir/utility/vmusage.cpp.o
[ 10%] Building CXX object alps/src/alps/CMakeFiles/alps.dir/expression/evaluator.C.o
In file included from /opt/library/boost/boost_1_84_0/boost/math/special_functions/detail/round_fwd.hpp:11:0,
from /opt/library/boost/boost_1_84_0/boost/math/special_functions/math_fwd.hpp:29,
from /opt/library/boost/boost_1_84_0/boost/math/special_functions/airy.hpp:11,
from /opt/library/boost/boost_1_84_0/boost/math/special_functions.hpp:15,
from /opt/SOFTWARES/autoCAS/QCmaquis/qcmaquis/dmrg/alps/src/alps/numeric/special_functions.hpp:37,
from /opt/SOFTWARES/autoCAS/QCmaquis/qcmaquis/dmrg/alps/src/alps/multi_array/functions.hpp:33,
from /opt/SOFTWARES/autoCAS/QCmaquis/qcmaquis/dmrg/alps/src/alps/multi_array.hpp:33,
from /opt/SOFTWARES/autoCAS/QCmaquis/qcmaquis/dmrg/alps/src/alps/hdf5/multi_array.hpp:33,
from /opt/SOFTWARES/autoCAS/QCmaquis/qcmaquis/dmrg/alps/src/alps/hdf5.hpp:38,
from /opt/SOFTWARES/autoCAS/QCmaquis/qcmaquis/dmrg/alps/src/alps/parameter/parameters.h:52,
from /opt/SOFTWARES/autoCAS/QCmaquis/qcmaquis/dmrg/alps/src/alps/parameter.h:35,
from /opt/SOFTWARES/autoCAS/QCmaquis/qcmaquis/dmrg/alps/src/alps/expression/expression_fwd.h:37,
from /opt/SOFTWARES/autoCAS/QCmaquis/qcmaquis/dmrg/alps/src/alps/expression/evaluator.h:34,
from /opt/SOFTWARES/autoCAS/QCmaquis/qcmaquis/dmrg/alps/src/alps/expression/evaluator.C:30:
/opt/library/boost/boost_1_84_0/boost/math/tools/config.hpp:23:6: warning: #warning "The minimum language standard to use Boost.Math will be C++14 starting in July 2023 (Boost 1.82 release)" [-Wcpp]

warning "The minimum language standard to use Boost.Math will be C++14 starting in July 2023 (Boost 1.82 release)"

  ^

In file included from /opt/SOFTWARES/autoCAS/QCmaquis/qcmaquis/dmrg/alps/src/alps/ngs/cast.hpp:34:0,
from /opt/SOFTWARES/autoCAS/QCmaquis/qcmaquis/dmrg/alps/src/alps/hdf5/map.hpp:32,
from /opt/SOFTWARES/autoCAS/QCmaquis/qcmaquis/dmrg/alps/src/alps/hdf5.hpp:32,
from /opt/SOFTWARES/autoCAS/QCmaquis/qcmaquis/dmrg/alps/src/alps/parameter/parameters.h:52,
from /opt/SOFTWARES/autoCAS/QCmaquis/qcmaquis/dmrg/alps/src/alps/parameter.h:35,
from /opt/SOFTWARES/autoCAS/QCmaquis/qcmaquis/dmrg/alps/src/alps/expression/expression_fwd.h:37,
from /opt/SOFTWARES/autoCAS/QCmaquis/qcmaquis/dmrg/alps/src/alps/expression/evaluator.h:34,
from /opt/SOFTWARES/autoCAS/QCmaquis/qcmaquis/dmrg/alps/src/alps/expression/evaluator.C:30:
/opt/library/boost/boost_1_84_0/boost/bind.hpp:41:265: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.
)
^
[ 11%] Building CXX object alps/src/alps/CMakeFiles/alps.dir/osiris/buffer.C.o
[ 13%] Building CXX object alps/src/alps/CMakeFiles/alps.dir/osiris/dump.C.o
[ 15%] Building CXX object alps/src/alps/CMakeFiles/alps.dir/osiris/dumparchive.C.o
[ 16%] Building CXX object alps/src/alps/CMakeFiles/alps.dir/osiris/process.C.o
[ 18%] Building CXX object alps/src/alps/CMakeFiles/alps.dir/osiris/comm.C.o
[ 20%] Building CXX object alps/src/alps/CMakeFiles/alps.dir/osiris/mpdump.C.o
[ 21%] Building CXX object alps/src/alps/CMakeFiles/alps.dir/osiris/xdrdump.C.o
[ 23%] Building CXX object alps/src/alps/CMakeFiles/alps.dir/osiris/xdrcore.C.o
[ 25%] Building CXX object alps/src/alps/CMakeFiles/alps.dir/parameter/parameter.C.o
[ 26%] Building CXX object alps/src/alps/CMakeFiles/alps.dir/parameter/parameterlist.C.o
In file included from /opt/library/boost/boost_1_84_0/boost/math/special_functions/detail/round_fwd.hpp:11:0,
from /opt/library/boost/boost_1_84_0/boost/math/special_functions/math_fwd.hpp:29,
from /opt/library/boost/boost_1_84_0/boost/math/special_functions/airy.hpp:11,
from /opt/library/boost/boost_1_84_0/boost/math/special_functions.hpp:15,
from /opt/SOFTWARES/autoCAS/QCmaquis/qcmaquis/dmrg/alps/src/alps/numeric/special_functions.hpp:37,
from /opt/SOFTWARES/autoCAS/QCmaquis/qcmaquis/dmrg/alps/src/alps/multi_array/functions.hpp:33,
from /opt/SOFTWARES/autoCAS/QCmaquis/qcmaquis/dmrg/alps/src/alps/multi_array.hpp:33,
from /opt/SOFTWARES/autoCAS/QCmaquis/qcmaquis/dmrg/alps/src/alps/hdf5/multi_array.hpp:33,
from /opt/SOFTWARES/autoCAS/QCmaquis/qcmaquis/dmrg/alps/src/alps/hdf5.hpp:38,
from /opt/SOFTWARES/autoCAS/QCmaquis/qcmaquis/dmrg/alps/src/alps/parameter/parameters.h:52,
from /opt/SOFTWARES/autoCAS/QCmaquis/qcmaquis/dmrg/alps/src/alps/parameter/parameterlist.h:65,
from /opt/SOFTWARES/autoCAS/QCmaquis/qcmaquis/dmrg/alps/src/alps/parameter/parameterlist.C:31:
/opt/library/boost/boost_1_84_0/boost/math/tools/config.hpp:23:6: warning: #warning "The minimum language standard to use Boost.Math will be C++14 starting in July 2023 (Boost 1.82 release)" [-Wcpp]

warning "The minimum language standard to use Boost.Math will be C++14 starting in July 2023 (Boost 1.82 release)"

  ^

In file included from /opt/SOFTWARES/autoCAS/QCmaquis/qcmaquis/dmrg/alps/src/alps/ngs/cast.hpp:34:0,
from /opt/SOFTWARES/autoCAS/QCmaquis/qcmaquis/dmrg/alps/src/alps/hdf5/map.hpp:32,
from /opt/SOFTWARES/autoCAS/QCmaquis/qcmaquis/dmrg/alps/src/alps/hdf5.hpp:32,
from /opt/SOFTWARES/autoCAS/QCmaquis/qcmaquis/dmrg/alps/src/alps/parameter/parameters.h:52,
from /opt/SOFTWARES/autoCAS/QCmaquis/qcmaquis/dmrg/alps/src/alps/parameter/parameterlist.h:65,
from /opt/SOFTWARES/autoCAS/QCmaquis/qcmaquis/dmrg/alps/src/alps/parameter/parameterlist.C:31:
/opt/library/boost/boost_1_84_0/boost/bind.hpp:41:265: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.
)
^
[ 28%] Building CXX object alps/src/alps/CMakeFiles/alps.dir/parameter/parameters.C.o
In file included from /opt/library/boost/boost_1_84_0/boost/math/special_functions/detail/round_fwd.hpp:11:0,
from /opt/library/boost/boost_1_84_0/boost/math/special_functions/math_fwd.hpp:29,
from /opt/library/boost/boost_1_84_0/boost/math/special_functions/airy.hpp:11,
from /opt/library/boost/boost_1_84_0/boost/math/special_functions.hpp:15,
from /opt/SOFTWARES/autoCAS/QCmaquis/qcmaquis/dmrg/alps/src/alps/numeric/special_functions.hpp:37,
from /opt/SOFTWARES/autoCAS/QCmaquis/qcmaquis/dmrg/alps/src/alps/multi_array/functions.hpp:33,
from /opt/SOFTWARES/autoCAS/QCmaquis/qcmaquis/dmrg/alps/src/alps/multi_array.hpp:33,
from /opt/SOFTWARES/autoCAS/QCmaquis/qcmaquis/dmrg/alps/src/alps/hdf5/multi_array.hpp:33,
from /opt/SOFTWARES/autoCAS/QCmaquis/qcmaquis/dmrg/alps/src/alps/hdf5.hpp:38,
from /opt/SOFTWARES/autoCAS/QCmaquis/qcmaquis/dmrg/alps/src/alps/parameter/parameters.h:52,
from /opt/SOFTWARES/autoCAS/QCmaquis/qcmaquis/dmrg/alps/src/alps/parameter/parameters.C:31:
/opt/library/boost/boost_1_84_0/boost/math/tools/config.hpp:23:6: warning: #warning "The minimum language standard to use Boost.Math will be C++14 starting in July 2023 (Boost 1.82 release)" [-Wcpp]

warning "The minimum language standard to use Boost.Math will be C++14 starting in July 2023 (Boost 1.82 release)"

  ^

In file included from /opt/SOFTWARES/autoCAS/QCmaquis/qcmaquis/dmrg/alps/src/alps/ngs/cast.hpp:34:0,
from /opt/SOFTWARES/autoCAS/QCmaquis/qcmaquis/dmrg/alps/src/alps/hdf5/map.hpp:32,
from /opt/SOFTWARES/autoCAS/QCmaquis/qcmaquis/dmrg/alps/src/alps/hdf5.hpp:32,
from /opt/SOFTWARES/autoCAS/QCmaquis/qcmaquis/dmrg/alps/src/alps/parameter/parameters.h:52,
from /opt/SOFTWARES/autoCAS/QCmaquis/qcmaquis/dmrg/alps/src/alps/parameter/parameters.C:31:
/opt/library/boost/boost_1_84_0/boost/bind.hpp:41:265: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.
)
^
[ 30%] Building CXX object alps/src/alps/CMakeFiles/alps.dir/parser/parser.C.o
[ 31%] Building CXX object alps/src/alps/CMakeFiles/alps.dir/parser/xmlattributes.C.o
[ 33%] Building CXX object alps/src/alps/CMakeFiles/alps.dir/parser/xmlhandler.C.o
[ 35%] Building CXX object alps/src/alps/CMakeFiles/alps.dir/parser/xmlparser.C.o
[ 36%] Building CXX object alps/src/alps/CMakeFiles/alps.dir/parser/xmlstream.C.o
/opt/SOFTWARES/autoCAS/QCmaquis/qcmaquis/dmrg/alps/src/alps/parser/xmlstream.C: In function ‘std::string alps::convert(const string&)’:
/opt/SOFTWARES/autoCAS/QCmaquis/qcmaquis/dmrg/alps/src/alps/parser/xmlstream.C:240:59: error: no matching function for call to ‘regex_replace(std::ostream_iterator&, std::basic_string::const_iterator, std::basic_string::const_iterator, std::regex, const char [46], const match_flag_type&)’
std::regex_constants::match_default);
^
/opt/SOFTWARES/autoCAS/QCmaquis/qcmaquis/dmrg/alps/src/alps/parser/xmlstream.C:240:59: note: candidates are:
In file included from /usr/include/c++/4.8.2/regex:62:0,
from /opt/SOFTWARES/autoCAS/QCmaquis/qcmaquis/dmrg/alps/src/alps/parser/xmlstream.C:36:
/usr/include/c++/4.8.2/bits/regex.h:2162:5: note: template<class _Out_iter, class _Bi_iter, class _Rx_traits, class _Ch_type> _Out_iter std::regex_replace(_Out_iter, _Bi_iter, _Bi_iter, const std::basic_regex<_Ch_type, _Rx_traits>&, const std::basic_string<_Ch_type>&, std::regex_constants::match_flag_type)
regex_replace(_Out_iter __out, _Bi_iter __first, _Bi_iter __last,
^
/usr/include/c++/4.8.2/bits/regex.h:2162:5: note: template argument deduction/substitution failed:
/opt/SOFTWARES/autoCAS/QCmaquis/qcmaquis/dmrg/alps/src/alps/parser/xmlstream.C:240:59: note: mismatched types ‘const std::basic_string<_Ch_type>’ and ‘const char [46]’
std::regex_constants::match_default);
^
In file included from /usr/include/c++/4.8.2/regex:62:0,
from /opt/SOFTWARES/autoCAS/QCmaquis/qcmaquis/dmrg/alps/src/alps/parser/xmlstream.C:36:
/usr/include/c++/4.8.2/bits/regex.h:2182:5: note: template<class _Rx_traits, class _Ch_type> std::basic_string<_Ch_type> std::regex_replace(const std::basic_string<_Ch_type>&, const std::basic_regex<_Ch_type, _Rx_traits>&, const std::basic_string<_Ch_type>&, std::regex_constants::match_flag_type)
regex_replace(const basic_string<_Ch_type>& __s,
^
/usr/include/c++/4.8.2/bits/regex.h:2182:5: note: template argument deduction/substitution failed:
/opt/SOFTWARES/autoCAS/QCmaquis/qcmaquis/dmrg/alps/src/alps/parser/xmlstream.C:240:59: note: ‘std::ostream_iterator’ is not derived from ‘const std::basic_string<_Ch_type>’
std::regex_constants::match_default);
^
alps/src/alps/CMakeFiles/alps.dir/build.make:354: recipe for target 'alps/src/alps/CMakeFiles/alps.dir/parser/xmlstream.C.o' failed
make[2]: *** [alps/src/alps/CMakeFiles/alps.dir/parser/xmlstream.C.o] Error 1
CMakeFiles/Makefile2:257: recipe for target 'alps/src/alps/CMakeFiles/alps.dir/all' failed
make[1]: *** [alps/src/alps/CMakeFiles/alps.dir/all] Error 2
Makefile:148: recipe for target 'all' failed
make: *** [all] Error 2
[kalpa@compute build]$ ls

@weymutht
Copy link
Member

I'm not entirely sure, but seeing the file /usr/include/c++/4.8.2/bits/regex.h included suggests a very old, incompatible compiler. May I ask which compiler and operating system you're using?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants