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

Rank mismatch in argument 'neighbours' in frag_hess.f90 #1138

Open
foxtran opened this issue Nov 27, 2024 · 0 comments · May be fixed by #1139
Open

Rank mismatch in argument 'neighbours' in frag_hess.f90 #1138

foxtran opened this issue Nov 27, 2024 · 0 comments · May be fixed by #1139
Labels
unconfirmed This report has not yet been confirmed by the developers

Comments

@foxtran
Copy link
Contributor

foxtran commented Nov 27, 2024

Describe the bug

GCC 14.1 says:

xtb/src/gfnff/frag_hess.f90:413:0:

   24 |      function shortest_distance(nspin, start, goal, numnb, neighbours, input_distances, visited, precessor)
......
  413 | function shortest_distance(nspin, start, goal, numnb, neighbours, input_distances, visited, precessor)
Warning: Rank mismatch in argument 'neighbours' (2/3) between (1) and (2)

To Reproduce

  1. Load/Get GCC 14.1
  2. cmake -B_build -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_Fortran_COMPILER=gfortran -DCMAKE_BUILD_TYPE=Release
  3. cd _build
  4. make -j $(nproc)

Expected behaviour

No warning.

Additional context

GCC 14.1 is used.
Release build is used.

@foxtran foxtran added the unconfirmed This report has not yet been confirmed by the developers label Nov 27, 2024
@foxtran foxtran linked a pull request Nov 27, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
unconfirmed This report has not yet been confirmed by the developers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant