error #7836: If the actual argument is scalar, the corresponding dummy argument shall be scalar unless the actual argument is an element of an array that is not an assumed-shape or pointer array, or a substring of such an element.
改正方法之一:The dummy argument problem : I see you are using Fortran v11. I think that by default this has the options
Project->Properties->Fortran->Diagnostics Check Routine Interfaces and Generate Interface Blocks【没找到】 set YES, you could try setting them both to NO.
注意该方法的缺点。