- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What should I do if this error occurs when running the Fortran program?
error #6279: A specification expression object must be a dummy argument, a COMMON block object, or an object accessible through host or use association. [MPI_STATUS_SIZE]
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
First of all, it very much looks like you are building the program, not running it :).
Then: you do not show any source code, that makes it difficult to point out what is the cause in the source code. But it would seem that the name "MPI_STATUS_SIZE" is either unknown or not of the right type - in specification statements things are much more limited.
But in any case: we need to see the source code.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The offending statement as @Arjen_Markus would be helpful.
MPI_STATUS_SIZE is an integer parameter defined in an MPI module. It is likely that you forgot a USE the appropriate MPI module.
Note, IIF your use of MPI_STATUS_SIZE is located within a Fortran include file (*.fi) for the purpose of including COMMON blocks, the source code procedure that includes this file must also have the USE <MPI module here>.
Jim Dempsey
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page