VMD-L Mailing List
From: John Stone (johns_at_ks.uiuc.edu)
Date: Mon Apr 03 2017 - 10:16:14 CDT
- Next message: H. Lee: "Re: modify the plugin in MACOS X"
- Previous message: John Stone: "Re: Accessing tachyon optix from commandline and dat file generation"
- In reply to: H. Lee: "Re: modify the plugin in MACOS X"
- Next in thread: H. Lee: "Re: modify the plugin in MACOS X"
- Reply: H. Lee: "Re: modify the plugin in MACOS X"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
What are the major and minor version numbers you have set in your
VASP plugin code? The current version in the recent VMD 1.9.3 release
was set as follows, so your version number would have to be greater than
this one:
..
int VMDPLUGIN_init(void) {
memset(&plugin, 0, sizeof(molfile_plugin_t));
plugin.abiversion = vmdplugin_ABIVERSION;
plugin.type = MOLFILE_PLUGIN_TYPE;
plugin.name = "CHGCAR";
plugin.prettyname = "VASP_CHGCAR";
plugin.author = "Sung Sakong";
plugin.majorv = 0;
plugin.minorv = 7;
..
Cheers,
John Stone
vmd_at_ks.uiuc.edu
On Mon, Apr 03, 2017 at 05:11:43PM +0200, H. Lee wrote:
> Dear John Stone:
> Thank you very much for your reply.
> Yes, I want to modify one of molfile plugins, vaspchgcarplugin.c.
> I have already modified, compiled, and copy it, as mentioned in this
> source code as follows:
>
> * MACOSX
> 00023 * c++ -O2 -Wall -I. -I$VMDBASEDIR/plugins/include -c vaspchgcarplugin.c
> 00024 * c++ -bundle -o vaspchgcarplugin.so vaspchgcarplugin.o
> 00025 *
> 00026 * Install
> 00027 * copy vaspchgcarplugin.so $VMDBASEDIR/plugins/$ARCH/molfile
>
> However, this change has not been reflected in VMD.
> It would be much appreciated if you could give me more assistance.
> Sincerely,
> H. Lee
> On Mon, Apr 3, 2017 at 4:47 PM, John Stone <[1]johns_at_ks.uiuc.edu> wrote:
>
> What plugin(s) are you trying to modify? If you're talking about
> compiled molfile plugins, you must ensure that you have updated the
> major/minor version numbers of the plugin if you want to have your
> plugin supercede one of the plugins that's already included with VMD.
> If you tell us more specifically what you're doing we can give more
> assistance.
>
> Cheers,
> Â John Stone
> Â [2]vmd_at_ks.uiuc.edu
> On Sat, Apr 01, 2017 at 03:28:11PM +0200, H. Lee wrote:
> >Â Â Dear developers:
> >Â Â I am using VMD in MACOS X in the form of the pre-complied binary
> from the
> >Â Â VMD website (dmg file).
> >Â Â I want to modify some plugin included in VMD, but I fail to do
> it; even if
> >Â Â I modify, compile and link dynamically, it is not reflected in
> VMD.
> >Â Â I think that the pre-compiled binary in MAC includes the static
> library
> >Â Â for plugins.
> >Â Â How can I use the modified plugins in MACOS X?
> >Â Â Sincerely,
> >Â Â Hyungjun Lee
>
> --
> NIH Center for Macromolecular Modeling and Bioinformatics
> Beckman Institute for Advanced Science and Technology
> University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801
> [3]http://www.ks.uiuc.edu/~johns/Â Â Â Â Â Â Phone: [4]217-244-3349
> [5]http://www.ks.uiuc.edu/Research/vmd/
>
> References
>
> Visible links
> 1. mailto:johns_at_ks.uiuc.edu
> 2. mailto:vmd_at_ks.uiuc.edu
> 3. http://www.ks.uiuc.edu/~johns/
> 4. file:///tmp/tel:217-244-3349
> 5. http://www.ks.uiuc.edu/Research/vmd/
-- NIH Center for Macromolecular Modeling and Bioinformatics Beckman Institute for Advanced Science and Technology University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801 http://www.ks.uiuc.edu/~johns/ Phone: 217-244-3349 http://www.ks.uiuc.edu/Research/vmd/
- Next message: H. Lee: "Re: modify the plugin in MACOS X"
- Previous message: John Stone: "Re: Accessing tachyon optix from commandline and dat file generation"
- In reply to: H. Lee: "Re: modify the plugin in MACOS X"
- Next in thread: H. Lee: "Re: modify the plugin in MACOS X"
- Reply: H. Lee: "Re: modify the plugin in MACOS X"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]