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

xtb-6.7.0/src/gfnff/gfnff_eg.f90 compilation error #1012

Closed
butterflycollector opened this issue Apr 17, 2024 · 0 comments · Fixed by #1051
Closed

xtb-6.7.0/src/gfnff/gfnff_eg.f90 compilation error #1012

butterflycollector opened this issue Apr 17, 2024 · 0 comments · Fixed by #1051
Labels
unconfirmed This report has not yet been confirmed by the developers

Comments

@butterflycollector
Copy link

I get the following error during compilation of xtb-6.7.0 on Linux (Clear Linux)

uname -a Linux samara 6.0.7-1207.native #1 SMP Thu Nov 3 09:15:51 PDT 2022 x86_64 GNU/Linux

GCC version 12.2.1

      |                                             1
Error: ‘array’ argument of ‘product’ intrinsic at (1) must be an array
/home/lsd/Downloads/xtb-6.7.0/src/gfnff/gfnff_eg.f90:4041:44:

 4041 |   real(wp), intent(in) :: gTrans(3, product(2*ewaldCutR+1)-1)
      |                                            1
Error: ‘array’ argument of ‘product’ intrinsic at (1) must be an array
/home/lsd/Downloads/xtb-6.7.0/src/gfnff/gfnff_eg.f90:4041:44:

 4041 |   real(wp), intent(in) :: gTrans(3, product(2*ewaldCutR+1)-1)
      |                                            1
Error: ‘array’ argument of ‘product’ intrinsic at (1) must be an array
/home/lsd/Downloads/xtb-6.7.0/src/gfnff/gfnff_eg.f90:4039:45:

 4039 |   real(wp), intent(in) :: rTrans( 3, product(2*ewaldCutD+1))
      |                                             1
Error: ‘array’ argument of ‘product’ intrinsic at (1) must be an array
/home/lsd/Downloads/xtb-6.7.0/src/gfnff/gfnff_eg.f90:4039:45:

 4039 |   real(wp), intent(in) :: rTrans( 3, product(2*ewaldCutD+1))
      |                                             1
Error: ‘array’ argument of ‘product’ intrinsic at (1) must be an array
/home/lsd/Downloads/xtb-6.7.0/src/gfnff/gfnff_eg.f90:2023:12:```
@butterflycollector butterflycollector added the unconfirmed This report has not yet been confirmed by the developers label Apr 17, 2024
james-qbraid pushed a commit to james-qbraid/xtb that referenced this issue Jun 11, 2024
…-lab#998 fixes grimme-lab#997

Signed-off-by: James H. Brown <james.h.brown@dartmouth.edu>
james-qbraid pushed a commit to james-qbraid/xtb that referenced this issue Jun 11, 2024
…-lab#998 fixes grimme-lab#997

Signed-off-by: James H. Brown <james.h.brown@dartmouth.edu>
marcelmbn pushed a commit that referenced this issue Aug 9, 2024
…1051)

* change product to hardcoded number fixes #1012 fixes #998 fixes #997

Signed-off-by: James H. Brown <james.h.brown@dartmouth.edu>

* removed space, added old as comment Signed-off-by: James Brown <james.harry.brown@gmail.com>

Signed-off-by: James H. Brown <james.h.brown@dartmouth.edu>

* Update src/gfnff/gfnff_eg.f90

Co-authored-by: Sebastian Ehlert <28669218+awvwgk@users.noreply.github.com>
Signed-off-by: James H. Brown <james.h.brown@dartmouth.edu>

* Update src/gfnff/gfnff_eg.f90

Co-authored-by: Sebastian Ehlert <28669218+awvwgk@users.noreply.github.com>
Signed-off-by: James H. Brown <james.h.brown@dartmouth.edu>

---------

Signed-off-by: James H. Brown <james.h.brown@dartmouth.edu>
Co-authored-by: James H. Brown <james.h.brown@dartmouth.edu>
Co-authored-by: Sebastian Ehlert <28669218+awvwgk@users.noreply.github.com>
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