Restart- allocatable array is already allocated

Status
Not open for further replies.

oleson

Keith Oleson
CSEG and Liaisons
Staff member
Line 125 of EDInitMod.F90 is:

allocate(site_in%term_nindivs_canopy(1:nlevsclass,1:numpft))

So I guess the error is saying that this array has already been allocated. I'd look for other possible instances of where this might be allocated. Or maybe that subroutine is being called twice (init_site_vars)? Or maybe if this is a restart, then that subroutine shouldn't be called? Sorry, not much help probably, I don't know the FATES code well.
 

slevis

Moderator
Staff member
I will add a comment in case it helps @mariuslam:
I may be wrong, but I assume that you get this error after making some code modifications. If so, then it often helps me to look at a difference between all my modifications versus the code that works. This way I have an easier time isolating the source of a problem.
 
Status
Not open for further replies.
Back
Top