For a change, this problem only appears with gcc 7.1, not Intel 17.


[ 35%] Building CXX object 
source/numerics/CMakeFiles/obj_numerics_release.dir/data_out.cc.o 

cd /tmp/dealii-build/source/numerics && 
/opt/intel/compilers_and_libraries_2017.4.196/linux/mpi/intel64/bin/mpicxx 
-I/tmp/dealii-build/source/numerics -I/tmp/dealii-build/include 
-I/admin/build/rpms/BUILD/dealii-git20170615/include 
-I/admin/build/rpms/BUILD/dealii-git20170615/bundled/umfpack/UMFPACK/Include 
-I/admin/build/rpms/BUILD/dealii-git20170615/bundled/umfpack/AMD/Include 
-I/admin/build/rpms/BUILD/dealii-git20170615/bundled/muparser_v2_2_4/include 
-I/opt/intel/compilers_and_libraries_2017.4.196/linux/mpi/intel64/include 
-I/opt/apps/gcc7_1/metis/5.0.2/include 
-I/home1/apps/gcc7_1/impi17_0/trilinos/git.20170906/include 
-I/opt/apps/gcc7_1/boost/1.64/include 
-I/opt/apps/gcc7_1/impi17_0/parallel-netcdf/4.3.3.1/x86_64/include 
-I/opt/apps/gcc7_1/impi17_0/phdf5/1.8.16/x86_64/include 
-I/opt/intel/compilers_and_libraries/linux/mkl/include 
-I/home1/apps/gcc7_1/impi17_0/petsc/3.7/include 
-I/home1/apps/gcc7_1/impi17_0/petsc/3.7/knightslanding/include 
-I/home1/apps/gcc7_1/impi17_0/p4est/2.0/include 
-I/home1/apps/gcc7_1/impi17_0/slepc/3.7/knightslanding/include 
-I/home1/apps/gcc7_1/impi17_0/slepc/3.7/include -pedantic -fPIC -Wall 
-Wextra -Wpointer-arith -Wwrite-strings -Wsynth -Wsign-compare -Wswitch 
-Woverloaded-virtual -Wno-placement-new -Wno-deprecated-declarations 
-Wno-literal-suffix -fopenmp-simd -std=c++17 -Wno-unused-local-typedefs -O2 
-funroll-loops -funroll-all-loops -fstrict-aliasing 
-Wno-unused-local-typedefs -std=c++14 -march=broadwell -mtune=knl -O2 -o 
CMakeFiles/obj_numerics_release.dir/data_out.cc.o -c 
/admin/build/rpms/BUILD/dealii-git20170615/source/numerics/data_out.cc 

In file included from /usr/include/tbb/enumerable_thread_specific.h:32:0, 

from 
/admin/build/rpms/BUILD/dealii-git20170615/include/deal.II/base/thread_local_storage.h:23,
 


from 
/admin/build/rpms/BUILD/dealii-git20170615/include/deal.II/base/work_stream.h:25,
 


from 
/admin/build/rpms/BUILD/dealii-git20170615/source/numerics/data_out.cc:16: 

/usr/include/tbb/concurrent_vector.h: In member function 
'tbb::concurrent_vector<T, A>::iterator tbb::concurrent_vector<T, 
A>::grow_by(tbb::concurrent_vector<T, A>::size_type)': 

/usr/include/tbb/concurrent_vector.h:667:38: error: operands to ?: have 
different types 'tbb::internal::concurrent_vector_base_v3::size_type {aka 
long unsigned int}' and 'tbb::atomic<long unsigned int>' 

return iterator(*this, delta ? internal_grow_by( delta, sizeof(T), 
&initialize_array, NULL ) : my_early_size); 

~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 


/usr/include/tbb/concurrent_vector.h:667:38: note: and each type can be 
converted to the other 

/usr/include/tbb/concurrent_vector.h: In member function 
'tbb::concurrent_vector<T, A>::iterator tbb::concurrent_vector<T, 
A>::grow_by(tbb::concurrent_vector<T, A>::size_type, 
tbb::concurrent_vector<T, A>::const_reference)': 

/usr/include/tbb/concurrent_vector.h:680:38: error: operands to ?: have 
different types 'tbb::internal::concurrent_vector_base_v3::size_type {aka 
long unsigned int}' and 'tbb::atomic<long unsigned int>' 

return iterator(*this, delta ? internal_grow_by( delta, sizeof(T), 
&initialize_array_by, static_cast<const void*>(&t) ) : my_early_size); 

~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 


/usr/include/tbb/concurrent_vector.h:680:38: note: and each type can be 
converted to the other

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to