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

Compile issue on gfortran 10.x #4

Closed
jagot opened this issue Oct 19, 2020 · 2 comments
Closed

Compile issue on gfortran 10.x #4

jagot opened this issue Oct 19, 2020 · 2 comments

Comments

@jagot
Copy link
Owner

jagot commented Oct 19, 2020

While compiling with gfortran 10.2.0, I got the following error:

[ 83%] Building Fortran object dbsr/DBSR_CONF3/CMakeFiles/dbsr_conf3.dir/gen_conf.f90.o
/Users/jagot/prog/bsr/src/dbsr/DBSR_CONF3/gen_conf.f90:132:51:

  132 |         if(Jintra(no).eq.Jtotal) Call Check_cfg(ii)
      |                                                   1
Error: More actual than formal arguments in procedure call at (1)
make[2]: *** [dbsr/DBSR_CONF3/CMakeFiles/dbsr_conf3.dir/gen_conf.f90.o] Error 1
make[1]: *** [dbsr/DBSR_CONF3/CMakeFiles/dbsr_conf3.dir/all] Error 2
make: *** [all] Error 2

If I instead force the gfortran version by FC=gfortran-9 cmake && make, the error disappears. I think this is related to a general tightening of previously lax error handling in gfortran, similar to what we see in Grasp.

@katrham20 Have you seen this? Forcing the gfortran version to 9 of course helps in the short run, but I guess we really want to make the code standards-compliant in the long run.

@katrham20
Copy link
Collaborator

katrham20 commented Oct 27, 2020 via email

@jagot
Copy link
Owner Author

jagot commented Apr 12, 2024

Fixed in 8df7b60 (cf zatsaroi/DBSR3@b9d417a).

@jagot jagot closed this as completed Apr 12, 2024
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