Dear Sir/Madam,
I have installed deal.II-v9.5.1 with hdf5, petsc and p4est packages using candi, following instructions available at
deal.II
has been installed successfully on Ubuntu 20.04.6 LTS. However, while
installing PRISMS-Plasticity I am getting an error during make and am
unable to proceed further.
I am using cmake version 3.27.0.
It appears that the
PRISMS-Plasticity code is incompatible with the latest version of
deal.II i.e. deal.II-v9.5.1.
Kindly check, and let me know if it is so.
kaushik@kaushik-HP-Pavilion-All-in-One-24-qa0xx:~/Software/candi$ cd plasticity/
kaushik@kaushik-HP-Pavilion-All-in-One-24-qa0xx:~/Software/candi/plasticity$ cmake .
CMake Deprecation Warning at CMakeLists.txt:5 (CMAKE_MINIMUM_REQUIRED):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- Using the deal.II-9.5.1 installation found at /home/kaushik/dealii-candi/deal.II-v9.5.1
-- Include macro /home/kaushik/dealii-candi/deal.II-v9.5.1/share/deal.II/macros/macro_deal_ii_add_test.cmake
-- Include macro /home/kaushik/dealii-candi/deal.II-v9.5.1/share/deal.II/macros/macro_deal_ii_initialize_cached_variables.cmake
-- Include macro /home/kaushik/dealii-candi/deal.II-v9.5.1/share/deal.II/macros/macro_deal_ii_invoke_autopilot.cmake
-- Include macro /home/kaushik/dealii-candi/deal.II-v9.5.1/share/deal.II/macros/macro_deal_ii_pickup_tests.cmake
-- Include macro /home/kaushik/dealii-candi/deal.II-v9.5.1/share/deal.II/macros/macro_deal_ii_query_git_information.cmake
-- Include macro /home/kaushik/dealii-candi/deal.II-v9.5.1/share/deal.II/macros/macro_deal_ii_setup_target.cmake
-- Include macro /home/kaushik/dealii-candi/deal.II-v9.5.1/share/deal.II/macros/macro_shell_escape_option_groups.cmake
-- Include macro /home/kaushik/dealii-candi/deal.II-v9.5.1/share/deal.II/macros/macro_target_compile_flags.cmake
-- Include macro /home/kaushik/dealii-candi/deal.II-v9.5.1/share/deal.II/macros/macro_target_link_flags.cmake
-- The C compiler identification is GNU 10.3.0
-- The CXX compiler identification is GNU 10.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/mpicxx - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/kaushik/Software/candi/plasticity
kaushik@kaushik-HP-Pavilion-All-in-One-24-qa0xx:~/Software/candi/plasticity$ make
Consolidate compiler generated dependencies of target prisms_cp_debug
[ 1%] Building CXX object CMakeFiles/prisms_cp_debug.dir/src/ellipticBVP/applyInitialConditions.cc.o
/home/kaushik/Software/candi/plasticity/src/ellipticBVP/applyInitialConditions.cc: In member function ‘void ellipticBVP<dim>::applyInitialConditions()’:
/home/kaushik/Software/candi/plasticity/src/ellipticBVP/applyInitialConditions.cc:10:8: error: ‘ZeroFunction’ was not declared in this scope; did you mean ‘dealii::Functions::ZeroFunction’?
10 | ZeroFunction<dim>(dim),
| ^~~~~~~~~~~~
| dealii::Functions::ZeroFunction
In file included from /home/kaushik/Software/candi/plasticity/src/ellipticBVP/../../include/dealIIheaders.h:3,
from /home/kaushik/Software/candi/plasticity/src/ellipticBVP/../../include/ellipticBVP.h:6,
from /home/kaushik/Software/candi/plasticity/src/ellipticBVP/applyInitialConditions.cc:2:
/home/kaushik/dealii-candi/deal.II-v9.5.1/include/deal.II/base/function.h:510:9: note: ‘dealii::Functions::ZeroFunction’ declared here
510 | class ZeroFunction : public ConstantFunction<dim, RangeNumberType>
| ^~~~~~~~~~~~
make[2]: *** [CMakeFiles/prisms_cp_debug.dir/build.make:90: CMakeFiles/prisms_cp_debug.dir/src/ellipticBVP/applyInitialConditions.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:88: CMakeFiles/prisms_cp_debug.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
Regards,
Kaushik Das