# ASPECT installation within SUSE distribution

**URL:** <https://community.geodynamics.org/t/aspect-installation-within-suse-distribution/4291>\
**Category:** ASPECT\
**Tags:** installation\
**Created:** [September 16, 2025, 2:13pm UTC](https://community.geodynamics.org/t/aspect-installation-within-suse-distribution/4291 "2025-09-16T14:13:11Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![PatriciaRodBat](https://avatars.discourse-cdn.com/v4/letter/p/ed8c4c/32.png) [@PatriciaRodBat](https://community.geodynamics.org/u/PatriciaRodBat)\
**Post date:** [September 16, 2025, 2:13pm UTC](https://community.geodynamics.org/t/aspect-installation-within-suse-distribution/4291/1 "2025-09-16T14:13:11Z")

</div>

Hi all,

I am trying to install ASPECT on a server with a SUSE distribution. When going through the step of running ./candi.sh, the following lines appear:

This is candi (compile and install)

Project: deal.II-toolchain: Found configuration.  
Error: Your operating system could not be automatically recognised.

And when asking about the version of SUSE I am using, this is what gets printed: anegredo@localhost:~\> cat /etc/os-release  
NAME=“openSUSE Tumbleweed”

VERSION=“20221115”

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![tjhei](https://yyz2.discourse-cdn.com/flex036/user_avatar/community.geodynamics.org/tjhei/32/1163_2.png) [@tjhei](https://community.geodynamics.org/u/tjhei)\
**Post date:** [September 17, 2025, 5:00pm UTC](https://community.geodynamics.org/t/aspect-installation-within-suse-distribution/4291/2 "2025-09-17T17:00:18Z")

</div>

You can just use

```auto
  ./candi.sh --platform=./deal.II-toolchain/platforms/supported/linux_cluster.platform

```

> **[GitHub - dealii/candi: candi - (Compile & Install) - Downloads,...](https://github.com/dealii/candi?tab=readme-ov-file#install-dealii-on-a-generic-linux-system-or-cluster)**
>
> candi - (Compile & Install) - Downloads, configures, builds and installs deal.II

---

<div class="post-metadata">

**Author:** ![PatriciaRodBat](https://avatars.discourse-cdn.com/v4/letter/p/ed8c4c/32.png) [@PatriciaRodBat](https://community.geodynamics.org/u/PatriciaRodBat)\
**Post date:** [September 24, 2025, 10:34am UTC](https://community.geodynamics.org/t/aspect-installation-within-suse-distribution/4291/3 "2025-09-24T10:34:27Z")

</div>

> [@tjhei](#):
>
> ```auto
> ./candi.sh --platform=./deal.II-toolchain/platforms/supported/linux_cluster.platform
> 
> ```
> 
> [GitHub - dealii/candi: candi - (Compile & Install) - Downloads, configures, builds and installs deal.II](https://github.com/dealii/candi?tab=readme-ov-file#install-dealii-on-a-generic-linux-system-or-cluster)

Thank you very much,

I have been trying this but the error:

checking whether a simple MPI-IO C program can be linked…no

configure: error: unable to link a simple MPI-IO C program

Failure with exit status: 1

Exist message: There was a problem configuring hdf5 1.12.2.

I have kept going trying ./candi.sh --platform=./deal.II-toolchain/platforms/supported/linux\_cluster.platform  
–packages=“cmake astyle sundials p4est trilinos dealii” -y

so, explicitly not using hdf5, but then another error appears with sundials, and another one with a different package… And I would like to be able to use all of them.

Thank you again!

---

<div class="post-metadata">

**Author:** ![tjhei](https://yyz2.discourse-cdn.com/flex036/user_avatar/community.geodynamics.org/tjhei/32/1163_2.png) [@tjhei](https://community.geodynamics.org/u/tjhei)\
**Post date:** [September 24, 2025, 2:09pm UTC](https://community.geodynamics.org/t/aspect-installation-within-suse-distribution/4291/4 "2025-09-24T14:09:03Z")

</div>

Can you take a look at the older suse instructions here:  
[https://github.com/dealii/candi/blob/master/deal.II-toolchain/platforms/supported/opensuse15.platform](https://github.com/dealii/candi/blob/master/deal.II-toolchain/platforms/supported/opensuse15.platform)

They might be out of date, but can you make sure that you install mpich-devel and run mpi-selector to pick your MPI installation? Make sure you have only mpich or openmpi installed but not both.

---

<div class="post-metadata">

**Author:** ![PatriciaRodBat](https://avatars.discourse-cdn.com/v4/letter/p/ed8c4c/32.png) [@PatriciaRodBat](https://community.geodynamics.org/u/PatriciaRodBat)\
**Post date:** [September 26, 2025, 3:12pm UTC](https://community.geodynamics.org/t/aspect-installation-within-suse-distribution/4291/5 "2025-09-26T15:12:57Z")

</div>

Thank you, that seemed to be working but after a few hours of installing, there was this problem with dealii, would you maybe have an idea of how to continue?

Again, thank you very much.

– Could NOT find MPI\_C (missing: MPI\_mpi\_LIBRARY MPI\_C\_HEADER\_DIR MPI\_C\_WORKS)  
– Could NOT find MPI\_CXX (missing: MPI\_mpicxx\_LIBRARY MPI\_mpi\_LIBRARY MPI\_CXX\_HEADER\_DIR MPI\_CXX\_WORKS)  
– Found MPI\_Fortran: /usr/lib64/mpi/gcc/openmpi3/bin/mpif90 (found version “3.1”)  
– Could NOT find MPI (missing: MPI\_C\_FOUND MPI\_CXX\_FOUND) (found version “3.1”)  
– MPI\_MPI\_H not found! The call was:  
– find\_file(MPI\_MPI\_H NAMES mpi.h HINTS)  
– Performing Test MPI\_UNDERLINKAGE\_OK  
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.  
Please set them or make sure they are set and tested correctly in the CMake files:  
MPI\_mpi\_LIBRARY  
linked by target “CheckCompilerSetupExec” in directory /home/anegredo/dealii-candi/tmp/unpack/deal.II-v9.7.0/cmake/macros/check\_compiler\_setup  
linked by target “CheckCompilerSetupExec” in directory /home/anegredo/dealii-candi/tmp/unpack/deal.II-v9.7.0/cmake/macros/check\_compiler\_setup  
MPI\_mpicxx\_LIBRARY  
linked by target “CheckCompilerSetupExec” in directory /home/anegredo/dealii-candi/tmp/unpack/deal.II-v9.7.0/cmake/macros/check\_compiler\_setup

CMake Error at cmake/macros/macro\_check\_compiler\_setup.cmake:81 (try\_compile):  
Failed to generate test project build system.  
Call Stack (most recent call first):  
cmake/modules/FindDEAL\_II\_MPI.cmake:115 (check\_compiler\_setup)  
cmake/configure/configure\_10\_mpi.cmake:27 (find\_package)  
/home/user/dealiicandi/tmp/build/deal.IIv9.7.0/CMakeFiles/CMakeTmp/evaluate\_expression.tmp:1 (feature\_MPI\_find\_external)  
cmake/macros/macro\_evaluate\_expression.cmake:29 (include)  
cmake/macros/macro\_configure\_feature.cmake:238 (evaluate\_expression)  
cmake/configure/configure\_10\_mpi.cmake:77 (configure\_feature)  
cmake/macros/macro\_verbose\_include.cmake:18 (include)  
CMakeLists.txt:141 (verbose\_include)

– Configuring incomplete, errors occurred!  
Failure with exit status: 1  
Exit message: There was a problem configuring dealii v9.7.0.

---

<div class="post-metadata">

**Author:** ![jbnaliboff](https://avatars.discourse-cdn.com/v4/letter/j/58956e/32.png) [@jbnaliboff](https://community.geodynamics.org/u/jbnaliboff)\
**Post date:** [September 26, 2025, 3:53pm UTC](https://community.geodynamics.org/t/aspect-installation-within-suse-distribution/4291/6 "2025-09-26T15:53:45Z")

</div>

@PatriciaRodBat - That’s odd that deal.II was not able to find the MPI libraries, but earlier packages successfully found them.

At the beginning of the candi installation process there is a message that shows what different libraries are being used, after which you hit “go”. Could you run candi again, copy this information, and then provide it here?

Alternatively, can you send over one of the files such as `tmp/build/trilinos-release-14-4-0/candi_configure` under the install directory?

John

---

<div class="post-metadata">

**Author:** ![PatriciaRodBat](https://avatars.discourse-cdn.com/v4/letter/p/ed8c4c/32.png) [@PatriciaRodBat](https://community.geodynamics.org/u/PatriciaRodBat)\
**Post date:** [October 1, 2025, 8:52am UTC](https://community.geodynamics.org/t/aspect-installation-within-suse-distribution/4291/7 "2025-10-01T08:52:26Z")

</div>

Thank you very much for your answer.

This is the beginning of the candi installation process: Package configuration in: ~/dealii-candi/configuration

* * *

Number of (at most) build processes to use: JOBS=1

* * *

Packages:  
cmake  
astyle  
p4est  
sundials  
trilinos  
dealii

* * *

Currently loaded modulefiles:  
No modules loaded

* * *

Compiler Variables:

CC variable not set, but default mpicc found.  
CC = /usr/lib64/mpi/gcc/openmpi3/bin/mpicc  
CXX variable not set, but default mpicxx found.  
CXX = /usr/lib64/mpi/gcc/openmpi3/bin/mpicxx  
FC variable not set, but default mpif90 found.  
FC = /usr/lib64/mpi/gcc/openmpi3/bin/mpif90  
FF variable not set, but default mpif77 found.  
FF = /usr/lib64/mpi/gcc/openmpi3/bin/mpif77

Thanks again,

Patricia

---

<div class="post-metadata">

**Author:** ![PatriciaRodBat](https://avatars.discourse-cdn.com/v4/letter/p/ed8c4c/32.png) [@PatriciaRodBat](https://community.geodynamics.org/u/PatriciaRodBat)\
**Post date:** [October 1, 2025, 9:13am UTC](https://community.geodynamics.org/t/aspect-installation-within-suse-distribution/4291/8 "2025-10-01T09:13:31Z")

</div>

About the alternative you mention, I also attach here the .txt file in case it is useful.

Thanks again,  
Patricia.

[candi\_configure\_trilinos.txt](https://community.geodynamics.org/uploads/short-url/g5Carg4HDyueeBpQGRK9zjOeMhd.txt) (11.9 KB)

---

<div class="post-metadata">

**Author:** ![jbnaliboff](https://avatars.discourse-cdn.com/v4/letter/j/58956e/32.png) [@jbnaliboff](https://community.geodynamics.org/u/jbnaliboff)\
**Post date:** [October 1, 2025, 3:13pm UTC](https://community.geodynamics.org/t/aspect-installation-within-suse-distribution/4291/9 "2025-10-01T15:13:42Z")

</div>

@PatriciaRodBat - Hmm, I’m still not sure why Trilinos would successfully compile, but deal.II would run into these errors.

One possibility is that a different configuration from a prior installation attempt is causing an issue.

Can you try deleting the entire installation folder and then re-running candi from scratch?

---

<div class="post-metadata">

**Author:** ![tiannh7](https://yyz2.discourse-cdn.com/flex036/user_avatar/community.geodynamics.org/tiannh7/32/2467_2.png) [@tiannh7](https://community.geodynamics.org/u/tiannh7)\
**Post date:** [October 2, 2025, 2:38am UTC](https://community.geodynamics.org/t/aspect-installation-within-suse-distribution/4291/10 "2025-10-02T02:38:08Z")

</div>

Hi all,

@PatriciaRodBat I’ve encountered a similar issue in the past, and while I couldn’t identify the root cause, the solution that worked for me involved modifying configuration files. Specifically, I added the following options to either the `candi.cfg` or `dealii.package` file:

### Option 1: Modify `candi.cfg`

```bash
DEAL_II_CONFOPTS="-D DEAL_II_WITH_MPI:BOOL=ON \
-D CMAKE_C_COMPILER=mpicc \
-D CMAKE_CXX_COMPILER=mpicxx"

```

### Option 2: Modify `dealii.package`

```bash
CONFOPTS=" \
... \
-D DEAL_II_WITH_MPI:BOOL=ON \
-D CMAKE_C_COMPILER=mpicc \
-D CMAKE_CXX_COMPILER=mpicxx \
..."

```

These settings ensure that MPI is properly enabled and that the appropriate compilers (mpicc and mpicxx) are explicitly defined. I hope this helps resolve the issue.

If @tjhei or @jbnaliboff could provide further insights into the root cause, that would be great!

Best,  
Ninghui Tian

---

<div class="post-metadata">

**Author:** ![PatriciaRodBat](https://avatars.discourse-cdn.com/v4/letter/p/ed8c4c/32.png) [@PatriciaRodBat](https://community.geodynamics.org/u/PatriciaRodBat)\
**Post date:** [October 2, 2025, 2:56pm UTC](https://community.geodynamics.org/t/aspect-installation-within-suse-distribution/4291/11 "2025-10-02T14:56:41Z")

</div>

It worked! I combined both answers, they were very helpful, thanks a lot.

Best,

Patricia

---

<div class="post-metadata">

**Author:** ![tiannh7](https://yyz2.discourse-cdn.com/flex036/user_avatar/community.geodynamics.org/tiannh7/32/2467_2.png) [@tiannh7](https://community.geodynamics.org/u/tiannh7)\
**Post date:** [October 2, 2025, 4:09pm UTC](https://community.geodynamics.org/t/aspect-installation-within-suse-distribution/4291/12 "2025-10-02T16:09:07Z")

</div>

Patricia! I’m glad the solutions worked for you.

Patricia Rodríguez Batista via Computational Infrastructure for Geodynamics \<[notifications@geodynamics.discoursemail.com](mailto:notifications@geodynamics.discoursemail.com)\>于2025年10月2日 周四23:06写道：

---

<div class="post-metadata">

**Author:** ![tjhei](https://yyz2.discourse-cdn.com/flex036/user_avatar/community.geodynamics.org/tjhei/32/1163_2.png) [@tjhei](https://community.geodynamics.org/u/tjhei)\
**Post date:** [October 2, 2025, 9:05pm UTC](https://community.geodynamics.org/t/aspect-installation-within-suse-distribution/4291/13 "2025-10-02T21:05:42Z")

</div>

> [@tiannh7](#):
>
> If @tjhei or @jbnaliboff could provide further insights into the root cause, that would be great!

I think you can achieve the same by setting `USE_DEAL_II_CMAKE_MPI_COMPILER=ON` in candi.cfg. This is the default since [use CMAKE\_MPI\_COMPILER by default by tjhei · Pull Request #409 · dealii/candi · GitHub](https://github.com/dealii/candi/pull/409) for a few months, I think.

---

<div class="post-metadata">

**Author:** ![tiannh7](https://yyz2.discourse-cdn.com/flex036/user_avatar/community.geodynamics.org/tiannh7/32/2467_2.png) [@tiannh7](https://community.geodynamics.org/u/tiannh7)\
**Post date:** [October 3, 2025, 2:53am UTC](https://community.geodynamics.org/t/aspect-installation-within-suse-distribution/4291/14 "2025-10-03T02:53:47Z")

</div>

@tjhei Thanks for the clarification and for making things easier!
