Error Installing dealii

Dear all, I need some help. I want to install aspect for my research,
then tried to install dealii in wsl2 ubuntu 22.04 and got this error:


candi tries now to download, configure, build and install:

Project: deal.II-toolchain
Platform: deal.II-toolchain/platforms/supported/ubuntu.platform

Loading dealii-prepare
Skipping cmake
Skipping astyle
Skipping hdf5
Skipping netcdf
Skipping sundials
Skipping p4est
trilinos: configuration with netCDF and SEACAS
Skipping trilinos
.package does not exist yet. Please create it.


Also tried to add .package manually (in trilinos directory and dealii), still not working. It always gives error for the non-existence of .package directory.

What should I do to solve this problem?
Thank you in advance for the help.

Ramadhan Adhitama

You probably made a typo in your candi.cfg.

I would strongly suggest you install the ubuntu packages, see Getting deal.II · dealii/dealii Wiki · GitHub

I still got the same error, even after re-installing ubuntu on wsl, used the local.cfg, and tried installing the ubuntu packages.

But now I can install it using Docker, so for the time being, I might stick with using ASPECT via Docker. Thank you for your help.

@adhitama I don’t precisely know what your candi.cfg looks like, but I think that the cause of all your trouble is the error “.package does not exist yet. Please create it.” This suggests to me that perhaps there’s an empty line in your candi.cfg that is interpreted as the name of a package with the empty string interpreted as the name of a package (which is then promptly not found).

Best
W.

If you install the ubuntu deal.II packages, there is no need to use candi because you already have deal.II installed. Just proceed by installing ASPECT.