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: and at

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.