Skip to content
This repository was archived by the owner on Oct 21, 2024. It is now read-only.
This repository was archived by the owner on Oct 21, 2024. It is now read-only.

I encountered an error during compilation. #25

@banzhiqing

Description

@banzhiqing

Dear developers,

Greetings! I would like to inquire about an issue I encountered while compiling Hos-ocean on Ubuntu 20.04. Could you kindly assist me in understanding the root cause of the following error?
sources/HOS/velocities.f90:1259:41:

1256 | DO ii2=1,n2
| 2
......
1259 | k=SQRT(kx(ii1)**2+ky(ii2)**2)
| 1
Warning: Array reference at (1) out of bounds (64 > 1) in loop beginning at (2)
sources/HOS/velocities.f90:1260:63:

1256 | DO ii2=1,n2
| 2
......
1260 | M(index1,index2) = exp(i*(kx(ii1)*x(i1)+ky(ii2)*y(i2)))EXP(keta(i1,i2))
| 1
Warning: Array reference at (1) out of bounds (64 > 1) in loop beginning at (2)
sources/HOS/velocities.f90:1260:70:

1253 | DO i2=1,n2
| 2
......

sources/utilities/Bivar.f90:524:49:

524 | if ( vpdt(x1,y1,x2,y2,xii,yii) ) 36,25,26
| 1
Warning: Fortran 2018 deleted feature: Arithmetic IF statement at (1)
sources/utilities/Bivar.f90:530:50:

530 | if(vpdt(x2,y2,x3,y3,xii,yii)) 36,27,28
| 1
Warning: Fortran 2018 deleted feature: Arithmetic IF statement at (1)
sources/utilities/Bivar.f90:534:50:

534 | if(vpdt(x3,y3,x1,y1,xii,yii)) 36,29,30
| 1
Warning: Fortran 2018 deleted feature: Arithmetic IF statement at (1)
sources/utilities/Bivar.f90:648:50:

648 | if(vpdt(x1,y1,x2,y2,xii,yii)) 46,45,56
| 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions