Dear all,
First of all, I'm really sorry if the similar error is already posted. But,
I could not find the answer for my problem...
Recently, my computer was out of order. So, I have to install deal.II to
the other computer. But, there is a problem in the installation with the
new computer....
Since my code have been developed with dealii-8.3.0, I have to reinstall
this version in Ubuntu 18.04.5 LTS
However, when I type "make install" on build file, the following error
meassage appear...
[ 0%] Built target expand_instantiations_exe
[ 4%] Built target obj_boost_serialization.release
[ 4%] Built target obj_boost_system.release
[ 8%] Built target obj_boost_serialization.debug
[ 8%] Built target obj_boost_system.debug
[ 8%] Building CXX object
bundled/tbb41_20130401oss/src/CMakeFiles/obj_tbb.release.dir/tbb/concurrent_vector.cpp.o
[ 9%] Building CXX object
bundled/tbb41_20130401oss/src/CMakeFiles/obj_tbb.debug.dir/tbb/concurrent_vector.cpp.o
In file included from
/home/hanks318/deal_II/dealii-8.3.0/bundled/tbb41_20130401oss/src/tbb/concurrent_vector.cpp:30:0:
/home/hanks318/deal_II/dealii-8.3.0/bundled/tbb41_20130401oss/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)’:
/home/hanks318/deal_II/dealii-8.3.0/bundled/tbb41_20130401oss/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);
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/hanks318/deal_II/dealii-8.3.0/bundled/tbb41_20130401oss/include/tbb/concurrent_vector.h:667:38:
note: and each type can be converted to the other
/home/hanks318/deal_II/dealii-8.3.0/bundled/tbb41_20130401oss/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)’:
/home/hanks318/deal_II/dealii-8.3.0/bundled/tbb41_20130401oss/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);
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/hanks318/deal_II/dealii-8.3.0/bundled/tbb41_20130401oss/include/tbb/concurrent_vector.h:680:38:
note: and each type can be converted to the other
In file included from
/home/hanks318/deal_II/dealii-8.3.0/bundled/tbb41_20130401oss/src/tbb/concurrent_vector.cpp:30:0:
/home/hanks318/deal_II/dealii-8.3.0/bundled/tbb41_20130401oss/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)’:
/home/hanks318/deal_II/dealii-8.3.0/bundled/tbb41_20130401oss/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);
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/hanks318/deal_II/dealii-8.3.0/bundled/tbb41_20130401oss/include/tbb/concurrent_vector.h:667:38:
note: and each type can be converted to the other
/home/hanks318/deal_II/dealii-8.3.0/bundled/tbb41_20130401oss/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)’:
/home/hanks318/deal_II/dealii-8.3.0/bundled/tbb41_20130401oss/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);
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/hanks318/deal_II/dealii-8.3.0/bundled/tbb41_20130401oss/include/tbb/concurrent_vector.h:680:38:
note: and each type can be converted to the other
/home/hanks318/deal_II/dealii-8.3.0/bundled/tbb41_20130401oss/src/tbb/concurrent_vector.cpp:
In member function ‘void
tbb::internal::concurrent_vector_base_v3::internal_throw_exception(tbb::internal::concurrent_vector_base_v3::size_type)
const’:
/home/hanks318/deal_II/dealii-8.3.0/bundled/tbb41_20130401oss/src/tbb/concurrent_vector.cpp:330:32:
warning: this statement may fall through [-Wimplicit-fallthrough=]
case 0: throw_exception(eid_out_of_range);
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
/home/hanks318/deal_II/dealii-8.3.0/bundled/tbb41_20130401oss/src/tbb/concurrent_vector.cpp:331:9:
note: here
case 1: throw_exception(eid_segment_range_error);
^~~~
/home/hanks318/deal_II/dealii-8.3.0/bundled/tbb41_20130401oss/src/tbb/concurrent_vector.cpp:331:32:
warning: this statement may fall through [-Wimplicit-fallthrough=]
case 1: throw_exception(eid_segment_range_error);
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
/home/hanks318/deal_II/dealii-8.3.0/bundled/tbb41_20130401oss/src/tbb/concurrent_vector.cpp:332:9:
note: here
case 2: throw_exception(eid_index_range_error);
^~~~
bundled/tbb41_20130401oss/src/CMakeFiles/obj_tbb.release.dir/build.make:206:
recipe for target
'bundled/tbb41_20130401oss/src/CMakeFiles/obj_tbb.release.dir/tbb/concurrent_vector.cpp.o'
failed
make[2]: ***
[bundled/tbb41_20130401oss/src/CMakeFiles/obj_tbb.release.dir/tbb/concurrent_vector.cpp.o]
Error 1
CMakeFiles/Makefile2:650: recipe for target
'bundled/tbb41_20130401oss/src/CMakeFiles/obj_tbb.release.dir/all' failed
make[1]: ***
[bundled/tbb41_20130401oss/src/CMakeFiles/obj_tbb.release.dir/all] Error 2
make[1]: *** 끝나지 않은 작업을 기다리고 있습니다....
[ 9%] Building CXX object
bundled/tbb41_20130401oss/src/CMakeFiles/obj_tbb.debug.dir/tbb/governor.cpp.o
/home/hanks318/deal_II/dealii-8.3.0/bundled/tbb41_20130401oss/src/tbb/concurrent_vector.cpp:
In member function ‘void
tbb::internal::concurrent_vector_base_v3::internal_throw_exception(tbb::internal::concurrent_vector_base_v3::size_type)
const’:
/home/hanks318/deal_II/dealii-8.3.0/bundled/tbb41_20130401oss/src/tbb/concurrent_vector.cpp:330:32:
warning: this statement may fall through [-Wimplicit-fallthrough=]
case 0: throw_exception(eid_out_of_range);
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
/home/hanks318/deal_II/dealii-8.3.0/bundled/tbb41_20130401oss/src/tbb/concurrent_vector.cpp:331:9:
note: here
case 1: throw_exception(eid_segment_range_error);
^~~~
/home/hanks318/deal_II/dealii-8.3.0/bundled/tbb41_20130401oss/src/tbb/concurrent_vector.cpp:331:32:
warning: this statement may fall through [-Wimplicit-fallthrough=]
case 1: throw_exception(eid_segment_range_error);
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
/home/hanks318/deal_II/dealii-8.3.0/bundled/tbb41_20130401oss/src/tbb/concurrent_vector.cpp:332:9:
note: here
case 2: throw_exception(eid_index_range_error);
^~~~
bundled/tbb41_20130401oss/src/CMakeFiles/obj_tbb.debug.dir/build.make:206:
recipe for target
'bundled/tbb41_20130401oss/src/CMakeFiles/obj_tbb.debug.dir/tbb/concurrent_vector.cpp.o'
failed
make[2]: ***
[bundled/tbb41_20130401oss/src/CMakeFiles/obj_tbb.debug.dir/tbb/concurrent_vector.cpp.o]
Error 1
make[2]: *** 끝나지 않은 작업을 기다리고 있습니다....
In file included from
/home/hanks318/deal_II/dealii-8.3.0/bundled/tbb41_20130401oss/include/tbb/task_scheduler_init.h:32:0,
from
/home/hanks318/deal_II/dealii-8.3.0/bundled/tbb41_20130401oss/src/tbb/governor.h:32,
from
/home/hanks318/deal_II/dealii-8.3.0/bundled/tbb41_20130401oss/src/tbb/governor.cpp:31:
/home/hanks318/deal_II/dealii-8.3.0/bundled/tbb41_20130401oss/src/tbb/governor.cpp:
In static member function ‘static __cilk_tbb_retcode
tbb::internal::governor::stack_op_handler(__cilk_tbb_stack_op, void*)’:
/home/hanks318/deal_II/dealii-8.3.0/bundled/tbb41_20130401oss/include/tbb/tbb_stddef.h:137:64:
warning: this statement may fall through [-Wimplicit-fallthrough=]
#define __TBB_ASSERT_NS(predicate,message,ns) ((predicate)?((void)0)
: ns::assertion_failure(__FILE__,__LINE__,#predicate,message))
~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/hanks318/deal_II/dealii-8.3.0/bundled/tbb41_20130401oss/include/tbb/tbb_stddef.h:147:45:
note: in expansion of macro ‘__TBB_ASSERT_NS’
#define __TBB_ASSERT(predicate,message)
__TBB_ASSERT_NS(predicate,message,tbb)
^~~~~~~~~~~~~~~
/home/hanks318/deal_II/dealii-8.3.0/bundled/tbb41_20130401oss/src/tbb/governor.cpp:253:13:
note: in expansion of macro ‘__TBB_ASSERT’
__TBB_ASSERT( 0, "invalid op" );
^~~~~~~~~~~~
/home/hanks318/deal_II/dealii-8.3.0/bundled/tbb41_20130401oss/src/tbb/governor.cpp:254:9:
note: here
case CILK_TBB_STACK_ADOPT: {
^~~~
CMakeFiles/Makefile2:687: recipe for target
'bundled/tbb41_20130401oss/src/CMakeFiles/obj_tbb.debug.dir/all' failed
make[1]: ***
[bundled/tbb41_20130401oss/src/CMakeFiles/obj_tbb.debug.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
I think the main difference between two computers is the version of ubuntu.
If you think this difference is the reason, should I have to reinstall the
ubuntu with the lower version...?
If it is not the reason, could you please let me know how to solve this
problem....?
Thank you in advance.
Kyusik.
--
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/dealii/21749b68-bf79-4dbe-a35a-8f17c7da09b4n%40googlegroups.com.