PDAF does not compile with gfortran 10
christoph:/tmp$ tar -zxf ~/Downloads/PDAF-D_V1.15.tar.gz
christoph:/tmp$ cd PDAF-D_V1.15/src/
christoph:/tmp/PDAF-D_V1.15/src$ gfortran --version
GNU Fortran (Ubuntu 10.2.0-5ubuntu1~20.04) 10.2.0
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
christoph:/tmp/PDAF-D_V1.15/src$ make PDAF_ARCH=../make.arch/linux_gfortran_openmpi
mpif90 -O3 -fdefault-real-8 -DUSE_PDAF -c PDAF_timer.F90
mpif90 -O3 -fdefault-real-8 -DUSE_PDAF -c PDAF_memcount.F90
mpif90 -O3 -fdefault-real-8 -DUSE_PDAF -c PDAF-D_mod_filtermpi.F90
mpif90 -O3 -fdefault-real-8 -DUSE_PDAF -c PDAF-D_mod_filter.F90
mpif90 -O3 -fdefault-real-8 -DUSE_PDAF -c PDAF_interfaces_module.F90
mpif90 -O3 -fdefault-real-8 -DUSE_PDAF -c PDAF-D_init.F90
mpif90 -O3 -fdefault-real-8 -DUSE_PDAF -c PDAF-D_init_si.F90
mpif90 -O3 -fdefault-real-8 -DUSE_PDAF -c PDAF-D_init_filters.F90
mpif90 -O3 -fdefault-real-8 -DUSE_PDAF -c PDAF-D_alloc_filters.F90
mpif90 -O3 -fdefault-real-8 -DUSE_PDAF -c PDAF-D_print_info.F90
mpif90 -O3 -fdefault-real-8 -DUSE_PDAF -c PDAF-D_print_version.F90
mpif90 -O3 -fdefault-real-8 -DUSE_PDAF -c PDAF_options_filters.F90
mpif90 -O3 -fdefault-real-8 -DUSE_PDAF -c PDAF-D_get_state.F90
mpif90 -O3 -fdefault-real-8 -DUSE_PDAF -c PDAF-D_get_state_si.F90
mpif90 -O3 -fdefault-real-8 -DUSE_PDAF -c PDAF-D_incremental.F90
mpif90 -O3 -fdefault-real-8 -DUSE_PDAF -c PDAF-D_incremental_si.F90
mpif90 -O3 -fdefault-real-8 -DUSE_PDAF -c PDAF-D_set_forget.F90
PDAF-D_set_forget.F90:147:27:
125 | CALL MPI_allreduce(dim_obs_p, dim_obs, 1, &
| 2
......
147 | CALL MPI_allreduce(var_ens_p, var_ens, 1, MPI_REALTYPE, MPI_SUM, &
| 1
Error: Type mismatch between actual argument at (1) and actual argument at (2) (REAL(8)/INTEGER(4)).
PDAF-D_set_forget.F90:165:27:
125 | CALL MPI_allreduce(dim_obs_p, dim_obs, 1, &
| 2
......
165 | CALL MPI_allreduce(var_resid_p, var_resid, 1, &
| 1
Error: Type mismatch between actual argument at (1) and actual argument at (2) (REAL(8)/INTEGER(4)).
make: *** [Makefile:284: PDAF-D_set_forget.o] Error 1
christoph:/tmp/PDAF-D_V1.15/src$ lsb_release --all
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.1 LTS
Release: 20.04
Codename: focal
christoph:/tmp/PDAF-D_V1.15/src$ apt-cache show libopenmpi-dev
Package: libopenmpi-dev
Architecture: amd64
Version: 4.0.3-0ubuntu1
Multi-Arch: same
Priority: extra
Section: universe/libdevel
Source: openmpi
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Alastair McKinstry <mckinstry@debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 4542
Depends: gfortran-mod-15, libopenmpi3 (= 4.0.3-0ubuntu1), openmpi-common (>= 4.0.3-0ubuntu1), libibverbs-dev (>= 1.1.7), libhwloc-dev, libevent-dev, openmpi-bin (>= 3.0.0-1)
Recommends: libcoarrays-openmpi-dev
Suggests: openmpi-doc
Conflicts: libopenmpi-dev
Breaks: lam4-dev (<< 7.1.4-4), libmpich-dev (<< 3.3~b1-5), mpich (<< 3.3~b1-5), openmpi-bin (<< 3.0.1~rc2-2)
Filename: pool/universe/o/openmpi/libopenmpi-dev_4.0.3-0ubuntu1_amd64.deb
Size: 798308
MD5sum: 6f15704217b4b1fe8ab16e0a04c8d774
SHA1: 4ddc1c83d15daae3745a5e52194d9aeed1d75687
SHA256: 3cda13434f3f8b01fe271b1c70461021a8c58712f02d66090e0e67b1ee58487b
Homepage: https://www.open-mpi.org/
Description-en: high performance message passing library -- header files
Open MPI is a project combining technologies and resources from several other
projects (FT-MPI, LA-MPI, LAM/MPI, and PACX-MPI) in order to build the best
MPI library available. A completely new MPI-3 compliant implementation, Open
MPI offers advantages for system and software vendors, application developers
and computer science researchers.
.
This package contains the header files and compiler wrappers which are needed
to compile and link programs against libopenmpi.
Description-md5: b378507a7bc7ecccf3855f2ea92d5e20
Task: ubuntustudio-video
@sfriedem Who can fix this?
Edited by Christoph Conrads