Build breaks when MPI=on

libtool: compile:  gfortran10 -DHAVE_CONFIG_H -I. -I.. -fno-omit-frame-pointer -isystem /usr/local/include -I/usr/local/include -Wl,-rpath=/usr/local/lib/gcc10 -c moreParallelSubs.F90  -fPIC -o .libs/moreParallelSubs.o
moreParallelSubs.F90:538:24:

  538 |     call MPI_AllReduce( sendBuff, recvBuff, n, MPI_Integer, &
      |                        1
......
  729 |     call MPI_AllReduce( sendBuff, recvBuff, n, MPI_double_precision, &
      |                        2
Error: Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(4)/REAL(8)).
moreParallelSubs.F90:541:24:

  541 |     call MPI_AllReduce( sendBuff, recvBuff, n, MPI_Integer, &
      |                        1
......
  729 |     call MPI_AllReduce( sendBuff, recvBuff, n, MPI_double_precision, &
      |                        2
Error: Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(4)/REAL(8)).
moreParallelSubs.F90:544:24:

  544 |     call MPI_AllReduce( sendBuff, recvBuff, n, MPI_Integer, &
      |                        1
......
  729 |     call MPI_AllReduce( sendBuff, recvBuff, n, MPI_double_precision, &
      |                        2

Version: 0.9.6

gfortran-10

FreeBSD 12.2

Edited by yuri