-
In some troubleshooting, I wanted to just output one processor's worth of messages to the cesm.log file. That's where the rest of my troubleshooting messages are going, and I want to be able to view all the messages in one file to get them in chronological order. However, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Output from any processor other than masterproc will go to cesm.log. While output on masterproc goes to the lnd.log. Adding the if masterproc just suppresses the output from other processors. The redirection to each file happens in the NUOPC cap for CTSM. So for your own experiment you should be able to change it so that all output goes to only one of the files for all processors. That would be a temporary hack to add to your own code. The other way to do it would be to send the output you want from other processors to masterproc and then output it all on on masterproc. |
Beta Was this translation helpful? Give feedback.
Output from any processor other than masterproc will go to cesm.log. While output on masterproc goes to the lnd.log. Adding the if masterproc just suppresses the output from other processors.
The redirection to each file happens in the NUOPC cap for CTSM. So for your own experiment you should be able to change it so that all output goes to only one of the files for all processors. That would be a temporary hack to add to your own code.
The other way to do it would be to send the output you want from other processors to masterproc and then output it all on on masterproc.