Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

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.
Top