Hi. I know the reason. The reason is that the netcdf lib that I use contains a special method nc_put_att_string which is not in a standard netcdf lib.
netcdfgroup