ASPECT installation (or deal.ii compilation) on RED HAT 9 with CRAY Programming Environment

Hi Reverie,

Welcome to the community!

I understand how frustrating it can be to troubleshoot these types of issues. Based on your description and configuration files, I’d like to share some suggestions, referencing the discussion from the ASPECT installation within SUSE distribution:

  1. Adjust Candi Configuration:
    You could try modifying the candi.cfg file or the dealii.package file to ensure the correct MPI compilers are being used. For example:

    Option 1: Modify candi.cfg

    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

    CONFOPTS=" \  
    ... \  
    -D DEAL_II_WITH_MPI:BOOL=ON \  
    -D CMAKE_C_COMPILER=mpicc \  
    -D CMAKE_CXX_COMPILER=mpicxx \  
    ..."  
    
  2. Compile on Compute Nodes:
    If the login and compute nodes on your cluster support different compiler flags or environments, make sure to compile directly on the compute nodes instead of the login node.

  3. Check Logs for Errors:
    If neither of the above solutions works, it would be helpful to review the detailed logs and configuration options. Could you share the following files?

    • The build log file: /path/tmp/build/deal.II-v9.7.0/candi_build.log
    • The configuration file: candi_configure

    These logs will help to pinpoint the root cause of the configuration failure more effectively.

Let us know how it goes, and feel free to provide additional details if needed. Good luck!

Best,
Ninghui Tian