From: Axel Kohlmeyer (akohlmey_at_cmm.chem.upenn.edu)
Date: Thu Aug 03 2006 - 10:37:14 CDT

On Thu, 3 Aug 2006, Peng Tao wrote:

PT> Dear John,
PT>
PT> Now I am also trying to run IED in VMD on my local Linux box. There should
PT> not be DISPLAY problem in this way. I installed precompiled library
PT> pylib.linux.tar.gz<http://www.ks.uiuc.edu/Research/vmd/plugins/pythonlib/vmd-1.8.4/pylib.linux.tar.gz>,
PT> and set PYTHONPATH to that directory: (setenv PYTHONPATH
PT> /scr/ptao/tools/vmd/prelib/lib_LINUX-rh9), and reinstalled precomplied VMD.

try setting PYTHONHOME to that directory.
check out the python man page. :-)

axel.

PT> Unfortunately, there is still no luck here.
PT> Any luck that I can get IED work for me without recompling VMD from source
PT> code?
PT>
PT> Info) VMD for LINUX, version 1.8.4b11 (February 10, 2006)
PT> Info) http://www.ks.uiuc.edu/Research/vmd/
PT> Info) Email questions and bug reports to vmd_at_ks.uiuc.edu
PT> Info) Please include this reference in published work using VMD:
PT> Info) Humphrey, W., Dalke, A. and Schulten, K., `VMD - Visual
PT> Info) Molecular Dynamics', J. Molec. Graphics 1996, 14.1, 33-38.
PT> Info) -------------------------------------------------------------
PT> Info) Multithreading available, 1 CPU detected.
PT> Info) OpenGL renderer: Mesa GLX Indirect
PT> Info) Features: RN MTX
PT> Info) GLSL rendering mode is NOT available.
PT> Info) Textures: 2-D (2048x2048), Multitexture (6)
PT> vmd > gopython /scr/ptao/tools/ied/ied-2.02/ied.py
PT> Info) Starting Python...
PT> Info) Text interpreter now Python
PT> Traceback (most recent call last):
PT> File "VMD", line 21, in ?
PT> File "/scr/ptao/lib/vmd/scripts/python/Tkinter.py", line 59, in ?
PT> import _tkinter # If this fails your Python may not be configured for
PT> Tk
PT> ImportError: No module named _tkinter
PT> Info) Text interpreter now Tcl
PT> Traceback (most recent call last):
PT> File "<string>", line 2, in ?
PT> AttributeError: 'module' object has no attribute 'tkinter'
PT> vmd >
PT>
PT>
PT>
PT>
PT> On 8/2/06, John Stone <johns_at_ks.uiuc.edu> wrote:
PT> >
PT> >
PT> > Hi,
PT> > You mentioned you're running VMD from a remote system. Have
PT> > you verified that you've got the DISPLAY environment variable
PT> > properly set before running VMD? It's possible that Python and
PT> > TkInter aren't getting it for some reason even though VMD itself
PT> > and the Tcl-based plugins are. I assume that the other windows
PT> > display with no problem?
PT> >
PT> > Thanks,
PT> > John Stone
PT> > vmd_at_ks.uiuc.edu
PT> >
PT> >
PT> > On Wed, Aug 02, 2006 at 10:13:04PM -0400, Peng Tao wrote:
PT> > > Dear VMD user,
PT> > >
PT> > > It sounds stupid, but I still could not get IED work for me after
PT> > reading
PT> > > all of the posts about IED in the mailing list.
PT> > >
PT> > > I am trying to run IED on a remote super computer center (with Linux
PT> > > 2.6.17.6 kernal). My local machine is Redhat9. I installed precompiled
PT> > > library
PT> > > pylib.linux.tar.gz<
PT> > http://www.ks.uiuc.edu/Research/vmd/plugins/pythonlib/vmd-1.8.4/pylib.linux.tar.gz
PT> > >
PT> > > from
PT> > >
PT> > > http://www.ks.uiuc.edu/Research/vmd/plugins/pythonlib/
PT> > > And reinstalled precompiled VMD.
PT> > >
PT> > > But I still could not run IED. At the end, VMD is not complaining either
PT> > > numpy or tkinter.
PT> > > ut I don't know what's wrong with 'Frame'. I really need to use IED. But
PT> > I
PT> > > don't have administrator privilige any where. Recompiling VMD from
PT> > source
PT> > > code is not an option for me.
PT> > > Is there any thing I can do to get IED work for me?
PT> > >
PT> > > Thank you very much.
PT> > >
PT> > > Best regards,
PT> > > Peng Tao
PT> > >
PT> > > Info) VMD for LINUX, version 1.8.4a22 (October 11, 2005)
PT> > > Info) http://www.ks.uiuc.edu/Research/vmd/
PT> > > Info) Email questions and bug reports to vmd_at_ks.uiuc.edu
PT> > > Info) Please include this reference in published work using VMD:
PT> > > Info) Humphrey, W., Dalke, A. and Schulten, K., `VMD - Visual
PT> > > Info) Molecular Dynamics', J. Molec. Graphics 1996, 14.1, 33-38.
PT> > > Info) -------------------------------------------------------------
PT> > > Info) Multithreading available, 4 CPUs detected.
PT> > > Info) OpenGL renderer: Mesa GLX Indirect
PT> > > Info) Features: RN MTX
PT> > > Info) GLSL rendering mode is NOT available.
PT> > > Info) Textures: 2-D (2048x2048), Multitexture (6)
PT> > > vmd > gopython /a/osu3112/tools/IED/ied-2.02/ied.py
PT> > > Info) Starting Python...
PT> > > Info) Text interpreter now Python
PT> > > Traceback (most recent call last):
PT> > > File "VMD", line 21, in ?
PT> > > File "/a/osu3112/bin_p4/lib/vmd/scripts/python/Tkinter.py", line 59, in
PT> > > ?
PT> > > import _tkinter # If this fails your Python may not be configured for
PT> > > Tk
PT> > > ImportError: No module named _tkinter
PT> > > Info) Text interpreter now Tcl
PT> > > Traceback (most recent call last):
PT> > > File "<string>", line 2, in ?
PT> > > AttributeError: 'module' object has no attribute 'tkinter'
PT> > > vmd > gopython /a/osu3112/tools/IED/ied-2.02/ied.py
PT> > > Info) Text interpreter now Python
PT> > > Traceback (most recent call last):
PT> > > File "VMD", line 466, in ?
PT> > > AttributeError: 'module' object has no attribute 'Frame'
PT> > > Info) Text interpreter now Tcl
PT> > > vmd > gopython /a/osu3112/tools/IED/ied-2.02/ied.py
PT> > > Info) Text interpreter now Python
PT> > > Traceback (most recent call last):
PT> > > File "VMD", line 466, in ?
PT> > > AttributeError: 'module' object has no attribute 'Frame'
PT> > >
PT> > > Info) Text interpreter now Tcl
PT> >
PT> > --
PT> > NIH Resource for Macromolecular Modeling and Bioinformatics
PT> > Beckman Institute for Advanced Science and Technology
PT> > University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801
PT> > Email: johns_at_ks.uiuc.edu Phone: 217-244-3349
PT> > WWW: http://www.ks.uiuc.edu/~johns/ Fax: 217-244-6078
PT> >
PT>
PT>
PT>
PT>

-- 
=======================================================================
Axel Kohlmeyer   akohlmey_at_cmm.chem.upenn.edu   http://www.cmm.upenn.edu
   Center for Molecular Modeling   --   University of Pennsylvania
Department of Chemistry, 231 S.34th Street, Philadelphia, PA 19104-6323
tel: 1-215-898-1582,  fax: 1-215-573-6233,  office-tel: 1-215-898-5425
=======================================================================
If you make something idiot-proof, the universe creates a better idiot.