Thank you, Wolfgang I installed petsc with homebrew since I am on a mac
What you suggested seems to have worked and the deal.II installation is running with no issues so far. However, should mention that in the in candi.cfg package list, I had to switch the flag for petsci from "once" to "load". i.e., PACKAGES="${PACKAGES} *load*:petsc" Otherwise it kept trying to download and build *petsc 3.19.0*, and failing. Best, David On Friday, March 14, 2025 at 7:40:26 PM UTC-4 Wolfgang Bangerth wrote: > On 3/14/25 14:49, David Montiel wrote: > > > > When I ran the installation script, candi.sh, I got the error message > below. > > However, I managed to successfully install a newer version of petsc > externally. > > > > Now the issue is: I would like to the script to avoid downloading and > trying > > to install the default version petsc and instead indicate the path where > I > > installed so it can add it as a component. > > > > Can this be done? > > Yes, deal.II is happy to use an externally installed version of PETSc. In > fact, the easiest way to install deal.II with PETSc is to just use > apt install petsc-dev > or the equivalent on whatever system you are using. If installed this way, > deal.II's cmake script will find it and use it. > > 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 visit https://groups.google.com/d/msgid/dealii/273f5272-7785-4307-95d9-c1262ffaedbdn%40googlegroups.com.