- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
When I moved my code to a new computer (and after changing from integer to integer*4 for ierr, size and rank) I get compile warnings (attached) and runtime errors (attached) for the data type of ierr, size and rank.
I have reduced the source code to just a few lines (attached).
Best regards
Anders S
- Tags:
- Parallel Computing
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't entirely understand the justification for considering integer*4 as not matching integer, without providing a more complete diagnosis.
Consider:
integer*4 is non-standard. Better synonyms have been in Fortran for the last 20 years, more so now that Fortran2008 features are supported by most compilers. It is non-portable and you could break it even with the same compiler by changing compile line options.
Until recently, MPI wrapper compilation was not expected to check such things. Intel can reasonably claim value for the improved checks.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page