The Combinatorial BLAS (CombBLAS) is an extensible distributed-memory parallel graph library offering a small but powerful set of linear algebra primitives specifically targeting graph analytics.
Other
59
stars
20
forks
source link
g++5.5 build failed and g++6.5 build success on ubuntu16.04 #6
root@fbc66d582c7a:/projects/CombBLAS-master/_build# cmake -DCMAKE_INSTALL_PREFIX=/opt/CombBLAS ..
-- The C compiler identification is GNU 5.5.0
-- The CXX compiler identification is GNU 5.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found MPI_C: /usr/lib/openmpi/lib/libmpi.so
-- Found MPI_CXX: /usr/lib/openmpi/lib/libmpi_cxx.so;/usr/lib/openmpi/lib/libmpi.so
-- Try OpenMP C flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Try OpenMP CXX flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Found OpenMP: -fopenmp
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- Configuring done
-- Generating done
-- Build files have been written to: /projects/CombBLAS-master/_build
root@fbc66d582c7a:/projects/CombBLAS-master/_build# make
Scanning dependencies of target GraphGenlib
[ 1%] Building C object graph500-1.2/generator/CMakeFiles/GraphGenlib.dir/btrd_binomial_distribution.c.o
[ 2%] Building C object graph500-1.2/generator/CMakeFiles/GraphGenlib.dir/splittable_mrg.c.o
[ 4%] Building C object graph500-1.2/generator/CMakeFiles/GraphGenlib.dir/mrg_transitions.c.o
[ 5%] Building C object graph500-1.2/generator/CMakeFiles/GraphGenlib.dir/graph_generator.c.o
[ 6%] Building C object graph500-1.2/generator/CMakeFiles/GraphGenlib.dir/permutation_gen.c.o
[ 8%] Building C object graph500-1.2/generator/CMakeFiles/GraphGenlib.dir/make_graph.c.o
[ 9%] Building C object graph500-1.2/generator/CMakeFiles/GraphGenlib.dir/utils.c.o
[ 10%] Building C object graph500-1.2/generator/CMakeFiles/GraphGenlib.dir/scramble_edges.c.o
[ 12%] Linking C static library libGraphGenlib.a
[ 12%] Built target GraphGenlib
Scanning dependencies of target Usortlib
[ 13%] Building CXX object usort/CMakeFiles/Usortlib.dir/src/parUtils.cpp.o
[ 15%] Building CXX object usort/CMakeFiles/Usortlib.dir/src/binUtils.cpp.o
[ 16%] Linking CXX static library libUsortlib.a
[ 16%] Built target Usortlib
Scanning dependencies of target CombBLAS
[ 17%] Building CXX object CMakeFiles/CombBLAS.dir/src/CommGrid.cpp.o
[ 19%] Building C object CMakeFiles/CombBLAS.dir/src/mmio.c.o
/projects/CombBLAS-master/src/mmio.c: In function ‘mm_read_mtx_crd_size’:
/projects/CombBLAS-master/src/mmio.c:138:22: warning: format ‘%lld’ expects argument of type ‘long long int ’, but argument 3 has type ‘int64_t {aka long int }’ [-Wformat=]
if (sscanf(line, "%lld %lld %lld", M, N, nz) == 3)
^
/projects/CombBLAS-master/src/mmio.c:138:22: warning: format ‘%lld’ expects argument of type ‘long long int ’, but argument 4 has type ‘int64_t {aka long int }’ [-Wformat=]
/projects/CombBLAS-master/src/mmio.c:138:22: warning: format ‘%lld’ expects argument of type ‘long long int ’, but argument 5 has type ‘int64_t {aka long int }’ [-Wformat=]
/projects/CombBLAS-master/src/mmio.c:144:36: warning: format ‘%lld’ expects argument of type ‘long long int ’, but argument 3 has type ‘int64_t {aka long int }’ [-Wformat=]
num_items_read = fscanf(f, "%lld %lld %lld", M, N, nz);
^
/projects/CombBLAS-master/src/mmio.c:144:36: warning: format ‘%lld’ expects argument of type ‘long long int ’, but argument 4 has type ‘int64_t {aka long int }’ [-Wformat=]
/projects/CombBLAS-master/src/mmio.c:144:36: warning: format ‘%lld’ expects argument of type ‘long long int ’, but argument 5 has type ‘int64_t {aka long int }’ [-Wformat=]
[ 20%] Building CXX object CMakeFiles/CombBLAS.dir/src/MPIType.cpp.o
[ 21%] Building CXX object CMakeFiles/CombBLAS.dir/src/MPIOp.cpp.o
[ 23%] Building CXX object CMakeFiles/CombBLAS.dir/src/MemoryPool.cpp.o
[ 24%] Building CXX object CMakeFiles/CombBLAS.dir/src/hash.cpp.o
[ 26%] Linking CXX static library libCombBLAS.a
[ 26%] Built target CombBLAS
Scanning dependencies of target BlockedSpGEMM
[ 27%] Building CXX object ReleaseTests/CMakeFiles/BlockedSpGEMM.dir/BlockedSpGEMM.cpp.o
In file included from /projects/CombBLAS-master/include/CombBLAS/Friends.h:35:0,
from /projects/CombBLAS-master/include/CombBLAS/SpMat.cpp:32,
from /projects/CombBLAS-master/include/CombBLAS/SpMat.h:178,
from /projects/CombBLAS-master/include/CombBLAS/SpTuples.h:38,
from /projects/CombBLAS-master/include/CombBLAS/CombBLAS.h:121,
from /projects/CombBLAS-master/ReleaseTests/BlockedSpGEMM.cpp:4:
/projects/CombBLAS-master/include/CombBLAS/SpHelper.h: In instantiation of ‘static void combblas::SpHelper::ProcessLines(std::vector<_RealType>&, std::vector<_RealType>&, std::vector&, std::vector<std::__cxx11::basic_string >&, int, int, bool) [with IT1 = long int; NT1 = double]’:
/projects/CombBLAS-master/include/CombBLAS/SpParMat.cpp:3842:27: required from ‘void combblas::SpParMat<IT, NT, DER>::ParallelReadMM(const string&, bool, _BinaryOperation) [with _BinaryOperation = combblas::maximum; IT = long int; NT = double; DER = combblas::SpDCCols<long int, double>; std::cxx11::string = std::cxx11::basic_string]’
/projects/CombBLAS-master/ReleaseTests/BlockedSpGEMM.cpp:44:46: required from here
/projects/CombBLAS-master/include/CombBLAS/SpHelper.h:156:23: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘int64_t {aka long int}’ [-Wformat=]
sscanf(itr->c_str(), "%lld %lld %lg", &ii, &jj, &vv);
^
/projects/CombBLAS-master/include/CombBLAS/SpHelper.h:156:23: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘int64_t {aka long int}’ [-Wformat=]
/projects/CombBLAS-master/include/CombBLAS/SpHelper.h:165:23: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘int64_t {aka long int}’ [-Wformat=]
sscanf(itr->c_str(), "%lld %lld %lld", &ii, &jj, &vv);
^
/projects/CombBLAS-master/include/CombBLAS/SpHelper.h:165:23: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘int64_t {aka long int}’ [-Wformat=]
/projects/CombBLAS-master/include/CombBLAS/SpHelper.h:165:23: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 5 has type ‘int64_t {aka long int}’ [-Wformat=]
/projects/CombBLAS-master/include/CombBLAS/SpHelper.h:174:23: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘int64_t {aka long int}’ [-Wformat=]
sscanf(itr->c_str(), "%lld %lld", &ii, &jj);
^
/projects/CombBLAS-master/include/CombBLAS/SpHelper.h:174:23: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘int64_t {aka long int*}’ [-Wformat=]
In file included from /projects/CombBLAS-master/include/CombBLAS/SpParMat.h:464:0,
from /projects/CombBLAS-master/include/CombBLAS/CombBLAS.h:124,
from /projects/CombBLAS-master/ReleaseTests/BlockedSpGEMM.cpp:4:
/projects/CombBLAS-master/include/CombBLAS/SpParMat.cpp: In instantiation of ‘std::vector<std::vector<combblas::SpParMat<IT, NT, DER> > > combblas::SpParMat<IT, NT, DER>::BlockSplit(int, int) [with IT = long int; NT = double; DER = combblas::SpDCCols<long int, double>]’:
/projects/CombBLAS-master/include/CombBLAS/BlockSpGEMM.h:39:13: required from ‘combblas::BlockSpGEMM<IT, NTA, DERA, NTB, DERB>::BlockSpGEMM(combblas::SpParMat<IT, NT, DER>&, combblas::SpParMat<IT, NTB, DERB>&, int, int, int) [with IT = long int; NTA = double; DERA = combblas::SpDCCols<long int, double>; NTB = double; DERB = combblas::SpDCCols<long int, double>]’
/projects/CombBLAS-master/ReleaseTests/BlockedSpGEMM.cpp:56:57: required from here
/projects/CombBLAS-master/include/CombBLAS/SpParMat.cpp:2803:3: error: converting to ‘std::vector<std::tuple<long int, long int, double>, std::allocator<std::tuple<long int, long int, double> > >::value_type {aka std::tuple<long int, long int, double>}’ from initializer list would use explicit constructor ‘constexpr std::tuple< >::tuple(_UElements&& ...) [with _UElements = {long int&, long int&, double&}; = void; _Elements = {long int, long int, double}]’
btuples[rbid][cbid][owner].push_back({ridx_l, cidx_l, tuples.numvalue(i)});
^
ReleaseTests/CMakeFiles/BlockedSpGEMM.dir/build.make:62: recipe for target 'ReleaseTests/CMakeFiles/BlockedSpGEMM.dir/BlockedSpGEMM.cpp.o' failed
make[2]: [ReleaseTests/CMakeFiles/BlockedSpGEMM.dir/BlockedSpGEMM.cpp.o] Error 1
CMakeFiles/Makefile2:1155: recipe for target 'ReleaseTests/CMakeFiles/BlockedSpGEMM.dir/all' failed
make[1]: [ReleaseTests/CMakeFiles/BlockedSpGEMM.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
root@fbc66d582c7a:/projects/CombBLAS-master/_build# cmake -DCMAKE_INSTALL_PREFIX=/opt/CombBLAS .. -- The C compiler identification is GNU 5.5.0 -- The CXX compiler identification is GNU 5.5.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found MPI_C: /usr/lib/openmpi/lib/libmpi.so&, std::vector<std::__cxx11::basic_string >&, int, int, bool) [with IT1 = long int; NT1 = double]’:
/projects/CombBLAS-master/include/CombBLAS/SpParMat.cpp:3842:27: required from ‘void combblas::SpParMat<IT, NT, DER>::ParallelReadMM(const string&, bool, _BinaryOperation) [with _BinaryOperation = combblas::maximum; IT = long int; NT = double; DER = combblas::SpDCCols<long int, double>; std::cxx11::string = std::cxx11::basic_string]’
/projects/CombBLAS-master/ReleaseTests/BlockedSpGEMM.cpp:44:46: required from here
/projects/CombBLAS-master/include/CombBLAS/SpHelper.h:156:23: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘int64_t {aka long int}’ [-Wformat=]
sscanf(itr->c_str(), "%lld %lld %lg", &ii, &jj, &vv);
^
/projects/CombBLAS-master/include/CombBLAS/SpHelper.h:156:23: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘int64_t {aka long int}’ [-Wformat=]
/projects/CombBLAS-master/include/CombBLAS/SpHelper.h:165:23: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘int64_t {aka long int}’ [-Wformat=]
sscanf(itr->c_str(), "%lld %lld %lld", &ii, &jj, &vv);
^
/projects/CombBLAS-master/include/CombBLAS/SpHelper.h:165:23: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘int64_t {aka long int}’ [-Wformat=]
/projects/CombBLAS-master/include/CombBLAS/SpHelper.h:165:23: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 5 has type ‘int64_t {aka long int}’ [-Wformat=]
/projects/CombBLAS-master/include/CombBLAS/SpHelper.h:174:23: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘int64_t {aka long int}’ [-Wformat=]
sscanf(itr->c_str(), "%lld %lld", &ii, &jj);
^
/projects/CombBLAS-master/include/CombBLAS/SpHelper.h:174:23: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘int64_t {aka long int*}’ [-Wformat=]
In file included from /projects/CombBLAS-master/include/CombBLAS/SpParMat.h:464:0,
from /projects/CombBLAS-master/include/CombBLAS/CombBLAS.h:124,
from /projects/CombBLAS-master/ReleaseTests/BlockedSpGEMM.cpp:4:
/projects/CombBLAS-master/include/CombBLAS/SpParMat.cpp: In instantiation of ‘std::vector<std::vector<combblas::SpParMat<IT, NT, DER> > > combblas::SpParMat<IT, NT, DER>::BlockSplit(int, int) [with IT = long int; NT = double; DER = combblas::SpDCCols<long int, double>]’:
/projects/CombBLAS-master/include/CombBLAS/BlockSpGEMM.h:39:13: required from ‘combblas::BlockSpGEMM<IT, NTA, DERA, NTB, DERB>::BlockSpGEMM(combblas::SpParMat<IT, NT, DER>&, combblas::SpParMat<IT, NTB, DERB>&, int, int, int) [with IT = long int; NTA = double; DERA = combblas::SpDCCols<long int, double>; NTB = double; DERB = combblas::SpDCCols<long int, double>]’
/projects/CombBLAS-master/ReleaseTests/BlockedSpGEMM.cpp:56:57: required from here
/projects/CombBLAS-master/include/CombBLAS/SpParMat.cpp:2803:3: error: converting to ‘std::vector<std::tuple<long int, long int, double>, std::allocator<std::tuple<long int, long int, double> > >::value_type {aka std::tuple<long int, long int, double>}’ from initializer list would use explicit constructor ‘constexpr std::tuple< >::tuple(_UElements&& ...) [with _UElements = {long int&, long int&, double&}; = void; _Elements = {long int, long int, double}]’
btuples[rbid][cbid][owner].push_back({ridx_l, cidx_l, tuples.numvalue(i)});
-- Found MPI_CXX: /usr/lib/openmpi/lib/libmpi_cxx.so;/usr/lib/openmpi/lib/libmpi.so
-- Try OpenMP C flag = [-fopenmp] -- Performing Test OpenMP_FLAG_DETECTED -- Performing Test OpenMP_FLAG_DETECTED - Success -- Try OpenMP CXX flag = [-fopenmp] -- Performing Test OpenMP_FLAG_DETECTED -- Performing Test OpenMP_FLAG_DETECTED - Success -- Found OpenMP: -fopenmp
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success -- Performing Test COMPILER_HAS_DEPRECATED_ATTR -- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success -- Configuring done -- Generating done -- Build files have been written to: /projects/CombBLAS-master/_build root@fbc66d582c7a:/projects/CombBLAS-master/_build# make Scanning dependencies of target GraphGenlib [ 1%] Building C object graph500-1.2/generator/CMakeFiles/GraphGenlib.dir/btrd_binomial_distribution.c.o [ 2%] Building C object graph500-1.2/generator/CMakeFiles/GraphGenlib.dir/splittable_mrg.c.o [ 4%] Building C object graph500-1.2/generator/CMakeFiles/GraphGenlib.dir/mrg_transitions.c.o [ 5%] Building C object graph500-1.2/generator/CMakeFiles/GraphGenlib.dir/graph_generator.c.o [ 6%] Building C object graph500-1.2/generator/CMakeFiles/GraphGenlib.dir/permutation_gen.c.o [ 8%] Building C object graph500-1.2/generator/CMakeFiles/GraphGenlib.dir/make_graph.c.o [ 9%] Building C object graph500-1.2/generator/CMakeFiles/GraphGenlib.dir/utils.c.o [ 10%] Building C object graph500-1.2/generator/CMakeFiles/GraphGenlib.dir/scramble_edges.c.o [ 12%] Linking C static library libGraphGenlib.a [ 12%] Built target GraphGenlib Scanning dependencies of target Usortlib [ 13%] Building CXX object usort/CMakeFiles/Usortlib.dir/src/parUtils.cpp.o [ 15%] Building CXX object usort/CMakeFiles/Usortlib.dir/src/binUtils.cpp.o [ 16%] Linking CXX static library libUsortlib.a [ 16%] Built target Usortlib Scanning dependencies of target CombBLAS [ 17%] Building CXX object CMakeFiles/CombBLAS.dir/src/CommGrid.cpp.o [ 19%] Building C object CMakeFiles/CombBLAS.dir/src/mmio.c.o /projects/CombBLAS-master/src/mmio.c: In function ‘mm_read_mtx_crd_size’: /projects/CombBLAS-master/src/mmio.c:138:22: warning: format ‘%lld’ expects argument of type ‘long long int ’, but argument 3 has type ‘int64_t {aka long int }’ [-Wformat=] if (sscanf(line, "%lld %lld %lld", M, N, nz) == 3) ^ /projects/CombBLAS-master/src/mmio.c:138:22: warning: format ‘%lld’ expects argument of type ‘long long int ’, but argument 4 has type ‘int64_t {aka long int }’ [-Wformat=] /projects/CombBLAS-master/src/mmio.c:138:22: warning: format ‘%lld’ expects argument of type ‘long long int ’, but argument 5 has type ‘int64_t {aka long int }’ [-Wformat=] /projects/CombBLAS-master/src/mmio.c:144:36: warning: format ‘%lld’ expects argument of type ‘long long int ’, but argument 3 has type ‘int64_t {aka long int }’ [-Wformat=] num_items_read = fscanf(f, "%lld %lld %lld", M, N, nz); ^ /projects/CombBLAS-master/src/mmio.c:144:36: warning: format ‘%lld’ expects argument of type ‘long long int ’, but argument 4 has type ‘int64_t {aka long int }’ [-Wformat=] /projects/CombBLAS-master/src/mmio.c:144:36: warning: format ‘%lld’ expects argument of type ‘long long int ’, but argument 5 has type ‘int64_t {aka long int }’ [-Wformat=] [ 20%] Building CXX object CMakeFiles/CombBLAS.dir/src/MPIType.cpp.o [ 21%] Building CXX object CMakeFiles/CombBLAS.dir/src/MPIOp.cpp.o [ 23%] Building CXX object CMakeFiles/CombBLAS.dir/src/MemoryPool.cpp.o [ 24%] Building CXX object CMakeFiles/CombBLAS.dir/src/hash.cpp.o [ 26%] Linking CXX static library libCombBLAS.a [ 26%] Built target CombBLAS Scanning dependencies of target BlockedSpGEMM [ 27%] Building CXX object ReleaseTests/CMakeFiles/BlockedSpGEMM.dir/BlockedSpGEMM.cpp.o In file included from /projects/CombBLAS-master/include/CombBLAS/Friends.h:35:0, from /projects/CombBLAS-master/include/CombBLAS/SpMat.cpp:32, from /projects/CombBLAS-master/include/CombBLAS/SpMat.h:178, from /projects/CombBLAS-master/include/CombBLAS/SpTuples.h:38, from /projects/CombBLAS-master/include/CombBLAS/CombBLAS.h:121, from /projects/CombBLAS-master/ReleaseTests/BlockedSpGEMM.cpp:4: /projects/CombBLAS-master/include/CombBLAS/SpHelper.h: In instantiation of ‘static void combblas::SpHelper::ProcessLines(std::vector<_RealType>&, std::vector<_RealType>&, std::vector
^ ReleaseTests/CMakeFiles/BlockedSpGEMM.dir/build.make:62: recipe for target 'ReleaseTests/CMakeFiles/BlockedSpGEMM.dir/BlockedSpGEMM.cpp.o' failed make[2]: [ReleaseTests/CMakeFiles/BlockedSpGEMM.dir/BlockedSpGEMM.cpp.o] Error 1 CMakeFiles/Makefile2:1155: recipe for target 'ReleaseTests/CMakeFiles/BlockedSpGEMM.dir/all' failed make[1]: [ReleaseTests/CMakeFiles/BlockedSpGEMM.dir/all] Error 2 Makefile:138: recipe for target 'all' failed make: *** [all] Error 2