I get following error if the application is compiled with openmpi-3.1.1:

mpifort -O3 -march=native -funroll-loops -finline-aggressive -flto
-J./bin/obj_amd64aocc20 -std=f2008 -O3 -march=native -funroll-loops
-finline-aggressive -flto -fallow-fortran-gnu-ext -ffree-form
-fdefault-real-8 example_program.F90
F90-S-0155-Could not resolve generic procedure mpi_irecv (
example_program.F90  : 97)
  0 inform,   0 warnings,   1 severes, 0 fatal for recv

Following is the line causing this error:

call MPI_Irecv(this%bf(:,:,1:cs3),size,MPI_COMPLEX_TYPE,&

The program has following module mentioned in the beginning:
 use mpi

The openmpi has following module files in lib folder:
$ ls *.mod
mpi_ext.mod            mpi_f08_ext.mod
mpi_f08_interfaces.mod  mpi_f08_types.mod  pmpi_f08_interfaces.mod
mpi_f08_callbacks.mod  mpi_f08_interfaces_callbacks.mod  mpi_f08.mod

The same program works with Intel MPI (gcc/intel as base compilers).
But fails with OpenMPI, whether gcc-8.1.0 or AOCC are used as base
compilers. What could be the reason for it?

users mailing list

Reply via email to