Dear all,
I tried using the forest control initialization file to run the FATES model by using the following command.
echo "use_fates_inventory_init = .true.">> user_nl_clm
echo "fates_inventory_ctrl_filename = '/global/homes/x/Mydata/single-point/1x1pt-mysite/1x1pt-tmysite_inv_info.txt'" >> user_nl_clm
I got the following ERROR:
inventory pft: 20
An inventory cohort file specified a pft index
greater than the maximum specified pfts numpft
ENDRUN:
ERROR in FatesInventoryInitMod.F90 at line 874
Then I edited the PFT numbers, set all of them to 0 in the .css file. The ERROR changed.
inventory pft: 18
An inventory cohort file specified a pft index
greater than the maximum specified pfts numpft
ENDRUN:
ERROR in FatesInventoryInitMod.F90 at line 874
The code of line 874 in FatesInventoryInitMod.F90 file is:

I cannot find the value of c_pft and numpft. Could someone help me to give some suggestions about the PFT.
Sincerely,
Xiuyi
I tried using the forest control initialization file to run the FATES model by using the following command.
echo "use_fates_inventory_init = .true.">> user_nl_clm
echo "fates_inventory_ctrl_filename = '/global/homes/x/Mydata/single-point/1x1pt-mysite/1x1pt-tmysite_inv_info.txt'" >> user_nl_clm
I got the following ERROR:
inventory pft: 20
An inventory cohort file specified a pft index
greater than the maximum specified pfts numpft
ENDRUN:
ERROR in FatesInventoryInitMod.F90 at line 874
Then I edited the PFT numbers, set all of them to 0 in the .css file. The ERROR changed.
inventory pft: 18
An inventory cohort file specified a pft index
greater than the maximum specified pfts numpft
ENDRUN:
ERROR in FatesInventoryInitMod.F90 at line 874
The code of line 874 in FatesInventoryInitMod.F90 file is:

I cannot find the value of c_pft and numpft. Could someone help me to give some suggestions about the PFT.
Sincerely,
Xiuyi