Hi Alex, I previously ran into a lot of issues when I tried to install dealii on our institute's cluster. The OS was different though and I had problems with PETSc.
I don't know if this helps but this is the relevant section in dealii-9.2.0/cmake/modules/FindTRILINOS.cmake file which searches for epetra. # Look for Epetra_config.h - we'll query it to determine MPI and 64bit # indices support: # DEAL_II_FIND_FILE(EPETRA_CONFIG_H Epetra_config.h HINTS ${Trilinos_INCLUDE_DIRS} NO_DEFAULT_PATH NO_CMAKE_ENVIRONMENT_PATH NO_CMAKE_PATH NO_SYSTEM_ENVIRONMENT_PATH NO_CMAKE_SYSTEM_PATH NO_CMAKE_FIND_ROOT_PATH ) Notice the hint: it is Trilinos_INCLUDE_DIRS and not TRILINOS_INCLUDE_DIRS. If your dealii version also has Trilinos in smallcase, then maybe making this change will do the job. You may even try manually adding the full path in the cmake module file as a hint. Hope this helps Vachan On Thu, 3 Jun 2021 at 15:07, Alex Cumberworth < alexandercumberwo...@gmail.com> wrote: > Hello, > > The file does exist and is readable. If I set a manual include flag it is > able to find it: > > CMAKE_CXX_FLAGS_DEBUGRELEASE > -I/opt/ohpc/pub/libs/gnu9/openmpi4/trilinos/13.0.0/include > > then it is able to get past this point. From the output in my previous > message, it seems that cmake is not looking in the right place for these > header files, and I have no idea how to set this properly: > > -- TRILINOS_INCLUDE_DIRS: > /include;/opt/ohpc/pub/libs/gnu9/openmpi4/hdf5/1.10.6/include;/usr/include;/opt/ohpc/pub/libs/gnu9/openmpi4/boost/1.73.0/include > -- TRILINOS_USER_INCLUDE_DIRS: > /include;/opt/ohpc/pub/libs/gnu9/openmpi4/hdf5/1.10.6/include;/usr/include;/opt/ohpc/pub/libs/gnu9/openmpi4/boost/1.73.0/include > > There are further issues past this point, but perhaps if I understand the > problem here that will help with the later issues. > > Best, > Alex > > On Tuesday, June 1, 2021 at 9:02:12 p.m. UTC+2 Wolfgang Bangerth wrote: > >> >> Alex, >> >> > I have also tried >> > >> > cmake -DTRILINOS_DIR=/opt/ohpc/pub/libs/gnu9/openmpi4/trilinos/13.0.0 >> .. >> > >> > It is also unable to find the epetra header file. >> >> I can not tell why that would be so (but you should be able to find out >> by >> searching for the place in CMakeFiles/CMakeErrors.log where it shows you >> the >> command that was executed to find that file). It may be that the file >> just >> doesn't exist. It may be that it's not readable. It may be that the >> compiler >> finds an error in it. >> >> If you can't figure out how to use that installation, why not install >> Trilinos >> yourself in your home directory and take it from there? >> >> Best >> W. >> >> >> -- >> ------------------------------------------------------------------------ >> Wolfgang Bangerth email: bang...@colostate.edu >> 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 dealii+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/dealii/1f525829-638b-42f4-badd-01d70d5de9efn%40googlegroups.com > <https://groups.google.com/d/msgid/dealii/1f525829-638b-42f4-badd-01d70d5de9efn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CALAVa_zno1mbLsVjfDon5OPH%3DZF_ifvU7V4na8amA-71c-69nw%40mail.gmail.com.