- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page