Error message: Found token: `YPAT` in the input file

I am using xyzfile variable to invoke the .xyz structure information. And it has following errors. How to solve this issue?

— !ERROR
src_file: m_parser.F90
src_line: 3763
mpi_rank: 0
message: |
Found token: YPAT in the input file.
This name is not one of the registered input variable names (see https://docs.abinit.org/).
Action: check your input file. Perhaps you mistyped the input variable,
or specified “img”, although this was not permitted for this input variable.

Hi - you have a stray string of characters in your input. Abinit does not allow any string it does not understand (except comments). You probably forgot the t in typat, and if you are using an xyz format file the typat is not even needed.

As usual - please follow the netiquette on the main forum page. If you had sent us your input and abinit details we could have checked the above and been more complete and useful…

I can reproduce this error. I have 2 .abi files which define the same input, one using xyzfile, and the other including the same atom data in the abi file. When I use the xyzfile, the same error occurs. When I use only the second abi file, the run completes successfully.

I will be happy to provide input and output files if needed - if so, please advise me how to send them.

Ian