Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmake on a broken mirror #365

Open
LukasvdWiel opened this issue Oct 6, 2023 · 3 comments
Open

cmake on a broken mirror #365

LukasvdWiel opened this issue Oct 6, 2023 · 3 comments

Comments

@LukasvdWiel
Copy link

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
Copy link
Member

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:

MIRROR="https://tjhei.info/candi-mirror/ https://cecas.clemson.edu/dealii/mirror/"

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
Copy link
Contributor

koecher commented Oct 9, 2023

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.

PACKAGES="once:cmake ${PACKAGES}"

Best
Uwe

@LukasvdWiel
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants