Printing Variables with WRITE #14220
SaharRasoulpour
started this conversation in
General
Replies: 1 comment 7 replies
-
Just follow an example in dump.f90. Should look something like this:
|
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a question about the output file. I’m trying to print a variable in source code, so I added a write(LU_output) variable_name statement inside the loop in init.f90 (for example, LAYER_DENSITY). I also added global_constant at the top of the init.f90 file. However, after compiling, the variable does not appear in the output file. What could be causing this issue, and how can I modify the code so that the variable actually appears in the output?
Beta Was this translation helpful? Give feedback.
All reactions