File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 1111
1212# Use the error handler bound to MPI_COMM_SELF as the default error handler.
1313
14+ # Use ierror instead of ierr in "use mpi" Fortran interface. This affects
15+ user code if they call with explicit keyword, e.g. call MPI_Init(ierr=arg).
16+ "ierror" is the correct name specified in the MPI specification. We only
17+ added subroutine interface in "mpi.mod" since 4.1.
18+
1419===============================================================================
1520 Changes in 4.1
1621===============================================================================
Original file line number Diff line number Diff line change @@ -92,8 +92,8 @@ def dump_ignore_tkr():
9292 G .out .append ("" )
9393 if 'return' not in func :
9494 if not len (f_param_list ) or not RE .match (r'ierr(or)?' , f_param_list [- 1 ]):
95- f_param_list .append ('ierr ' )
96- decl_list .append ("INTEGER :: ierr " )
95+ f_param_list .append ('ierror ' )
96+ decl_list .append ("INTEGER :: ierror " )
9797 dump_fortran_line ("SUBROUTINE %s(%s)" % (func_name , ', ' .join (f_param_list )))
9898 else :
9999 dump_fortran_line ("FUNCTION %s(%s) result(res)" % (func_name , ', ' .join (f_param_list )))
You can’t perform that action at this time.
0 commit comments