As an example, look n dyn_em/module_initialize_real.F, around line 1627. Change the line beginning with grid%, from:
! Land use assignment
DO j = jts, MIN(jde-1,jte)
DO i = its, MIN(ide-1,ite)
grid%lu_index(i,j) = grid%ivgtyp(i,j)
to
grid%ivgtyp(i,j) = grid%lu_index(i,j)
Then recompile the code (no need to do a 'clean -a' or reconfigure, since you are not altering the Registry file). Check wrfinput_d01 after running real.exe. It should not have any effect on other fields in the input file.
! Land use assignment
DO j = jts, MIN(jde-1,jte)
DO i = its, MIN(ide-1,ite)
grid%lu_index(i,j) = grid%ivgtyp(i,j)
to
grid%ivgtyp(i,j) = grid%lu_index(i,j)
Then recompile the code (no need to do a 'clean -a' or reconfigure, since you are not altering the Registry file). Check wrfinput_d01 after running real.exe. It should not have any effect on other fields in the input file.