I am getting a strange error when compiling abcpar.f in gfortran

Liste des GroupesRevenir à cl fortran 
Sujet : I am getting a strange error when compiling abcpar.f in gfortran
De : lynnmcguire5 (at) *nospam* gmail.com (Lynn McGuire)
Groupes : comp.lang.fortran
Date : 11. Nov 2024, 23:35:34
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vgu0rm$16rop$1@dont-email.me>
User-Agent : Mozilla Thunderbird
I am getting a strange error when compiling abcpar.f in gfortran:
Compiling .\CHM\VALIEQ\abcpar.f
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
dii.inc:30:10:
Error: 'abcpar' of module 'aaa_modules', imported at (1), is also the name of the current program unit
Error: Last command making (build\abcpar.o) returned a bad status
Error: Make execution terminated
* Failed *
C     aaa_modules.f
C  list of interfaces in a module for CHM / DII code compiling
       MODULE aaa_modules
           implicit none
           INTERFACE
             SUBROUTINE ABCPAR(ISW,IRETST,IR,IC,PAR,IPHASE)
               INTEGER(KIND=8) :: ISW
               INTEGER(KIND=8) :: IRETST
               INTEGER(KIND=8) :: IR
               INTEGER(KIND=8) :: IC
               REAL(KIND=8) :: PAR
               INTEGER(KIND=8) :: IPHASE
             END SUBROUTINE ABCPAR
           END INTERFACE
...
       END MODULE aaa_modules
       SUBROUTINE ABCPAR (ISW, IRETST, IR, IC, PAR, IPHASE)
       INCLUDE 'dii.inc'
...
       return
       end
C  dii.inc
       use aaa_modules
C        force all variables to be declared
       implicit none
Thanks,
Lynn McGuire

Date Sujet#  Auteur
12 Nov 24 * I am getting a strange error when compiling abcpar.f in gfortran12Lynn McGuire
12 Nov 24 `* Re: I am getting a strange error when compiling abcpar.f in gfortran11Lynn McGuire
12 Nov 24  +- Re: I am getting a strange error when compiling abcpar.f in gfortran1Lynn McGuire
12 Nov 24  `* Re: I am getting a strange error when compiling abcpar.f in gfortran9baf
12 Nov 24   `* Re: I am getting a strange error when compiling abcpar.f in gfortran8Lynn McGuire
12 Nov 24    `* Re: I am getting a strange error when compiling abcpar.f in gfortran7baf
12 Nov 24     `* Re: I am getting a strange error when compiling abcpar.f in gfortran6Lynn McGuire
13 Nov 24      `* Re: I am getting a strange error when compiling abcpar.f in gfortran5baf
18 Nov 24       `* Re: I am getting a strange error when compiling abcpar.f in gfortran4Lynn McGuire
18 Nov 24        `* Re: I am getting a strange error when compiling abcpar.f in gfortran3R Daneel Olivaw
18 Nov 24         `* Re: I am getting a strange error when compiling abcpar.f in gfortran2Lynn McGuire
18 Nov 24          `- Re: I am getting a strange error when compiling abcpar.f in gfortran1R Daneel Olivaw

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal