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 compialtion failure ... #998

Open
husakm opened this issue Mar 20, 2024 Discussed in #997 · 1 comment
Open

xtb compialtion failure ... #998

husakm opened this issue Mar 20, 2024 Discussed in #997 · 1 comment
Assignees

Comments

@husakm
Copy link

husakm commented Mar 20, 2024

Discussed in #997

Originally posted by husakm March 20, 2024
I was trying to recompile xtb (by gfortran 10). All worked OK until aprox. 58% ready, thani have got following:

/cygdrive/m/My_Project/Fortran/XTB_cygwin/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
/cygdrive/m/My_Project/Fortran/XTB_cygwin/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
/cygdrive/m/My_Project/Fortran/XTB_cygwin/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
/cygdrive/m/My_Project/Fortran/XTB_cygwin/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
/cygdrive/m/My_Project/Fortran/XTB_cygwin/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
/cygdrive/m/My_Project/Fortran/XTB_cygwin/xtb-6.7.0/src/gfnff/gfnff_eg.f90:1064:
68:

 1064 |            write(*,'(10x,"No H-atom found in this bond ",i0,1x,i0)'), ia
t,jat

Any idea what is wrong ?

Michal

@butterflycollector
Copy link

I get the same error with gfn-6.7.0 on linux

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

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: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:

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

3 participants