Dear Simon,

Thank you very much, you are my life saver.

Due to your helps, I can restart my work.

But, I would like to study and understand these linux system to be 
professional like you.

In addition, it seems that I have to install deal.II again when my original 
computer is repaired.

So, could you recommend something like books or videos on youtube to study 
by myself?

Thank you again.

Kyusik.

2021년 3월 8일 월요일 오후 3시 17분 1초 UTC+9에 [email protected]님이 작성:

> Hi,
> You don't need to change ubuntu version. Instead, make sure you have 
> lapack installed:
>
> sudo apt-get install liblapack-dev
>
> then run cmake again with
>
> cmake -DDEAL_II_WITH_UMFPACK=ON -DDEAL_II_WITH_LAPACK=ON ..
>
> Note that the variable is called DEAL_II_WITH_LAPACK
> (and not DEAL_II_LAPACK).
>
> Best,
> Simon
>
> On Monday, March 8, 2021 at 2:15:57 AM UTC+1 [email protected] wrote:
>
>> Dear Simon,
>>
>> Thank you for your help again.
>>
>> I tried your suggestion, but the following error message appears...
>>
>> -- This is CMake 3.10.2
>> -- 
>> -- Include 
>> /home/hanks318/deal_II/dealii-8.3.0/cmake/setup_external_macros.cmake
>> -- Include 
>> /home/hanks318/deal_II/dealii-8.3.0/cmake/macros/macro_add_flags.cmake
>> -- Include 
>> /home/hanks318/deal_II/dealii-8.3.0/cmake/macros/macro_check_cxx_compiler_bug.cmake
>> -- Include 
>> /home/hanks318/deal_II/dealii-8.3.0/cmake/macros/macro_check_mpi_interface.cmake
>> -- Include 
>> /home/hanks318/deal_II/dealii-8.3.0/cmake/macros/macro_clear_cmake_required.cmake
>> -- Include 
>> /home/hanks318/deal_II/dealii-8.3.0/cmake/macros/macro_configure_feature.cmake
>> -- Include 
>> /home/hanks318/deal_II/dealii-8.3.0/cmake/macros/macro_deal_ii_add_definitions.cmake
>> -- Include 
>> /home/hanks318/deal_II/dealii-8.3.0/cmake/macros/macro_deal_ii_add_dependencies.cmake
>> -- Include 
>> /home/hanks318/deal_II/dealii-8.3.0/cmake/macros/macro_deal_ii_add_library.cmake
>> -- Include 
>> /home/hanks318/deal_II/dealii-8.3.0/cmake/macros/macro_deal_ii_add_test.cmake
>> -- Include 
>> /home/hanks318/deal_II/dealii-8.3.0/cmake/macros/macro_deal_ii_find_file.cmake
>> -- Include 
>> /home/hanks318/deal_II/dealii-8.3.0/cmake/macros/macro_deal_ii_find_library.cmake
>> -- Include 
>> /home/hanks318/deal_II/dealii-8.3.0/cmake/macros/macro_deal_ii_find_path.cmake
>> -- Include 
>> /home/hanks318/deal_II/dealii-8.3.0/cmake/macros/macro_deal_ii_initialize_cached_variables.cmake
>> -- Include 
>> /home/hanks318/deal_II/dealii-8.3.0/cmake/macros/macro_deal_ii_insource_setup_target.cmake
>> -- Include 
>> /home/hanks318/deal_II/dealii-8.3.0/cmake/macros/macro_deal_ii_invoke_autopilot.cmake
>> -- Include 
>> /home/hanks318/deal_II/dealii-8.3.0/cmake/macros/macro_deal_ii_package_handle.cmake
>> -- Include 
>> /home/hanks318/deal_II/dealii-8.3.0/cmake/macros/macro_deal_ii_pickup_tests.cmake
>> -- Include 
>> /home/hanks318/deal_II/dealii-8.3.0/cmake/macros/macro_deal_ii_query_git_information.cmake
>> -- Include 
>> /home/hanks318/deal_II/dealii-8.3.0/cmake/macros/macro_deal_ii_setup_target.cmake
>> -- Include 
>> /home/hanks318/deal_II/dealii-8.3.0/cmake/macros/macro_enable_if_links.cmake
>> -- Include 
>> /home/hanks318/deal_II/dealii-8.3.0/cmake/macros/macro_enable_if_supported.cmake
>> -- Include 
>> /home/hanks318/deal_II/dealii-8.3.0/cmake/macros/macro_enable_language_optional.cmake
>> -- Include 
>> /home/hanks318/deal_II/dealii-8.3.0/cmake/macros/macro_expand_instantiations.cmake
>> -- Include 
>> /home/hanks318/deal_II/dealii-8.3.0/cmake/macros/macro_filter_system_libraries.cmake
>> -- Include 
>> /home/hanks318/deal_II/dealii-8.3.0/cmake/macros/macro_find_package.cmake
>> -- Include 
>> /home/hanks318/deal_II/dealii-8.3.0/cmake/macros/macro_find_system_library.cmake
>> -- Include 
>> /home/hanks318/deal_II/dealii-8.3.0/cmake/macros/macro_item_matches.cmake
>> -- Include 
>> /home/hanks318/deal_II/dealii-8.3.0/cmake/macros/macro_purge_feature.cmake
>> -- Include 
>> /home/hanks318/deal_II/dealii-8.3.0/cmake/macros/macro_push_cmake_required.cmake
>> -- Include 
>> /home/hanks318/deal_II/dealii-8.3.0/cmake/macros/macro_register_feature.cmake
>> -- Include 
>> /home/hanks318/deal_II/dealii-8.3.0/cmake/macros/macro_remove_duplicates.cmake
>> -- Include 
>> /home/hanks318/deal_II/dealii-8.3.0/cmake/macros/macro_replace_flag.cmake
>> -- Include 
>> /home/hanks318/deal_II/dealii-8.3.0/cmake/macros/macro_reset_cmake_required.cmake
>> -- Include 
>> /home/hanks318/deal_II/dealii-8.3.0/cmake/macros/macro_set_if_empty.cmake
>> -- Include 
>> /home/hanks318/deal_II/dealii-8.3.0/cmake/macros/macro_strip_flag.cmake
>> -- Include 
>> /home/hanks318/deal_II/dealii-8.3.0/cmake/macros/macro_switch_library_preference.cmake
>> -- Include 
>> /home/hanks318/deal_II/dealii-8.3.0/cmake/macros/macro_to_string.cmake
>> -- Include 
>> /home/hanks318/deal_II/dealii-8.3.0/cmake/macros/macro_to_string_and_add_prefix.cmake
>> -- Include 
>> /home/hanks318/deal_II/dealii-8.3.0/cmake/macros/macro_verbose_include.cmake
>> -- 
>> -- Include 
>> /home/hanks318/deal_II/dealii-8.3.0/cmake/setup_cached_variables.cmake
>> -- 
>> -- Include /home/hanks318/deal_II/dealii-8.3.0/cmake/setup_deal_ii.cmake
>> -- 
>> -- Include 
>> /home/hanks318/deal_II/dealii-8.3.0/cmake/setup_compiler_flags.cmake
>> -- 
>> -- Include 
>> /home/hanks318/deal_II/dealii-8.3.0/cmake/setup_compiler_flags_gnu.cmake
>> -- 
>> -- Include /home/hanks318/deal_II/dealii-8.3.0/bundled/setup_bundled.cmake
>> -- 
>> -- Include 
>> /home/hanks318/deal_II/dealii-8.3.0/cmake/checks/check_01_compiler_features.cmake
>> -- 
>> -- Include 
>> /home/hanks318/deal_II/dealii-8.3.0/cmake/checks/check_01_cpu_features.cmake
>> -- 
>> -- Include 
>> /home/hanks318/deal_II/dealii-8.3.0/cmake/checks/check_01_cxx_features.cmake
>> -- Using C++ version flag "-std=c++14"
>> -- Using C++ version flag "-std=c++14"
>> -- DEAL_II_WITH_CXX11 successfully set up
>> -- DEAL_II_WITH_CXX14 successfully set up
>> -- 
>> -- Include 
>> /home/hanks318/deal_II/dealii-8.3.0/cmake/checks/check_02_system_features.cmake
>> -- 
>> -- Include 
>> /home/hanks318/deal_II/dealii-8.3.0/cmake/checks/check_03_compiler_bugs.cmake
>> -- 
>> -- Include 
>> /home/hanks318/deal_II/dealii-8.3.0/cmake/checks/check_03_generator_bugs.cmake
>> -- 
>> -- Include 
>> /home/hanks318/deal_II/dealii-8.3.0/cmake/configure/configure_1_bzip2.cmake
>> -- DEAL_II_WITH_BZIP2 is set to off.
>> -- 
>> -- Include 
>> /home/hanks318/deal_II/dealii-8.3.0/cmake/configure/configure_1_lapack.cmake
>> -- DEAL_II_WITH_LAPACK is set to off.
>> -- 
>> -- Include 
>> /home/hanks318/deal_II/dealii-8.3.0/cmake/configure/configure_1_mpi.cmake
>> -- DEAL_II_WITH_MPI is set to off.
>> -- 
>> -- Include 
>> /home/hanks318/deal_II/dealii-8.3.0/cmake/configure/configure_1_threads.cmake
>> -- Found TBB_LIBRARY
>> -- TBB_DEBUG_LIBRARY not found! Call:
>> --     FIND_LIBRARY(TBB_DEBUG_LIBRARY NAMES tbb_debug HINTS PATH_SUFFIXES 
>> lib lib64 lib)
>> -- Found TBB_INCLUDE_DIR
>> --   TBB_VERSION: 7.0
>> --   TBB_LIBRARIES: /usr/lib/x86_64-linux-gnu/libtbb.so
>> --   TBB_INCLUDE_DIRS: /usr/include
>> --   TBB_USER_INCLUDE_DIRS: /usr/include
>> -- Found TBB
>> -- DEAL_II_WITH_THREADS successfully set up with external dependencies.
>> -- 
>> -- Include 
>> /home/hanks318/deal_II/dealii-8.3.0/cmake/configure/configure_1_zlib.cmake
>> -- DEAL_II_WITH_ZLIB is set to off.
>> -- 
>> -- Include 
>> /home/hanks318/deal_II/dealii-8.3.0/cmake/configure/configure_2_metis.cmake
>> -- DEAL_II_WITH_METIS is set to off.
>> -- 
>> -- Include 
>> /home/hanks318/deal_II/dealii-8.3.0/cmake/configure/configure_2_trilinos.cmake
>> -- DEAL_II_WITH_TRILINOS is set to off.
>> -- 
>> -- Include 
>> /home/hanks318/deal_II/dealii-8.3.0/cmake/configure/configure_2_umfpack.cmake
>> CMake Error at cmake/macros/macro_configure_feature.cmake:198 (MESSAGE):
>>   
>>
>>   DEAL_II_WITH_UMFPACK has unmet configuration requirements:
>>   DEAL_II_WITH_LAPACK has to be set to "ON".
>>
>>   
>>
>> Call Stack (most recent call first):
>>   cmake/configure/configure_2_umfpack.cmake:46 (CONFIGURE_FEATURE)
>>   cmake/macros/macro_verbose_include.cmake:19 (INCLUDE)
>>   CMakeLists.txt:119 (VERBOSE_INCLUDE)
>>
>>
>>
>> -- Configuring incomplete, errors occurred!
>> See also 
>> "/home/hanks318/deal_II/dealii-8.3.0/build/CMakeFiles/CMakeOutput.log".
>> See also 
>> "/home/hanks318/deal_II/dealii-8.3.0/build/CMakeFiles/CMakeError.log".
>>
>>
>>
>> So, I tried "cmake -DDEAL_II_LAPACK=ON ../". But, it didn't work out...
>>
>> Do you think all of my problems could have been solved by using the lower 
>> version of Ubuntu....?
>>
>> Thank you in advance.
>>
>> Kyusik.
>>
>> 2021년 3월 7일 일요일 오후 8시 2분 31초 UTC+9에 [email protected]님이 작성:
>>
>>> Hi,
>>> You don't need to change compiler. You just need to enable Umfpack when 
>>> you install dealii. In your dealii build directory call:
>>>
>>> cmake -DDEAL_II_WITH_UMFPACK = ON ..
>>> make
>>> make install
>>>
>>> Best,
>>> Simon
>>>
>>> On Sunday, March 7, 2021 at 11:14:09 AM UTC+1 [email protected] wrote:
>>>
>>>> Dear Drs. Simon and Wolfgang,
>>>>
>>>> Thank you very much for your kind explanation.
>>>>
>>>> Due to your helps, the problem is solved. However, the other problem 
>>>> happens...
>>>>
>>>> When I run the step-6 example, there is no problem at all. But, when I 
>>>> run the step-29 exmaple which includes the direct solver, the following 
>>>> error message appears...
>>>>
>>>> CMake Error at CMakeLists.txt:41 (MESSAGE):
>>>>   
>>>>
>>>>   Error! The deal.II library found at /home/hanks318/deal_II/dealii_830 
>>>> was
>>>>   not configured with
>>>>
>>>>       DEAL_II_WITH_UMFPACK = ON
>>>>
>>>>   One or all of these are OFF in your installation but are required for 
>>>> this
>>>>   tutorial step.
>>>>
>>>>
>>>> -- Configuring incomplete, errors occurred!
>>>> hanks318@hanks318-RV420-RV520-RV720-E3530-S3530-E3420-E3520:~/deal_II/dealii_830/examples/step-29$
>>>>  
>>>> cmake -DDEAL_II_DIR=/home/hanks318/deal_II/dealii_830 .
>>>> CMake Error at CMakeLists.txt:41 (MESSAGE):
>>>>   
>>>>
>>>>   Error! The deal.II library found at /home/hanks318/deal_II/dealii_830 
>>>> was
>>>>   not configured with
>>>>
>>>>       DEAL_II_WITH_UMFPACK = ON
>>>>
>>>>   One or all of these are OFF in your installation but are required for 
>>>> this
>>>>   tutorial step.
>>>>
>>>>
>>>> -- Configuring incomplete, errors occurred!
>>>>
>>>>
>>>> As Dr. Wolfgang mentioned,  do I have to change the version of 
>>>> compiler...?
>>>>
>>>> If you don't mind, could you please let me know how to downgrade the 
>>>> version of complier...?
>>>>
>>>> Thank you in advance.
>>>>
>>>> Kyusik.
>>>>
>>>>
>>>>
>>>> 2021년 3월 7일 일요일 오전 6시 3분 53초 UTC+9에 Wolfgang Bangerth님이 작성:
>>>>
>>>>> On 3/6/21 1:47 PM, [email protected] wrote: 
>>>>> > 
>>>>> > For some reason, compilation of the bundled version of tbb failed. I 
>>>>> don't 
>>>>> > understand why, 
>>>>>
>>>>> You are using a relatively new compiler with a relative old version of 
>>>>> the TBB 
>>>>> that was bundled with deal.II at the time. Compiler's understanding of 
>>>>> what is 
>>>>> correct C++ changes over time, and not all old code can be compiled 
>>>>> any more 
>>>>> with newer compilers -- you are running into one of these isues. 
>>>>>
>>>>> Simon's suggestion is exactly what is necessary. 
>>>>>
>>>>> Best 
>>>>> W. 
>>>>>
>>>>> -- 
>>>>> ------------------------------------------------------------------------ 
>>>>>
>>>>> Wolfgang Bangerth email: [email protected] 
>>>>> www: http://www.math.colostate.edu/~bangerth/ 
>>>>>
>>>>>

-- 
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/1b4e09fa-207f-4ba2-83c7-8040fe2c7569n%40googlegroups.com.

Reply via email to