- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
I am compilling several files written in F77, using Intel Visual Fortran in Visual Studio 2008
The compiller gives me the following error
An allocate/deallocate object must have the ALLOCATABLE or POINTER attribute
This seems to be a feature of F90 and up
Is there any way to force the compiler to use F77 only? I am using the flag to Fixed Format, but still produces the same error.
Thanks.
The compiller gives me the following error
An allocate/deallocate object must have the ALLOCATABLE or POINTER attribute
This seems to be a feature of F90 and up
Is there any way to force the compiler to use F77 only? I am using the flag to Fixed Format, but still produces the same error.
Thanks.
- Marcas:
- Intel® Fortran Compiler
1 Solução
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
hello
ALLOCATE and allocatable arrays was not included ion F77 standard. So, your F77 sources files use an proprietary extension to F77. CVF and IVF can compile Microsoft F77 extension without modification but it seems that your F77 source files use another compiler extensions.
I think that you must change your source fils to accommodate to Microsoft extensions or F90 standard.
The Microsoft F77 extension syntax was :
REAL*8 array[allocatable](:)
ALLOCATE(array(dim))
...
DEALLOCATE(ARRAY)
ALLOCATE and allocatable arrays was not included ion F77 standard. So, your F77 sources files use an proprietary extension to F77. CVF and IVF can compile Microsoft F77 extension without modification but it seems that your F77 source files use another compiler extensions.
I think that you must change your source fils to accommodate to Microsoft extensions or F90 standard.
The Microsoft F77 extension syntax was :
REAL*8 array[allocatable](:)
ALLOCATE(array(dim))
...
DEALLOCATE(ARRAY)
Link copiado
2 Respostas
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
hello
ALLOCATE and allocatable arrays was not included ion F77 standard. So, your F77 sources files use an proprietary extension to F77. CVF and IVF can compile Microsoft F77 extension without modification but it seems that your F77 source files use another compiler extensions.
I think that you must change your source fils to accommodate to Microsoft extensions or F90 standard.
The Microsoft F77 extension syntax was :
REAL*8 array[allocatable](:)
ALLOCATE(array(dim))
...
DEALLOCATE(ARRAY)
ALLOCATE and allocatable arrays was not included ion F77 standard. So, your F77 sources files use an proprietary extension to F77. CVF and IVF can compile Microsoft F77 extension without modification but it seems that your F77 source files use another compiler extensions.
I think that you must change your source fils to accommodate to Microsoft extensions or F90 standard.
The Microsoft F77 extension syntax was :
REAL*8 array[allocatable](:)
ALLOCATE(array(dim))
...
DEALLOCATE(ARRAY)
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Quoting - gvautier
hello
ALLOCATE and allocatable arrays was not included ion F77 standard. So, your F77 sources files use an proprietary extension to F77. CVF and IVF can compile Microsoft F77 extension without modification but it seems that your F77 source files use another compiler extensions.
I think that you must change your source fils to accommodate to Microsoft extensions or F90 standard.
The Microsoft F77 extension syntax was :
REAL*8 array[allocatable](:)
ALLOCATE(array(dim))
...
DEALLOCATE(ARRAY)
ALLOCATE and allocatable arrays was not included ion F77 standard. So, your F77 sources files use an proprietary extension to F77. CVF and IVF can compile Microsoft F77 extension without modification but it seems that your F77 source files use another compiler extensions.
I think that you must change your source fils to accommodate to Microsoft extensions or F90 standard.
The Microsoft F77 extension syntax was :
REAL*8 array[allocatable](:)
ALLOCATE(array(dim))
...
DEALLOCATE(ARRAY)
Thanks,
This solves my problem

Responder
Opções do tópico
- Subscrever fonte RSS
- Marcar tópico como novo
- Marcar tópico como lido
- Flutuar este Tópico para o utilizador atual
- Marcador
- Subscrever
- Página amigável para impressora