How to run the tools in m3tools

I want to use m3fake and m3mask in m3tools to make region mask files for CMAQ, but I don’t know how to run them after I compile ioapi. What commands do I need to use to run these programs? What files do I need to prepare before running them?
I’m a beginner, thanks for your answers!

They are documented here: https://cjcoats.github.io/ioapi/AA.html#tools and at https://www.cmascenter.org/ioapi/documentation/all_versions/html/AA.html#tools

The file should be entirely filled with lines having a numeric pair: a column-number and a row-number.

Your line 1 is non-numeric “col row”. This file doesn’t use “header-lines”…

Thank you for your answer. I just ran it successfully.