VMD-L Mailing List
From: John Stone (johns_at_ks.uiuc.edu)
Date: Wed Sep 01 2004 - 13:45:20 CDT
- Next message: Kooser, Ara S: "RE: xyz-file loading"
- Previous message: John Stone: "Re: xyz-file loading"
- In reply to: Troy Wymore: "Extensions question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Hi Troy,
In order to get the GUI-oriented plugins to show up in your extensions
menu, you'll need to do some slightly trickier things. The instructions
on the web site really only cause the new molfile plugins to be loaded.
I'm still working on improving this system to make updates like these
easier. In the mean time, I'm updating that page to include better
instructions.
You shouldn't have to manually change that to /home/wymore/plugins, since
it should evalute $env(HOME) to get /home/wymore anyway.
In order to add the new molfile plugins to your VMD 1.8.2
installation, add these exact lines (verbatim) to your .vmdrc:
menu main on
vmd_plugin_scandirectory [file join $env(HOME) plugins [vmdinfo arch] molfile] *.so
In order to see the new APBS plugin, you'll have to add a bit more:
global tk_version
lappend auto_path [file join $env(HOME) plugins [vmdinfo arch] tcl]
lappend auto_path [file join $env(HOME) plugins noarch tcl]
if { [info exists tk_version] } {
if { [catch {package require apbsrun} msg] } {
puts "VMD APBSRun package could not be loaded:\n$msg"
} elseif { [catch {menu tk register "apbsrun" apbsrun} msg] } {
puts "VMD APBSRun could not be started:\n$msg"
}
}
Let me know if you have any trouble getting this working.
I'm going to update the plugins page today with this
information.
John Stone
vmd_at_ks.uiuc.edu
On Wed, Sep 01, 2004 at 12:28:31PM -0400, Troy Wymore wrote:
>
> Hello,
>
> I am trying to get the extra plugins/extensions to work with VMD
> 1.8.2. I downloaded the latest update and unpacked it in my home
> directory. So now I have a /home/wymore/plugins dir with everything from
> that tar file there. I changed my .vmdrc file and hoped I would see under
> the Extensions menu, the APBS plugin detailed on the VMD website. But
> nothing new is under the extensions menu. Do I have to download all the
> updates for 1.8.2?
>
> Also I wasn't sure what I needed to change in .vmdrc file. For example,
> the website says to add:
>
> # Load the molecule file reader plugins
> vmd_plugin_scandirectory [file join $env(HOME) plugins [vmdinfo arch]
> molfile] *.so
>
> So do I just change "vmd_plugin_scandirectory" to /home/wymore/plugins or
> /home/wymore/plugins/LINUX/molfile or something else?
>
> Any help on this is much appreciated.
>
> Thanks,
>
> Troy Wymore
> PSC
>
-- NIH Resource for Macromolecular Modeling and Bioinformatics Beckman Institute for Advanced Science and Technology University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801 Email: johns_at_ks.uiuc.edu Phone: 217-244-3349 WWW: http://www.ks.uiuc.edu/~johns/ Fax: 217-244-6078
- Next message: Kooser, Ara S: "RE: xyz-file loading"
- Previous message: John Stone: "Re: xyz-file loading"
- In reply to: Troy Wymore: "Extensions question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]