Hi all,
The issue has been resolved, the problem was in the configuration file
deal.II-toolchain/platforms/contributed/cray.platform, which contains the
line:
-D
MPI_CXX_LIBRARIES="${MPICH_DIR}/lib/libmpichcxx.so;${MPICH_DIR}/lib/libmpich.so"
However, the cluster does not have such a file called libmpichcxx.so, so
the solution is simple, just remove this part of the flag.
I also posted an inquiry on the ASPECT forum and here is the related page:
ASPECT
installation (or deal.ii compilation) on RED HAT 9 with CRAY Programming
Environment - ASPECT - Computational Infrastructure for Geodynamics
<https://community.geodynamics.org/t/aspect-installation-or-deal-ii-compilation-on-red-hat-9-with-cray-programming-environment/4352/5>
Best,
Hang
2025年11月10日月曜日 21:04:39 UTC+9 Hang ZHANG:
> Hi All,
>
> I am having a frustrating issue when installing ASPECT on a cluster, and
> the problem seems to have something to do with the compilation of deal.ii.
> The OS is Red Hat 9, but the development environment is CRAY Programming
> Environment, so the compiler commands should be different.
> [image: Weixin Image_20251109161812_16_204.png]
> I added these codes to the configuration file of candi (local.cfg):
>
> DEAL_II_CONFOPTS=“\
> -DDEAL_II_WITH_COMPLEX_VALUES=OFF\
> -DDEAL_II_WITH_MPI=ON \
> -DMPI_CXX_COMPILER=CC\
> -DMPI_C_COMPILER=cc\
> -DMPI_Fortran_COMPILER=ftn”
>
> And some settings on the global shell:
>
> module switchPrgEnv-intel/8.6.0 PrgEnv-gnu/8.6.0
> export CRAYPE_LINK_TYPE=dynamic
> export CC=cc
> export CXX=CC
> export FC=ftn
> export FF=ftn
>
> But still the configuration of deal.ii failed…The program keeps looking for
> libmpichcxx, which is not in the system at all. I got stuck here for
> quite a while and cannot figure out why. Could anyone tell me what to do
> with it?
>
> Thanks in advance!
>
> Regards,
> Hang
>
>
>
--
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 [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/dealii/e723f6c7-5b4e-4264-90b4-9c2e165e4699n%40googlegroups.com.