Hi chao,

I don't think you can deallocate c2r_allout.

The array is used later in ./Main/clmlib/mod_mtrxclm.F90

When you look at the code, you will see this array is deallocated after using.

Guangshan Chen

On May 5, 2012, at 2:36 AM, chao sun wrote:

Hi all,
I found a bug in the code, it may cause a segment fault :
In ./Main/clmlib/clm_atmlnd.F90 line 1433
Fix:
Add the c2r_allout into the deallocate.

I am not very sure about it, and I would like to hear your suggestion.

Best regards.
Sincerely,
Sun Chao

_______________________________________________
RegCNET mailing list
RegCNET@lists.ictp.it
https://lists.ictp.it/mailman/listinfo.cgi/regcnet