[MMTK] MMTK 2.2 with Python 2.2
Berit Hinnemann
Berit.Hinnemann@fysik.dtu.dk
Thu, 22 Aug 2002 13:55:35 +0200
Konrad Hinsen wrote:
>
> Here is what I get (without any crash):
>
> 58.6206188561
> {'harmonic bond': 3.6368998786352358, 'electrostatic/ewald direct sum': 1164.6289245944686, 'electrostatic': 20.953643214638987, 'harmonic bond angle': 4.1739384058895146, 'electrostatic/ewald reciprocal sum': 372.0040546147543, 'Lennard-Jones': 14.767833207558489, 'cosine dihedral angle': 15.088304149375503, 'electrostatic/ewald self term': -1515.6793359945839}
>
This is exaclty the same I get with Python 2.1.
> As a first test, add the following at the beginning of your script:
>
> import gc
> gc.disable()
I have tried it in several scripts and the errors remain the same.
> In any case, I'd be interested in the following information (also from
> others who see strange crashes):
>
> 1) What system are you using?
> 2) Which versions of
> - Python
> - Numeric
> 3) Were any non-standard options used in compiling Python?
> 4) Does disabling the garbage collector help?
The setup is
1) PC with Redhat 7.3
2) -Python version: 2.2-16 (from the python 2-2.2-16.rpm)
-Numeric version: NUMERIC-22.0-1 (recompiled Numeric.src.rpm with
command "rpm --rebuild <rpm>")
3) The rpm was used.
4) Diabling the garbage collector does not help.
Are the versions of python and Numeric different from the ones you are
using? Maybe it could be a different Numeric version?
Thanks,
Berit
--
Berit Hinnemann
Center for Atomic-Scale Materials Physics (CAMP)
Dept. of Physics, Technical University of Denmark
Building 307, DK-2800 Lyngby, Denmark
Phone: +45 4525 3209, Fax: +45 4593 2399