Depends,
If retropie was installed, then mame4all should be here /opt/retropie/emulators/mame4all
I suggest taking a look at retroarch which is also installed with retropie as the libretrocores run a little better on the pi, IMHO. The FBnext core runs a lot of mame games the pi incredibly well.