Re: [AMBER] ante-MMPBSA.py problem

From: Jason Swails <jason.swails.gmail.com>
Date: Fri, 19 Apr 2013 14:07:25 -0400

On Fri, Apr 19, 2013 at 12:56 PM, Chris Chris <alpharecept.yahoo.com> wrote:

> I have been having trouble with topology files when using mmpbsa_mpi.py
>
> To hopefully get around the problem, I am using ante-MMPBSA.py.
>
> Can someone tell me what I'm doing wrong here?
>
> cgaughan.tg-login1:~/2psj_A/2psj_A_CTZ/2psj_2ctz_112812/mmpbsa/ante_mmpbsa>
> ante-MMPBSA.py -p ./2psj_2ctz_112812.prmtop -c ./complex_unsolvated.prmtop
> -r receptor.prmtop -l ligand.prmtop -s ":WAT" -s ":Na+" -m ":1-306"
> Stripping :Na+ (solvent) from original topology, output is
> ./complex_unsolvated.prmtop
> Error: Creating complex topology failed!
>

You can only specify one strip mask. This will only strip Na+ ions (as the
message tells you). If you want to strip both water and Na+, you need to
use:

-s ":WAT,Na+"


>
> Traceback (most recent call last):
> File "/usr/local/packages/AMBER12/parmed.py", line 5, in <module>
> import sys, math
> ImportError:
> /usr/local/packages/yt-x86_64/lib/python2.7/lib-dynload/math.so: undefined
> symbol: PyLong_AsLongAndOverflow
>

Your Python appears to be broken. Try this command:

python -c "import math"

If you get an error message, see if there is another Python installed on
your system and try that one instead (via the --with-python
/your/new/python flag to configure). I'm afraid we will not be able to
help you debug a problem with your Python installation (we would just tell
you to re-install Python).

If you get no error message (it should appear to do nothing), then look at
the first line of your $AMBERHOME/bin/ante-MMPBSA.py file. It should look
something like:

#!/usr/local/packages/yt-x86_64/bin/python2.7

or something like that. Then run the same test on that python:

/usr/local/packages/yt-x86_64/bin/python2.7 -c "import math"

That should give you an error. If you got no error with the first command,
then you can re-install AmberTools using this system-default Python and
that should fix your issue. (Basically just go to $AMBERHOME and run
./configure gnu again).

HTH,
Jason

-- 
Jason M. Swails
Quantum Theory Project,
University of Florida
Ph.D. Candidate
352-392-4032
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Fri Apr 19 2013 - 11:30:02 PDT
Custom Search