@kargl ,
thanks for your answer.
I see that gfortran also complains about lines
deallocate(var, stat=ist, errmsg=emsg)
giving
Error: Assumed-rank variable var at (1) may only be used as actual argument
as well as
call allocOKMsg_(name, loc(var), sizeof(var))
giving
Error: Assumed-rank argument at (1) (in loc(var)) is only permitted as actual argument to intrinsic inquiry functions
which ifort did not.
Could you gently share some domcumentation about Fortran 202x where I can read more about this? Many thanks ![]()