Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error compiling with gfortran 10 #163

Open
letmaik opened this issue Jan 15, 2021 · 2 comments
Open

Error compiling with gfortran 10 #163

letmaik opened this issue Jan 15, 2021 · 2 comments

Comments

@letmaik
Copy link

letmaik commented Jan 15, 2021

Same issue as in wrf-model/WRF#1250.

2021-01-15T07:41:27.2436484Z gfortran  -ffree-form -O -fconvert=big-endian -frecord-marker=4 -c output_module.f90 -I/home/vsts/work/1/s/../WRF/external/io_netcdf -I/home/vsts/work/1/s/../WRF/external/io_grib_share -I/home/vsts/work/1/s/../WRF/external/io_grib1 -I/home/vsts/work/1/s/../WRF/external/io_int -I/home/vsts/work/1/s/../WRF/inc -I/home/vsts/work/1/s/netcdf/include
2021-01-15T07:41:27.2954031Z output_module.f90:1735:41:
2021-01-15T07:41:27.2955024Z 
2021-01-15T07:41:27.2955711Z  1735 |                                          var_value, &
2021-01-15T07:41:27.2956555Z       |                                         1
2021-01-15T07:41:27.2957208Z ......
2021-01-15T07:41:27.2957861Z  1763 |                                          var_value, &
2021-01-15T07:41:27.2958671Z       |                                         2
2021-01-15T07:41:27.2960372Z Error: Rank mismatch between actual argument at (1) and actual argument at (2) (rank-1 and scalar)
@anikfal
Copy link

anikfal commented Feb 19, 2021

@letmaik
Could you work around this problem?

@anikfal
Copy link

anikfal commented Feb 22, 2021

A temporary solution:
After configuring WPS, open configure.wps and add -fallow-argument-mismatch and -fallow-invalid-boz to the end of FFLAGS and F77FLAGS parameters. Now, after compiling, your will have all the exe files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants