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: More actual than formal arguments in procedure call at (1)" in fv_diagnostics.F90 #189

Closed
StevePny opened this issue May 5, 2022 · 2 comments · Fixed by #191
Closed
Assignees

Comments

@StevePny
Copy link

StevePny commented May 5, 2022

I am getting this error during compilation using:

make -j ${MAKEJOBS} OPENMP=Y AVX=${avx} NETCDF=3 ${COMP} 32BIT=Y NCEP_LIBS="${FMS_LIB}/libFMS.a ${GFS_LIB}/libgfs.a ${NCEP_LIBS}" -f Makefile_fv3
/atmos_cubed_sphere/tools/fv_diagnostics.F90:1355:126:

 1355 |     call fv_diag_column_init(Atm(n), yr_init, mo_init, dy_init, hr_init, do_diag_debug, do_diag_sonde, sound_freq, m_calendar)
      |                                                                                                                              1
Error: More actual than formal arguments in procedure call at (1)
make: *** [Makefile_fv3:51: fv_diagnostics.o] Error 1

From:

call fv_diag_column_init(Atm(n), yr_init, mo_init, dy_init, hr_init, do_diag_debug, do_diag_sonde, sound_freq, m_calendar)

It looks like there are actually more arguments being passed than allowed:

From:

subroutine fv_diag_column_init(Atm, yr_init, mo_init, dy_init, hr_init, do_diag_debug_out, do_diag_sonde_out, sound_freq_out)

Is this a bug? If so, is it safe to delete the m_calendar argument in fv_diagnostics.F90?

@laurenchilutti
Copy link
Contributor

Hi Steve, I believe I have a fix for this. I will get back to you soon.

@lharris4
Copy link
Contributor

lharris4 commented May 10, 2022 via email

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

Successfully merging a pull request may close this issue.

3 participants