Well, while using a virtual machine is definitely possible, it might decrease the reliability of the test. The virtual machine has no direct access to physical hardware, so it does not know the physical memory layout. There might be also some additional memory fragmentation. So, in such case, you might be hammering some bits outside the VM. This is wrong for two reasons. First, the software can't directly detect such effect. Second, it might (at least theoretically) do some harm to the host system.
I am not sure what you mean by Linux simulators. If you mean a virtual machine, this is what I have replied above. If you mean something like Cygwin, you probably can. However, there might be some small nuances in the API. Remember that the rowhammer test ban be very fragile. Any such nuance can make the test not finding any errors on faulty RAM. Neither virtual machines nor Cygwin attempt to emulate hardware failures :)
Note that I have seen the rowhammer test to detect the RAM fault when running virtualized. But it might be less reliable in general, so I run it on bare metal.
I have successfully compiled and performed rowhammer with Ubuntu 12.04 and Debian 8. Newer versions (e.g. Ubuntu 14.04) are probably also OK. I recommend using 64bit version. (I've recently seen reported some troubles (when compiling) probably related to using 32bit OS.)
It will, however, probably run on many other Linux distributions. These two are just some I've tried.
Regards,
Vít Šesták 'v6ak'