Use overloading in parallel

This issue was created automatically from an original CUE issue. Further discussion may take place here.


Fortran allows overloading using interface.

For example we could do something like that:
interface p_max
subroutine p_imax(i)
integer i
end subroutine
subroutine p_dmax(d)
double d
end subroutine
end interface

integer i
double precision d

call p_max(i)
call p_max(d)

Just need to check that it works with nag it should as it is in the Fortran Standard
Example here (http://www.mathcs.emory.edu/~cheung/Courses/561/Syllabus/6-Fortran/overloading.html)