dealii / candi

candi - (Compile & Install) - Downloads, configures, builds and installs deal.II
GNU Lesser General Public License v3.0
61 stars 61 forks source link

cmake on a broken mirror #365

Open LukasvdWiel opened 1 year ago

LukasvdWiel commented 1 year ago

Dear developer,

I am trying to run the latest candi, in order to install Deal2. The procedure insists on installing cmake, even while I have cmake already installed, and I explicity do not request it using the command:

./candi.sh --prefix=/trinity/opt/apps/software/Deal2/dealii-9.4.2/buildHere -j 32 --packages="opencascade parmetis hdf5 p4est trilinos symengine dealii" -y

I have checked the packages variable and see that cmake has been added before all the packages I requested:

packages: once:cmake opencascade parmetis hdf5 p4est trilinos symengine dealii

That would not even be so bad, but candi tries to download cmake from

https://tjhei.info/candi-mirror/cmake-3.20.5-linux-x86_64.tar.gz

and this website is down/broken/does not exist, breaking the install procedure.

How can I prevent cmake from being added to the list of to-be-installed packages?

Thanks a lot, Lukas

gassmoeller commented 1 year ago

Hi Lukas, I observe similar problems (although it eventually downloads for me after many failed tries). What should work is to comment out this line in candi.cfg: https://github.com/dealii/candi/blob/dc8e8d348533072bc189f5b52e6e9cd63956a22e/candi.cfg#L27

Then candi should download all necessary packages directly from the websites of their repositories, instead of the mirror site that seems to be broken right now.

koecher commented 1 year ago

Hi Lukas,

for me it sounds like, that your operating system (platform) is detected as centos7, for that platform we have an additional request for cmake in the file platform/supported/centos7.platform

Just comment out the last line with once:cmake there.

https://github.com/dealii/candi/blob/dc8e8d348533072bc189f5b52e6e9cd63956a22e/deal.II-toolchain/platforms/supported/centos7.platform#L40

Best Uwe

LukasvdWiel commented 1 year ago

Thank you both for the replies!

@gassmoeller I removed the mirror as you suggested. Then everything installs accept ParMetis. We already have an existing install of ParMetis and Candi and Deal2 picked that up nicely. Users of Aspect which used Deal2 have confirmed everything functions according to their wishes

@koecher Ah, that is good to know! I thought an existing cmake was enough, and that candi.cfg was a sort of central dashboard. It is good to know that there are more files I have to keep in mind.