Skip to content

Compilation error with EddyPro v7.0.6 and gfortran v10.x on macOS v10.15.7 (Catalina) #4

Description

@geryatejina

From Matthias Cuntz: Compilation fails with EP v7.0.6 and gfortran v10.2.0 on macOS 10.15.7.
Error messages below.

cd eddypro-engine/
cd prj/
make rp
Compiling for Mac OS
gfortran -Wall -pedantic -fall-intrinsics -fbounds-check -Wextra -Wcharacter-truncation -Wunderflow -Wno-compare-reals -std=f2008 -O3 -I ../obj/mac/ -c ../src/src_common/m_libdate.f90 -o ../obj/mac/m_libdate.o
...
gfortran -Wall -pedantic -fall-intrinsics -fbounds-check -Wextra -Wcharacter-truncation -Wunderflow -Wno-compare-reals -std=f2008 -O3 -I ../obj/mac/ -c ../src/src_rp/eddypro-rp_main.f90 -o ../obj/mac/eddypro-rp_main.o
../src/src_rp/eddypro-rp_main.f90:1557:92:

1557 | if (EddYProProj%out_fluxnet) call WriteOutFluxnetOnlyBiomet(suffixOutString)
| 1
Error: More actual than formal arguments in procedure call at (1)
../src/src_rp/eddypro-rp_main.f90:1608:92:

1608 | if (EddyProProj%out_fluxnet) call WriteOutFluxnetOnlyBiomet(suffixOutString)
| 1
Error: More actual than formal arguments in procedure call at (1)
../src/src_rp/eddypro-rp_main.f90:1624:92:

1624 | if (EddYProProj%out_fluxnet) call WriteOutFluxnetOnlyBiomet(suffixOutString)
| 1
Error: More actual than formal arguments in procedure call at (1)
../src/src_rp/eddypro-rp_main.f90:1640:92:

1640 | if (EddYProProj%out_fluxnet) call WriteOutFluxnetOnlyBiomet(suffixOutString)
| 1
Error: More actual than formal arguments in procedure call at (1)
../src/src_rp/eddypro-rp_main.f90:1733:92:

1733 | if (EddYProProj%out_fluxnet) call WriteOutFluxnetOnlyBiomet(suffixOutString)
| 1
Error: More actual than formal arguments in procedure call at (1)
../src/src_rp/eddypro-rp_main.f90:1806:92:

1806 | if (EddYProProj%out_fluxnet) call WriteOutFluxnetOnlyBiomet(suffixOutString)
| 1
Error: More actual than formal arguments in procedure call at (1)
../src/src_rp/eddypro-rp_main.f90:1928:42:

710 | call TiltCorrection('double_rotation', .false., E2Set, &
| 2
......
1928 | call TiltCorrection(Meth%rot, GoPlanarFit, E2Set, &
| 1
Error: Rank mismatch between actual argument at (1) and actual argument at (2) (scalar and rank-1)
make: *** [eddypro-rp_main.o] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions