[AMBER-Developers] AMBERHOME with spaces

From: Eric Pettersen <pett.cgl.ucsf.edu>
Date: Tue, 13 Jul 2021 13:09:57 -0700

Hi All,
        Somewhere between AmberTools 18 and 20, the code in antechamber that quoted executable paths with spaces in them before being sent to a system() call got removed. Consequently, antechamber can't execute its subprograms (e.g. bondtype) in such situations and bombs out (since the system() call interprets the path up to the first space as the "executable"). So antechamber will fail if AmberTools is installed into a folder/directory with a space anywhere in the path leading to it.
        I have attached a patch file for AmberTools/src/antechamber/common.c that restores the quote-if-necessary functionality. I hope it can be incorporated, or some other code added that produces the same result.

--Eric

        Eric Pettersen
        UCSF Computer Graphics Lab

_______________________________________________
AMBER-Developers mailing list
AMBER-Developers.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber-developers
Received on Tue Jul 13 2021 - 13:30:02 PDT
Custom Search