This error message is indicating that there is a type mismatch in the argument 's' in the program, where a REAL(8) value is being passed to an INTEGER(4) parameter.

In Fortran, each variable has a specific data type and size that must be declared before it can be used. REAL(8) represents a double-precision floating-point number, which typically takes up 8 bytes of memory, while INTEGER(4) represents a 32-bit integer, which typically takes up 4 bytes of memory.

This error can occur when a variable of one data type is being passed as an argument to a subroutine or function that expects a different data type. To fix this error, you should make sure that the data types of the variables being passed match the expected types in the subroutine or function.

Type mismatch in argument ‘s’ at 1; passed REAL8 to INTEGER4

原文地址: http://www.cveoy.top/t/topic/bnvW 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录