Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Anders_S_1
Beginner
127 Views

Argument mismatch for ierr, size and rank in MPI call

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 (1)
0 Kudos
1 Reply
TimP
Black Belt
127 Views

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.

 

Reply