Re: [deal.II] Re: Trouble getting UMFPACK to work

2022-07-05 Thread 陈敏
You can install lapack/blas of netlib version or openblas version or intel
mkl version

best
chen

On Wed, Jul 6, 2022 at 1:05 PM ME20D503 NEWTON  wrote:

> Dear Daniel,
> i am getting this while running cmake-DDEAL_II_WITH_UMFPACK=ON, can you
> please see  the highlighted output?
>
> 
>
>  No source or binary directory provided.  Both will be assumed to be the
>   same as the current working directory, but note that this warning will
>   become a fatal error in future CMake releases.
>
>
> -- This is CMake 3.16.3
> --
> -- Include /home/newton/fem/dealii-9.2.0/cmake/setup_external_macros.cmake
> -- Include /home/newton/fem/dealii-9.2.0/cmake/macros/macro_add_flags.cmake
> -- Include
> /home/newton/fem/dealii-9.2.0/cmake/macros/macro_check_compiler_setup.cmake
> -- Include
> /home/newton/fem/dealii-9.2.0/cmake/macros/macro_check_cxx_compiler_bug.cmake
> -- Include
> /home/newton/fem/dealii-9.2.0/cmake/macros/macro_check_mpi_interface.cmake
> -- Include
> /home/newton/fem/dealii-9.2.0/cmake/macros/macro_clear_cmake_required.cmake
> -- Include
> /home/newton/fem/dealii-9.2.0/cmake/macros/macro_configure_feature.cmake
> -- Include
> /home/newton/fem/dealii-9.2.0/cmake/macros/macro_deal_ii_add_definitions.cmake
> -- Include
> /home/newton/fem/dealii-9.2.0/cmake/macros/macro_deal_ii_add_library.cmake
> -- Include
> /home/newton/fem/dealii-9.2.0/cmake/macros/macro_deal_ii_add_test.cmake
> -- Include
> /home/newton/fem/dealii-9.2.0/cmake/macros/macro_deal_ii_find_file.cmake
> -- Include
> /home/newton/fem/dealii-9.2.0/cmake/macros/macro_deal_ii_find_library.cmake
> -- Include
> /home/newton/fem/dealii-9.2.0/cmake/macros/macro_deal_ii_find_path.cmake
> -- Include
> /home/newton/fem/dealii-9.2.0/cmake/macros/macro_deal_ii_find_program.cmake
> -- Include
> /home/newton/fem/dealii-9.2.0/cmake/macros/macro_deal_ii_initialize_cached_variables.cmake
> -- Include
> /home/newton/fem/dealii-9.2.0/cmake/macros/macro_deal_ii_insource_setup_target.cmake
> -- Include
> /home/newton/fem/dealii-9.2.0/cmake/macros/macro_deal_ii_invoke_autopilot.cmake
> -- Include
> /home/newton/fem/dealii-9.2.0/cmake/macros/macro_deal_ii_package_handle.cmake
> -- Include
> /home/newton/fem/dealii-9.2.0/cmake/macros/macro_deal_ii_pickup_tests.cmake
> -- Include
> /home/newton/fem/dealii-9.2.0/cmake/macros/macro_deal_ii_query_git_information.cmake
> -- Include
> /home/newton/fem/dealii-9.2.0/cmake/macros/macro_deal_ii_setup_target.cmake
> -- Include
> /home/newton/fem/dealii-9.2.0/cmake/macros/macro_decorate_with_stars.cmake
> -- Include
> /home/newton/fem/dealii-9.2.0/cmake/macros/macro_enable_if_links.cmake
> -- Include
> /home/newton/fem/dealii-9.2.0/cmake/macros/macro_enable_if_supported.cmake
> -- Include
> /home/newton/fem/dealii-9.2.0/cmake/macros/macro_enable_language_optional.cmake
> -- Include
> /home/newton/fem/dealii-9.2.0/cmake/macros/macro_evaluate_expression.cmake
> -- Include
> /home/newton/fem/dealii-9.2.0/cmake/macros/macro_expand_instantiations.cmake
> -- Include
> /home/newton/fem/dealii-9.2.0/cmake/macros/macro_filter_system_libraries.cmake
> -- Include
> /home/newton/fem/dealii-9.2.0/cmake/macros/macro_find_package.cmake
> -- Include
> /home/newton/fem/dealii-9.2.0/cmake/macros/macro_find_system_library.cmake
> -- Include
> /home/newton/fem/dealii-9.2.0/cmake/macros/macro_item_matches.cmake
> -- Include
> /home/newton/fem/dealii-9.2.0/cmake/macros/macro_purge_feature.cmake
> -- Include
> /home/newton/fem/dealii-9.2.0/cmake/macros/macro_register_feature.cmake
> -- Include
> /home/newton/fem/dealii-9.2.0/cmake/macros/macro_remove_duplicates.cmake
> -- Include
> /home/newton/fem/dealii-9.2.0/cmake/macros/macro_replace_flag.cmake
> -- Include
> /home/newton/fem/dealii-9.2.0/cmake/macros/macro_reset_cmake_required.cmake
> -- Include
> /home/newton/fem/dealii-9.2.0/cmake/macros/macro_set_if_empty.cmake
> -- Include
> /home/newton/fem/dealii-9.2.0/cmake/macros/macro_setup_source_list.cmake
> -- Include
> /home/newton/fem/dealii-9.2.0/cmake/macros/macro_setup_unity_target.cmake
> -- Include
> /home/newton/fem/dealii-9.2.0/cmake/macros/macro_strip_flag.cmake
> -- Include
> /home/newton/fem/dealii-9.2.0/cmake/macros/macro_switch_library_preference.cmake
> -- Include /home/newton/fem/dealii-9.2.0/cmake/macros/macro_to_string.cmake
> -- Include
> /home/newton/fem/dealii-9.2.0/cmake/macros/macro_to_string_and_add_prefix.cmake
> -- Include
> /home/newton/fem/dealii-9.2.0/cmake/macros/macro_unset_if_changed.cmake
> -- Include
> /home/newton/fem/dealii-9.2.0/cmake/macros/macro_verbose_include.cmake
> --
> -- Include /home/newton/fem/dealii-9.2.0/cmake/setup_cached_variables.cmake
> -- Prepending ${CUDA_NVCC_FLAGS} to ${DEAL_II_CUDA_FLAGS}
> -- The CXX compiler identification is GNU 9.4.0
> -- The C compiler identification is GNU 9.4.0
> -- 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 

Re: [deal.II] Re: Trouble getting UMFPACK to work

2022-07-05 Thread ME20D503 NEWTON
Dear Daniel,
i am getting this while running cmake-DDEAL_II_WITH_UMFPACK=ON, can you 
please see  the highlighted output?



 No source or binary directory provided.  Both will be assumed to be the
  same as the current working directory, but note that this warning will
  become a fatal error in future CMake releases.


-- This is CMake 3.16.3
-- 
-- Include /home/newton/fem/dealii-9.2.0/cmake/setup_external_macros.cmake
-- Include /home/newton/fem/dealii-9.2.0/cmake/macros/macro_add_flags.cmake
-- Include 
/home/newton/fem/dealii-9.2.0/cmake/macros/macro_check_compiler_setup.cmake
-- Include 
/home/newton/fem/dealii-9.2.0/cmake/macros/macro_check_cxx_compiler_bug.cmake
-- Include 
/home/newton/fem/dealii-9.2.0/cmake/macros/macro_check_mpi_interface.cmake
-- Include 
/home/newton/fem/dealii-9.2.0/cmake/macros/macro_clear_cmake_required.cmake
-- Include 
/home/newton/fem/dealii-9.2.0/cmake/macros/macro_configure_feature.cmake
-- Include 
/home/newton/fem/dealii-9.2.0/cmake/macros/macro_deal_ii_add_definitions.cmake
-- Include 
/home/newton/fem/dealii-9.2.0/cmake/macros/macro_deal_ii_add_library.cmake
-- Include 
/home/newton/fem/dealii-9.2.0/cmake/macros/macro_deal_ii_add_test.cmake
-- Include 
/home/newton/fem/dealii-9.2.0/cmake/macros/macro_deal_ii_find_file.cmake
-- Include 
/home/newton/fem/dealii-9.2.0/cmake/macros/macro_deal_ii_find_library.cmake
-- Include 
/home/newton/fem/dealii-9.2.0/cmake/macros/macro_deal_ii_find_path.cmake
-- Include 
/home/newton/fem/dealii-9.2.0/cmake/macros/macro_deal_ii_find_program.cmake
-- Include 
/home/newton/fem/dealii-9.2.0/cmake/macros/macro_deal_ii_initialize_cached_variables.cmake
-- Include 
/home/newton/fem/dealii-9.2.0/cmake/macros/macro_deal_ii_insource_setup_target.cmake
-- Include 
/home/newton/fem/dealii-9.2.0/cmake/macros/macro_deal_ii_invoke_autopilot.cmake
-- Include 
/home/newton/fem/dealii-9.2.0/cmake/macros/macro_deal_ii_package_handle.cmake
-- Include 
/home/newton/fem/dealii-9.2.0/cmake/macros/macro_deal_ii_pickup_tests.cmake
-- Include 
/home/newton/fem/dealii-9.2.0/cmake/macros/macro_deal_ii_query_git_information.cmake
-- Include 
/home/newton/fem/dealii-9.2.0/cmake/macros/macro_deal_ii_setup_target.cmake
-- Include 
/home/newton/fem/dealii-9.2.0/cmake/macros/macro_decorate_with_stars.cmake
-- Include 
/home/newton/fem/dealii-9.2.0/cmake/macros/macro_enable_if_links.cmake
-- Include 
/home/newton/fem/dealii-9.2.0/cmake/macros/macro_enable_if_supported.cmake
-- Include 
/home/newton/fem/dealii-9.2.0/cmake/macros/macro_enable_language_optional.cmake
-- Include 
/home/newton/fem/dealii-9.2.0/cmake/macros/macro_evaluate_expression.cmake
-- Include 
/home/newton/fem/dealii-9.2.0/cmake/macros/macro_expand_instantiations.cmake
-- Include 
/home/newton/fem/dealii-9.2.0/cmake/macros/macro_filter_system_libraries.cmake
-- Include 
/home/newton/fem/dealii-9.2.0/cmake/macros/macro_find_package.cmake
-- Include 
/home/newton/fem/dealii-9.2.0/cmake/macros/macro_find_system_library.cmake
-- Include 
/home/newton/fem/dealii-9.2.0/cmake/macros/macro_item_matches.cmake
-- Include 
/home/newton/fem/dealii-9.2.0/cmake/macros/macro_purge_feature.cmake
-- Include 
/home/newton/fem/dealii-9.2.0/cmake/macros/macro_register_feature.cmake
-- Include 
/home/newton/fem/dealii-9.2.0/cmake/macros/macro_remove_duplicates.cmake
-- Include 
/home/newton/fem/dealii-9.2.0/cmake/macros/macro_replace_flag.cmake
-- Include 
/home/newton/fem/dealii-9.2.0/cmake/macros/macro_reset_cmake_required.cmake
-- Include 
/home/newton/fem/dealii-9.2.0/cmake/macros/macro_set_if_empty.cmake
-- Include 
/home/newton/fem/dealii-9.2.0/cmake/macros/macro_setup_source_list.cmake
-- Include 
/home/newton/fem/dealii-9.2.0/cmake/macros/macro_setup_unity_target.cmake
-- Include /home/newton/fem/dealii-9.2.0/cmake/macros/macro_strip_flag.cmake
-- Include 
/home/newton/fem/dealii-9.2.0/cmake/macros/macro_switch_library_preference.cmake
-- Include /home/newton/fem/dealii-9.2.0/cmake/macros/macro_to_string.cmake
-- Include 
/home/newton/fem/dealii-9.2.0/cmake/macros/macro_to_string_and_add_prefix.cmake
-- Include 
/home/newton/fem/dealii-9.2.0/cmake/macros/macro_unset_if_changed.cmake
-- Include 
/home/newton/fem/dealii-9.2.0/cmake/macros/macro_verbose_include.cmake
-- 
-- Include /home/newton/fem/dealii-9.2.0/cmake/setup_cached_variables.cmake
-- Prepending ${CUDA_NVCC_FLAGS} to ${DEAL_II_CUDA_FLAGS}
-- The CXX compiler identification is GNU 9.4.0
-- The C compiler identification is GNU 9.4.0
-- 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
-- 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 

Re: [deal.II] Re: Trouble getting UMFPACK to work

2022-07-05 Thread Daniel Arndt
What does the log for running
cmake -DDEAL_II_WITH_UMFPACK=ON .
look like? The summary printed at the end should tell you if `UMFPACK`
really was found. N=Any problems in finding a compatible library should be
contained in the output printed when running the CMake command.

Best,
Daniel

On Mon, Jul 4, 2022 at 12:25 PM ME20D503 NEWTON 
wrote:

> Hello everyone,
> which command i have to use to check whether UMFPACK is enabled or not??
> if it is OFF how to turn it ON??
>
> Thank you in advance.
>
> On Thursday, August 31, 2017 at 9:28:52 PM UTC+5:30 John wrote:
>
>> Hello everyone,
>>
>> I am currently using Deal II version 8.0.0. When I try to run a project I
>> am getting the following:
>>
>> 
>> Exception on processing:
>>
>> 
>> An error occurred in line <379> of file 
>> 
>> in function
>> void dealii::SparseDirectUMFPACK::factorize(const Matrix&) [with
>> Matrix = dealii::SparseMatrix]
>> The violated condition was:
>> false
>> The name and call sequence of the exception was:
>> ExcMessage("To call this function you need UMFPACK, but configured
>> deal.II without passing the necessary switch to 'cmake'. Please consult the
>> installation instructions in doc/readme.html.")
>> Additional Information:
>> To call this function you need UMFPACK, but configured deal.II without
>> passing the necessary switch to 'cmake'. Please consult the installation
>> instructions in doc/readme.html.
>>
>> Stacktrace:
>> ---
>> #0  /Downloads/deal.II/lib/libdeal_II.so.8.0.0: void
>> dealii::SparseDirectUMFPACK::factorize
>> >(dealii::SparseMatrix const&)
>> #1  step-3: TmsProblem::solve()
>> #2  step-3: TmsProblem::run()
>> #3  step-3: main
>> 
>>
>> Aborting!
>> 
>> CMake Error at CMakeFiles/run_target.cmake:6 (MESSAGE):
>>
>>
>>   Program terminated with exit code: 1
>>
>>
>> CMakeFiles/run.dir/build.make:57: recipe for target 'CMakeFiles/run'
>> failed
>> make[3]: *** [CMakeFiles/run] Error 1
>> CMakeFiles/Makefile2:264: recipe for target 'CMakeFiles/run.dir/all'
>> failed
>> make[2]: *** [CMakeFiles/run.dir/all] Error 2
>> CMakeFiles/Makefile2:271: recipe for target 'CMakeFiles/run.dir/rule'
>> failed
>> make[1]: *** [CMakeFiles/run.dir/rule] Error 2
>> Makefile:196: recipe for target 'run' failed
>> make: *** [run] Error 2
>>
>>
>>
>> I have tried "*cmake -DDEAL_II_WITH_UMFPACK=ON*" and "*cmake
>> -DDEAL_II_WITH_UMFPACK=ON -DUMFPACK_DIR=/Downloads/deal.II/bundled/umfpack
>> .*" and also  "*cmake -DDEAL_II_WITH_UMFPACK=ON
>> -DUMFPACK_DIR=/Downloads/deal.II/bundled/umfpack/UMFPACK .*" and then
>> following each of these with "*make*" and "*make run*". However, all of
>> these still end up giving me the same error as above. Can anyone help me
>> with getting umfpack to work? Thank you in advance.
>>
> --
> 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 dealii+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dealii/f8629e26-974f-4dd9-aa0e-99a198de0f96n%40googlegroups.com
> 
> .
>

-- 
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 dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/CAOYDWbLFsJycNqXUO44z52WHtGCWC42YCgjicXNdsui3A7wWVg%40mail.gmail.com.


[deal.II] Re: Trouble getting UMFPACK to work

2022-07-04 Thread ME20D503 NEWTON
Hello everyone,
which command i have to use to check whether UMFPACK is enabled or not?? if 
it is OFF how to turn it ON??

Thank you in advance.

On Thursday, August 31, 2017 at 9:28:52 PM UTC+5:30 John wrote:

> Hello everyone,
>
> I am currently using Deal II version 8.0.0. When I try to run a project I 
> am getting the following:
>
> 
> Exception on processing: 
>
> 
> An error occurred in line <379> of file 
>  
> in function
> void dealii::SparseDirectUMFPACK::factorize(const Matrix&) [with 
> Matrix = dealii::SparseMatrix]
> The violated condition was: 
> false
> The name and call sequence of the exception was:
> ExcMessage("To call this function you need UMFPACK, but configured 
> deal.II without passing the necessary switch to 'cmake'. Please consult the 
> installation instructions in doc/readme.html.")
> Additional Information: 
> To call this function you need UMFPACK, but configured deal.II without 
> passing the necessary switch to 'cmake'. Please consult the installation 
> instructions in doc/readme.html.
>
> Stacktrace:
> ---
> #0  /Downloads/deal.II/lib/libdeal_II.so.8.0.0: void 
> dealii::SparseDirectUMFPACK::factorize 
> >(dealii::SparseMatrix const&)
> #1  step-3: TmsProblem::solve()
> #2  step-3: TmsProblem::run()
> #3  step-3: main
> 
>
> Aborting!
> 
> CMake Error at CMakeFiles/run_target.cmake:6 (MESSAGE):
>   
>
>   Program terminated with exit code: 1
>
>
> CMakeFiles/run.dir/build.make:57: recipe for target 'CMakeFiles/run' failed
> make[3]: *** [CMakeFiles/run] Error 1
> CMakeFiles/Makefile2:264: recipe for target 'CMakeFiles/run.dir/all' failed
> make[2]: *** [CMakeFiles/run.dir/all] Error 2
> CMakeFiles/Makefile2:271: recipe for target 'CMakeFiles/run.dir/rule' 
> failed
> make[1]: *** [CMakeFiles/run.dir/rule] Error 2
> Makefile:196: recipe for target 'run' failed
> make: *** [run] Error 2
>
>
>
> I have tried "*cmake -DDEAL_II_WITH_UMFPACK=ON*" and "*cmake 
> -DDEAL_II_WITH_UMFPACK=ON -DUMFPACK_DIR=/Downloads/deal.II/bundled/umfpack 
> .*" and also  "*cmake -DDEAL_II_WITH_UMFPACK=ON 
> -DUMFPACK_DIR=/Downloads/deal.II/bundled/umfpack/UMFPACK .*" and then 
> following each of these with "*make*" and "*make run*". However, all of 
> these still end up giving me the same error as above. Can anyone help me 
> with getting umfpack to work? Thank you in advance.
>

-- 
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 dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/f8629e26-974f-4dd9-aa0e-99a198de0f96n%40googlegroups.com.


[deal.II] Re: Trouble getting UMFPACK to work

2019-02-13 Thread Darius Barreto
Hi John,

I am exactly getting the same error message?. How were you able to rectify 
it?.
Could you please help?.

Thanks



On Thursday, August 31, 2017 at 9:28:52 PM UTC+5:30, John wrote:
>
> Hello everyone,
>
> I am currently using Deal II version 8.0.0. When I try to run a project I 
> am getting the following:
>
> 
> Exception on processing: 
>
> 
> An error occurred in line <379> of file 
>  
> in function
> void dealii::SparseDirectUMFPACK::factorize(const Matrix&) [with 
> Matrix = dealii::SparseMatrix]
> The violated condition was: 
> false
> The name and call sequence of the exception was:
> ExcMessage("To call this function you need UMFPACK, but configured 
> deal.II without passing the necessary switch to 'cmake'. Please consult the 
> installation instructions in doc/readme.html.")
> Additional Information: 
> To call this function you need UMFPACK, but configured deal.II without 
> passing the necessary switch to 'cmake'. Please consult the installation 
> instructions in doc/readme.html.
>
> Stacktrace:
> ---
> #0  /Downloads/deal.II/lib/libdeal_II.so.8.0.0: void 
> dealii::SparseDirectUMFPACK::factorize 
> >(dealii::SparseMatrix const&)
> #1  step-3: TmsProblem::solve()
> #2  step-3: TmsProblem::run()
> #3  step-3: main
> 
>
> Aborting!
> 
> CMake Error at CMakeFiles/run_target.cmake:6 (MESSAGE):
>   
>
>   Program terminated with exit code: 1
>
>
> CMakeFiles/run.dir/build.make:57: recipe for target 'CMakeFiles/run' failed
> make[3]: *** [CMakeFiles/run] Error 1
> CMakeFiles/Makefile2:264: recipe for target 'CMakeFiles/run.dir/all' failed
> make[2]: *** [CMakeFiles/run.dir/all] Error 2
> CMakeFiles/Makefile2:271: recipe for target 'CMakeFiles/run.dir/rule' 
> failed
> make[1]: *** [CMakeFiles/run.dir/rule] Error 2
> Makefile:196: recipe for target 'run' failed
> make: *** [run] Error 2
>
>
>
> I have tried "*cmake -DDEAL_II_WITH_UMFPACK=ON*" and "*cmake 
> -DDEAL_II_WITH_UMFPACK=ON -DUMFPACK_DIR=/Downloads/deal.II/bundled/umfpack 
> .*" and also  "*cmake -DDEAL_II_WITH_UMFPACK=ON 
> -DUMFPACK_DIR=/Downloads/deal.II/bundled/umfpack/UMFPACK .*" and then 
> following each of these with "*make*" and "*make run*". However, all of 
> these still end up giving me the same error as above. Can anyone help me 
> with getting umfpack to work? Thank you in advance.
>

-- 
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 dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.