dealii installation error - non-existent path when running "make test"

107 views
Skip to first unread message

Mark Simmons

unread,
Aug 27, 2024, 9:43:28 AM8/27/24
to deal.II User Group
Hello,

I am in the process of reinstalling dealii on my computer and I am able to generate the build files and install everything. However, when I try to run "make test" I  get a strange error. Attached is also my detailed and summary log.

 I currently am running the following commands for generating the build files. 

cmake -DDEAL_II_WITH_PETSC=ON -DCMAKE_INSTALL_PREFIX=/storage/mbsimmon/CODES_DEAL_II/COMPUTE_12/DEAL_II_INSTAL
L -DPETSC_DIR=$PETSC_DIR -DPETSC_ARCH=$PETSC_ARCH -DDEAL_II_WITH_MPI=ON -DDEAL_II_WITH_HDF5=OFF ..

and then this command to install

make --jobs=32 install

when I run

make test

I get the error pasted at the end of this message. Note that I get this error multiple times and sometimes it says Imported target "dealii::dealii_release
as well as Imported target "dealii::dealii_debug.



CMake Error in CMakeLists.txt:
 Imported target "dealii::dealii_debug" includes non-existent path

   "/usr/include/openmpi-x86_64/hypre"

 in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

 * The path was deleted, renamed, or moved to another location.

 * An install or uninstall procedure did not complete successfully.

 * The installation package was faulty and references files it does not
 provide.

Thanks for any help,
Mark


detailed.log
summary.log

Mark Simmons

unread,
Aug 27, 2024, 9:46:54 AM8/27/24
to deal.II User Group
Also note that I have installed petsc using the following commands:

./configure  --download-f-blaslapack=1 --with-shared-libraries=1 --download-hypre=1 --download-mumps=1 --download-spooles=1 --download-scalapack=1 --download-metis=1 --download-parmetis=1 --download-blacs=1 --with-debugging=0 --with-x=0
make all check.

I get no errors and pass all tests when checking if installation was done correctly. 

Final note, the above commands are done in the build directory inside the dealii directory.

Mark Simmons

unread,
Aug 27, 2024, 9:48:46 AM8/27/24
to deal.II User Group
the commands for petsc are done in a separate directory... the first message commands are done in the dealii directory. Sorry for the confusion.


Mark Simmons

unread,
Aug 27, 2024, 4:24:56 PM8/27/24
to deal.II User Group
I think I found where the issue is but I am not sure how to solve it. When I am running cmake to generate the build files, I see this line in green.

    INCLUDE_DIRECTORIES: /storage/mbsimmon/EXTERNAL_SOFTWARES/COMPUTE_12/petsc/include;/storage/mbsimmon/EXTERNAL_SOFTWARES/COMPUTE_12/
petsc/arch-linux2-c-debug/include;/usr/include;/usr/include/openmpi-x86_64/petsc;/usr/lib64/gfortran/modules/openmpi/petsc;/usr/include/op
enmpi-x86_64/hypre
;/usr/include/openmpi-x86_64/superlu_dist


However, I am checking my directory in that location and it doesn't even exist... How can I fix it?

Mark Simmons

unread,
Aug 29, 2024, 9:14:32 AM8/29/24
to deal.II User Group
I am closing this conversation since it's an issue on the server side of my department.
Reply all
Reply to author
Forward
0 new messages