- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, i am getting the following error when trying to complie my program. I have compiled it using the Lahey compiler with the default options and it works correctly. Here's the error message i get:
fortcom: Error: Ogive8.f90, line 183: The highest data type rank permitted is INTEGER(KIND=8).
ALLOCATE (id_point(0:nMax+1000,NGrains), STAT=STAT)
------------------------------------------^
the variable decloration is as follows:
INTEGER, ALLOCATABLE, DIMENSION(:,:) :: id_point
I've also tried compiling with the following options but with no success:
ifort Ogive8.f90 -o Ogive8 -integer_size 64
If anyone has any insight that would be appreciated.
James
fortcom: Error: Ogive8.f90, line 183: The highest data type rank permitted is INTEGER(KIND=8).
ALLOCATE (id_point(0:nMax+1000,NGrains), STAT=STAT)
------------------------------------------^
the variable decloration is as follows:
INTEGER, ALLOCATABLE, DIMENSION(:,:) :: id_point
I've also tried compiling with the following options but with no success:
ifort Ogive8.f90 -o Ogive8 -integer_size 64
If anyone has any insight that would be appreciated.
James
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hmm, I need a little more context. How is NGrains declared, and what is it's value. Or better yet, on the "Options" tab you will see that you can upload a file. Is Ogive8.f90 stand-alone, or is it INCLUDing or USing half the known universe? If it's simple, upload it so we can have a look.
OR you can open an issue on premier.intel.com and upload the file there.
There's just not enough here to go on.
OR you can open an issue on premier.intel.com and upload the file there.
There's just not enough here to go on.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks but I realized my mistake. The variables i used in defining the allocation was of the wrong data type (type=real).
Stupid mistake, The Lahey compiler is more forgiving and i never caught my mistake till now.
Thanks,
James
Stupid mistake, The Lahey compiler is more forgiving and i never caught my mistake till now.
Thanks,
James

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