How did you install gromacs? You mention compiling it in your last paragraph. Did you compile it on this system where you are running it?
Note that there are instructions how to install it referenced on their web page,
http://manual.gromacs.org/documentat...6.3/index.html, and also this type of package usually does require you to build it from source because it is performing a high amount of advanced math computations, therefore it is important to have the software understand the system's capabilities when it gets installed.