installation problem

49 views
Skip to first unread message

Paola GERVASIO

unread,
Aug 14, 2025, 6:45:47 AMAug 14
to deal.II User Group
Dear dealii developers, 

I'm trying to install dealii-9.7.0 on ubuntu24.04.

I have chosen candi:
sudo apt-get update
  sudo apt-get upgrade
  git clone https://github.com/dealii/candi.git
  cd candi
./candi.sh -p "/usr/local/dealii-9.7.0" -j8

After all external libraries have been successfully installed, and dealii has been downloaded, the script gets stuck on this message (one single core continues to work with a load of about 90-100%):

-- Include /usr/local/dealii-9.7.0/tmp/unpack/deal.II-v9.7.0/cmake/setup_sanity_checks.cmake
-- Performing Test DEAL_II_HAVE_USABLE_FLAGS_DEBUG

How much time could this step require?

Yesterday, I stopped the script after it had been stuck on this message for two hours. 
Today, I'm repeating the process from the beginning, but again, the script gets stuck at the same point.

May you give me any hints?

Yesterday, I also tried to install dealII by following the instructions reported here: https://dealii.org/9.7.0/readme.html, but similarly, cmake got stuck at the same point.

Thank you  
Paola



Informativa sulla Privacy: https://www.unibs.it/it/node/1452

Wolfgang Bangerth

unread,
Aug 14, 2025, 8:55:26 AMAug 14
to dea...@googlegroups.com
On 8/14/25 04:04, 'Paola GERVASIO' via deal.II User Group wrote:
>
> -- Include /usr/local/dealii-9.7.0/tmp/unpack/deal.II-v9.7.0/cmake/
> setup_sanity_checks.cmake
> -- Performing Test DEAL_II_HAVE_USABLE_FLAGS_DEBUG
>
> How much time could this step require?
>
> Yesterday, I stopped the script after it had been stuck on this message for
> two hours.
> Today, I'm repeating the process from the beginning, but again, the script
> gets stuck at the same point.
>
> May you give me any hints?
>
> Yesterday, I also tried to install dealII by following the instructions
> reported here: https://dealii.org/9.7.0/readme.html, but similarly, cmake got
> stuck at the same point.

Paola:
it should take less than a second for sure. What happens if you run things
with replacing
-p /usr/local/dealii-9.7.0
by something like
-p $HOME/bin/dealii-9.7.0
i.e., with the intention of installing in your home directory where you have
write privileges?

I don't think that's the issue, though.

Best
W.

Paola GERVASIO

unread,
Aug 14, 2025, 1:42:57 PMAug 14
to deal.II User Group
Thank you for your quick answer. 
I first tried as a non-root user with installation in my home folder, then as root with installation in /usr/local, but the result was always the same.

Meanwhile, I figured out why it got stuck: I had pre-installed vtk. 
After uninstalling vtk, the execution of candi.sh continued after that point, and the compilation of dealii finished successfully.

Best,
Paola


Jason Landini

unread,
Aug 18, 2025, 3:19:47 PMAug 18
to dea...@googlegroups.com
Hey, 

Bringing this issue up again since I have the same issue when I try to install deal.II 9.7.0 with vtk using the candi script.

Here are the additional flags I pass in the candi script:
DEAL_II_CONFOPTS="-DDEAL_II_ALLOW_AUTODETECTION=OFF -DDEAL_II_WITH_VTK=ON -DVTK_DIR=~/vtk/install"

I built vtk from source with mpi in release mode. It does not hang at the debug flag check when vtk is off.

The behavior seems to be the same with a more minimal configuration using the 9.7.0 release and
cmake -DDEAL_II_ALLOW_AUTODETECTION=OFF -DDEAL_II_WITH_MPI=ON -DDEAL_II_WITH_VTK=ON -DVTK_DIR=~/vtk/install ../dealii-9.7.0

Best,
Jason



Informativa sulla Privacy: https://www.unibs.it/it/node/1452

--
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+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/dealii/d4ed9ccd-442f-46e0-800f-1b4c60e8c10dn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages