Where is the Restart subroutine for each module called?

Status
Not open for further replies.

jiamengl

Jiameng Lai
Member
What version of the code are you using?
cesm_dart_2.2.03

Have you made any changes to files in the source tree?
Yes, I am trying to change the subroutine Restart in the code SoilBiogeochemCarbonStateType.F90. I will need to add one more variable as input argument in this subroutine so that I have to also change the code to call this subroutine. However, I was not able to find out which line of code (and in which F90 file) was this subroutine was called.

Describe your problem or question:
Could anyone direct me to the line where the subroutine Restart in each module was called?
 

slevis

Moderator
Staff member
I do not remember this information by heart, so I will share how I found the answer to your question in my version of the model.

I'm looking at this version: ctsm5.3.056
I used this command: git grep -i restart | grep call

This returns a long list of calls, such as these:
call restartvar(...
and also many similar to the following
call crop_inst%restart

I hope that this guides you in the correct direction. Also, I narrowed down the results somewhat by modifying the last command:
git grep -i restart | grep -i soilbiogeochem
 
Status
Not open for further replies.
Back
Top