With both gcc 13.3.0 or gcc 15.2.0 the compilation of the fortran api fails with
/home/sbattaglia/gauxc/src/fortran-api/runtime_environment.F90:19:31:
19 | use mpi_f08, only : MPI_Comm, MPI_Comm_f2c, MPI_COMM_WORLD
| 1
Error: Symbol ‘mpi_comm_f2c’ referenced at (1) not found in module ‘mpi_f08’
/home/sbattaglia/gauxc/src/fortran-api/runtime_environment.F90:182:49:
182 | rt = gauxc_runtime_environment_new_c(status, MPI_Comm_f2c(comm%mpi_val))
| 1
Error: Function ‘mpi_comm_f2c’ at (1) has no IMPLICIT type
/home/sbattaglia/gauxc/src/fortran-api/runtime_environment.F90:174:49:
174 | rt = gauxc_runtime_environment_new_c(status, MPI_Comm_f2c(comm))
| 1
Error: Function ‘mpi_comm_f2c’ at (1) has no IMPLICIT type
/home/sbattaglia/gauxc/src/fortran-api/runtime_environment.F90:162:49:
162 | rt = gauxc_runtime_environment_new_c(status, MPI_Comm_f2c(comm%mpi_val))
| 1
Error: Function ‘mpi_comm_f2c’ at (1) has no IMPLICIT type
Perhaps one needs a some extra components of MPI? I installed gauxc through mamba according to the guide.