Trying to install ASPECT in Ubuntu 24.04.3 LTS

Hello everyone,

I am finding this issure when trying to run source ./candi.sh (I also tried ./candi.sh) with local.cfg downloaded, and this error appears:

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

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

Loading dealii-prepare
Fetching cmake 3.26.4
Verifying cmake-3.26.4-linux-x86_64.tar.gz
cmake-3.26.4-linux-x86_64.tar.gz: OK(md5)
cmake-3.26.4-linux-x86_64.tar.gz already downloaded and verified.
Unpacking cmake-3.26.4-linux-x86_64.tar.gz
Building cmake 3.26.4
Info: cmake has forced BUILDCHAIN=ignore.
-bash: ./candi_configure: Permission denied
Failure with exit status: 126
Exit message: There was a problem configuring cmake 3.26.4.
Connection to 147.96.22.188 closed.”,

and even takes me out of the server session. Does anybody know what should be done in this case?

Thank you!

How did you download the candi repository? You will need to use ./candi.sh (without using source), see GitHub - dealii/candi: candi - (Compile & Install) - Downloads, configures, builds and installs deal.II or Using candi to compile dependencies — ASPECT 3.1.0-pre

I used the command git clone GitHub - dealii/candi: candi - (Compile & Install) - Downloads, configures, builds and installs deal.II , following Using candi to compile dependencies — ASPECT 3.1.0-pre . Using ./candi.sh without using source was giving me a Permission denied error.

What is the precise command with arguments that you are running? What path are you installing to?

I have only tried “git clone https://github.com/dealii/candi”, then I downloaded local.cfg from the repository to my local computer and moved it to the server I am working with via scp, within the candi directory. Then, I did “cd candi” and “./candi.sh”. I didn’t set an installation path because I also tried setting one, and it wasn’t working either, I thought this was simpler way.

I checked all the permits to work are set, but still not me nor any other user (admin included) can make the “Permission denied“ error disappear.

Thank you again,

Patricia

You might have copied files incorrectly (or without the correct permissions). I would suggest you do the git clone directly on the machine where you want to use it.

Secondly, If it is a server, you might not be able to write the output to the default installation directory (the home directory). I would suggest you specify an absolute path to some folder where you know you can write to.

Thank you, the problem is fixed now. I think the issue was the noexec status of /home in my server, that made ./candi.sh impossible to run. When trying the same thing but in /tmp, it did run. Thank you very much for your help :slight_smile: