The partition file

The partition file of a graph with n vertices consists of n lines with a single number per line which refers to the partition number that the ith vertex belongs to. Can someone tell me the procedure to assign the partition number within the metis-5.1.0 package. Thank you a lot.

RE: The partition file is

The partition file is generated by Metis and you do not have to provide it yourself.