ljdursi / coarray-examples

Simple coarray examples for teaching
39 stars 5 forks source link

build problem with diffusion-nonblocking-mpi.f90 #2

Open LaHaine opened 6 years ago

LaHaine commented 6 years ago

The coarray examples build fine in my setup with gfortran 7.3.0, openmpi 3.1.0 and opencoarrays 2.3.1, but this error occurs:

/opt/ohpc/pub/mpi/openmpi3-gnu7/3.1.0/bin/mpifort diffusion/diffusion-nonblocking-mpi.f90 -o diffusion/diffusion-nonblocking-mpi 
diffusion/diffusion-nonblocking-mpi.f90:91:38:

           write(unitno,'(3(F8.3,3X))'),x(i),temperature(i,old), theory(i)
                                      1
Warning: Legacy Extension: Comma before i/o item list at (1)
diffusion/diffusion-nonblocking-mpi.f90:134:56:

            call MPI_Waitall(4, requests, statuses, ierr)
                                                        1
Error: There is no specific subroutine for the generic 'mpi_waitall' at (1)
diffusion/diffusion-nonblocking-mpi.f90:156:38:

           write(unitno,'(3(F8.3,3X))'),x(i),temperature(i,new), theory(i)
                                      1
Warning: Legacy Extension: Comma before i/o item list at (1)
make: *** [diffusion/diffusion-nonblocking-mpi] Error 1
LaHaine commented 6 years ago

This only happens with openmpi, not with mvapich2 2.2