Error in installation of g_mmpbsa

GROMACS version: 2019.6
GROMACS modification: Yes/No

Hi. I’m installing g_mmpbsa using the installation guide in the following link:

  1. tar -zxvf g_mmpbsa.tar.gz
  2. cd bin
  3. sudo cp g_mmpbsa /usr/local/bin/.
  4. sudo cp energy2bfac /usr/local/bin/.

After using command line 3, I encountered with error:

cp: failed to access ‘/usr/local/bin/.’: Not a directory

I checked. In my linux, there is no bin directory. There is executive bin file in /usr/local

How to fix this issue?


this isn’t an official Gromacs tool so you should ask the author for further help.

That said, the solution is to copy the files to some directory which is in your $PATH variable. You’ll have to look this up for your Linux distribution but /usr/bin/ is a likely alternative.