问题
I have some code which compiles fine on one machine but on a different machine (using the same compilers, gcc and gfortran, and same flags) I get an error which I can't understand how it is compile related:
deflate_status = nf90_def_var_deflate(NCF%ncid, i, 0, 1, 7)
1
Error: Function 'nf90_def_var_deflate' at (1) has no IMPLICIT type
The variable is definitely declared (and it compiles and runs on the first machine). What sort of problems with compile setup could cause this error?
来源:https://stackoverflow.com/questions/42653810/error-nf90-def-var-deflate-has-no-implicit-type-only-on-one-computer