- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
In a fixed form fortran code, when i use the following OpenMP statement the IVF compiler 10.1 generates syntax errors:
!$omp parallel do reduction (+ : numf, iw_nfcon, iw_nfobj, iw_numt, rw_tsum)
...
!$omp end parellel do
I get: Error: Syntax error, found END-OF-STATEMENT when expecting one of: , )
However, if I don't seperate the variable list with commas, no compiler errors are produced. I don't know if it compiles correctly because I'm still coding.
Is this a bug, or am I just missing something, as the list is suposed to be separated by commas?
thanks,
-joe
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok, it appears if I remove the underbars, "_", from the variable names, compilation with a comma separated list works.
It appears that variables with "_" are not supported. Is that how it should be?
-joe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Steve! I so seldom use fixed form anymore that i forgot to see the obvious.
-joe

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