I am having a frustrating issue when installing ASPECT on my institute’s cluster. The OS is Red Hat 9, but the development environment is CRAY Programming Environment, so the compiler commands are different (should use CC instead of mpiccx when compiling C++ codes).
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:
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:
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.
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!
I wanted to follow up on this thread, as Reverie is currently unable to reply directly. We’re friends and have managed to resolve the issue privately, but I thought it would be helpful to share the solution here for anyone encountering a similar problem.
The main issue was caused by the following line in the configuration file under deal.II-toolchain/platforms/contributed/cray.platform:
However, to avoid relying on outdated library names altogether, a better approach is to use the Cray compiler wrappers (cc, CC, and ftn) to automatically detect MPI dependencies. This adjusted configuration worked perfectly in our case:
By leveraging the Cray compiler wrappers, you ensure compatibility with the Cray Programming Environment while avoiding potential issues with hardcoded paths or deprecated libraries.
I hope this helps others facing similar challenges.
On a related note, Reverie wanted to ask if there’s a way to understand why they were muted and whether someone could kindly assist in lifting the restriction. We’d greatly appreciate any guidance on this.
Thanks for both contributing to the forum and bringing the issue with Reverie’s account to my attention. This actions was taken by Discourse AI and has been corrected.