- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am using ifc 9.0. The code does not have any common block. When I ran the code with two threads, I got the following abort message:
OMP abort: Inconsistent THREADPRIVATE common block declarations are non-conforming and are unsupported.
Either all threadprivate common blocks must be declared identically, or the largest instance of each threadprivate common block must be referenced first during the run.
Abort
Does any one have the same problem or know what is going on?
Thanks,
David
I am using ifc 9.0. The code does not have any common block. When I ran the code with two threads, I got the following abort message:
OMP abort: Inconsistent THREADPRIVATE common block declarations are non-conforming and are unsupported.
Either all threadprivate common blocks must be declared identically, or the largest instance of each threadprivate common block must be referenced first during the run.
Abort
Does any one have the same problem or know what is going on?
Thanks,
David
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What things do you have declared as THREADPRIVATE in your program?
Can you give an example of your declarations, or a small reproducer?
Mike R.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Mike,
threadprivate variable includes real, integer, allocatable, and character. When I construct some tiny test programs, they all work. But in the small subset (at this point it contains of more than thirty subroutines) of my application, it fails. It failed at this type of formatted write statement:
WRITE(TITLE1,130)
130 FORMAT(68(' '))
TITLE1 is declared as character*68. When I replace the write statement with
TITLE1 = ' '
It works but it failed later at a deallocation statement. I have checked the variable has been allocated properly and with the right size. All these failures do not make any sense. My thought was some memory location was being stumped on. I turned on all the run time array bound checking and nothing turned up.
Thanks,
David
threadprivate variable includes real, integer, allocatable, and character. When I construct some tiny test programs, they all work. But in the small subset (at this point it contains of more than thirty subroutines) of my application, it fails. It failed at this type of formatted write statement:
WRITE(TITLE1,130)
130 FORMAT(68(' '))
TITLE1 is declared as character*68. When I replace the write statement with
TITLE1 = ' '
It works but it failed later at a deallocation statement. I have checked the variable has been allocated properly and with the right size. All these failures do not make any sense. My thought was some memory location was being stumped on. I turned on all the run time array bound checking and nothing turned up.
Thanks,
David

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