Skip to content
  • Lorenz Huedepohl's avatar
    Fix name clash with reservered symbol 'mpi_status' · 67be7503
    Lorenz Huedepohl authored
    Apparently in some compiler/MPI combinations (gcc with impi 5.1.3) the
    identifier 'mpi_status' is defined and exporeted in their MPI fortran
    module and it is thus not allowed to name one of your local variables
    also 'mpi_status'.
    
    The confusing error message I got was
    
      ../src/elpa2_compute.F90:5780:37:
    
                      call mpi_wait(ireq_hv,mpi_status,mpierr)
                                           1
      Error: Invalid procedure argument at (1)
    
    even though everything seemed to be defined correctly
    67be7503