python · shell

gmon.out

Recently I moved to another HPC and recompiled all my programs. And suddenly  gmon.out appears in many directories. I searched a bit and realized that is the profiling issue. But nobody discussed in details. It is quite confused for a user like me, who don’t used profiling that often.

Because when I configured my python, I used –enable-profiling option. So every time when I run python, it produces gmon.out which contains the enter, exit time for every functions I used in python.

So remove –enable-profiling solved this problem.

Leave a comment