<br><br><div class="gmail_quote">On Fri, Jul 3, 2009 at 4:42 PM, Axel Kohlmeyer <span dir="ltr">&lt;<a href="mailto:akohlmey@cmm.chem.upenn.edu">akohlmey@cmm.chem.upenn.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div class="im">On Fri, 2009-07-03 at 16:06 -0400, Roland Schulz wrote:<br>
&gt;<br>
&gt;<br>
&gt; On Fri, Jul 3, 2009 at 1:12 PM, Axel Kohlmeyer<br>
&gt; &lt;<a href="mailto:akohlmey@cmm.chem.upenn.edu">akohlmey@cmm.chem.upenn.edu</a>&gt; wrote:<br>
&gt;         On Fri, 2009-07-03 at 12:58 -0400, Roland Schulz wrote:<br>
<br>
<br>
</div>i would not include the whole code, just the molfile API interface<br>
and then dlopen() the individual plugins. so one can use, e.g. an<br>
existing VMD installation (provided the API matches).</blockquote><div><br>Erik, David, Berk: What do you think about that? Do you like that idea? <br><br>If so: At what stage do we want to configure the path to the molfile plugin folder? <br>

We could:<br>- add to configure a --with-vmd option<br>- that would set a variable (e.g. GMX_VMD) in GMXRC<br>- trxio would read GMX_VMD and if it finds the plugins allow also reading of the molfile formats<br>- if it does not find the plugin (or GMX_VMD is not set) and one tries to read e.g. a dcd it would give an error<br>

<br>In a first stage only trajectory formats would be supported. Of course later one could also support structure format, so that charges could be read for e.g. g_diplole.<br><br>Do we want to support only dynamic linking (dlopen) for the vmd plugins or as an alternative also static?<br>

 <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
interface the mofile read API to fortran. for dynamic linkage<br>
and plugin management, i suggest you look at the PluginMgr.C<br>
source from VMD. it references also vmddlopen.c as a portable<br>
wrapper for dlopen.c. BTW, the VMD license allows you to use<br>
up to 10% of the code for other purposes... ;-)</blockquote><div> <br>Thanks for pointing that out. Does for less than 10% count the Illinois Open Source License? <br>Or where do I find out the requirements to add license/copyright information to the file/package under that 10% clause?<br>

<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">&gt; I kept the changes very few (basically just removing the plugin api).<br><div class="im">


&gt; But of course your solution is much better if one wants more than just<br>
&gt; DCD.<br>
<br>
</div>i&#39;m mainly concerned about maintainability and project fragmentation.<br>
you have a valid point in supporting only DCD and having a simple<br>
interface. if your changes could be implemented with a couple of<br>
well crafted #ifdefs, it would still be possible to have the source<br>
in the VMD plugin cvs to be _the_ authoritative source. i.e. if somebody<br>
in gromacs fixes a bug, it can be easily integrated back into VMD<br>
and vice versa.</blockquote><div><br>I think I could do it with a few #ifdefs if we don&#39;t want to go the molfile path. <br></div><div> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">


one of the big weaknesses of the MD community compared to,<br>
say, astrophysics, is the fragmentation of project and lack<br>
of interoperability in file formats and data management.</blockquote><div><br>Yes I agree. That is very suboptimal. <br></div><div> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">


my hope is that popular projects like VMD, gromacs, NAMD, pymol<br>
(which also supports molfile, btw) and others start to converge<br>
to be ready for future challenges like handling multi-million<br>
atom simulations, efficient lossless and lossy compression,<br>
mult-resolution data storage, efficient parallel and out-of-core<br>
data access. too much is currently done with ad-hoc solutions,<br>
but supporting mutual APIs will allow to mutually benefit from<br>
improvements.</blockquote><div><br>It would be great but would need very well designed APIs. E.g. molfile is not ready for the future as it does not support parallel IO (just as one example). So a constant update of the APIs is required and of course the APIs should be decided by the community and not just by one group. <br>

<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
p.s.: sorry if i&#39;m getting too political at the end. this is<br>
something that i&#39;m very passionate about. just disregard it,<br>
if you think i&#39;m going too far. ;-)</blockquote><div><br>No I think this is very interesting.  Is there some mailinglist / forum where this would be more on-topic?<br>I would be interested in follow up on this.<br><br>

Roland<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<div><div></div><div class="h5"><br>
<br>
&gt;<br>
&gt; Roland<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;         cheers,<br>
&gt;           axel.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;         &gt; Roland<br>
&gt;         &gt;<br>
&gt;         &gt; On Fri, Jul 3, 2009 at 11:59 AM, Axel Kohlmeyer<br>
&gt;         &gt; &lt;<a href="mailto:akohlmey@cmm.chem.upenn.edu">akohlmey@cmm.chem.upenn.edu</a>&gt; wrote:<br>
&gt;         &gt;         roland,<br>
&gt;         &gt;<br>
&gt;         &gt;         On Fri, Jul 3, 2009 at 6:44 AM, Roland<br>
&gt;         Schulz&lt;<a href="mailto:roland@utk.edu">roland@utk.edu</a>&gt;<br>
&gt;         &gt;         wrote:<br>
&gt;         &gt;         &gt; Hi,<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt; what do you think about adding DCD read support to<br>
&gt;         the<br>
&gt;         &gt;         tools? Quite a few<br>
&gt;         &gt;         &gt; people in our group use the tools but (for a<br>
&gt;         number of<br>
&gt;         &gt;         reasons) do the<br>
&gt;         &gt;         &gt; simulation still with other MD packages. It is<br>
&gt;         inconvenient<br>
&gt;         &gt;         to have to<br>
&gt;         &gt;         &gt; convert the trajectories.<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt;         instead of adopting code to only read .dcd files,<br>
&gt;         &gt;         why don&#39;t you write an interface to the VMD molfile<br>
&gt;         API?<br>
&gt;         &gt;         should be even less work and then you would<br>
&gt;         interface<br>
&gt;         &gt;         gromacs to a large number of file formats. also it<br>
&gt;         would<br>
&gt;         &gt;         avoid replicating and code (and problems with<br>
&gt;         diverging<br>
&gt;         &gt;         developments and missing bugfixes) and also you can<br>
&gt;         add<br>
&gt;         &gt;         new file formats or updated readers/writers<br>
&gt;         &gt;         on the fly through the dynamic loading of plugins.<br>
&gt;         &gt;<br>
&gt;         &gt;         cheers,<br>
&gt;         &gt;          axel.<br>
&gt;         &gt;<br>
&gt;         &gt;         p.s.: we&#39;re also in the process of gradually<br>
&gt;         revising the<br>
&gt;         &gt;         molfile API to make it more flexible and powerful<br>
&gt;         and<br>
&gt;         &gt;         particularly add support for &quot;out-of-core&quot;<br>
&gt;         processing of<br>
&gt;         &gt;         a collection of files (primarily for VMD but not<br>
&gt;         limited to<br>
&gt;         &gt;         it).<br>
&gt;         &gt;         that might be interesting for gromacs tools just as<br>
&gt;         well.<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt; Is it OK to add code which is under the University<br>
&gt;         of<br>
&gt;         &gt;         Illinois Open Source<br>
&gt;         &gt;         &gt; License? It is GPL compatible so does not cause<br>
&gt;         license<br>
&gt;         &gt;         conflicts<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         (<a href="http://en.wikipedia.org/wiki/University_of_Illinois/NCSA_Open_Source_License" target="_blank">http://en.wikipedia.org/wiki/University_of_Illinois/NCSA_Open_Source_License</a>).<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt; Roland<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt; --<br>
&gt;         &gt;         &gt; ORNL/UT Center for Molecular Biophysics<br>
&gt;         <a href="http://cmb.ornl.gov" target="_blank">cmb.ornl.gov</a><br>
&gt;         &gt;         &gt; 865-241-1537, ORNL PO BOX 2008 MS6309<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt;         &gt; _______________________________________________<br>
&gt;         &gt;         &gt; gmx-developers mailing list<br>
&gt;         &gt;         &gt; <a href="mailto:gmx-developers@gromacs.org">gmx-developers@gromacs.org</a><br>
&gt;         &gt;         &gt;<br>
&gt;         <a href="http://lists.gromacs.org/mailman/listinfo/gmx-developers" target="_blank">http://lists.gromacs.org/mailman/listinfo/gmx-developers</a><br>
&gt;         &gt;         &gt; Please don&#39;t post (un)subscribe requests to the<br>
&gt;         list. Use<br>
&gt;         &gt;         the<br>
&gt;         &gt;         &gt; www interface or send it to<br>
&gt;         &gt;         <a href="mailto:gmx-developers-request@gromacs.org">gmx-developers-request@gromacs.org</a>.<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt;         --<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         =======================================================================<br>
&gt;         &gt;         Axel Kohlmeyer   <a href="mailto:akohlmey@cmm.chem.upenn.edu">akohlmey@cmm.chem.upenn.edu</a><br>
&gt;         &gt;         <a href="http://www.cmm.upenn.edu" target="_blank">http://www.cmm.upenn.edu</a><br>
&gt;         &gt;          Center for Molecular Modeling   --   University of<br>
&gt;         &gt;         Pennsylvania<br>
&gt;         &gt;         Department of Chemistry, 231 S.34th Street,<br>
&gt;         Philadelphia, PA<br>
&gt;         &gt;         19104-6323<br>
&gt;         &gt;         tel: 1-215-898-1582,  fax: 1-215-573-6233,<br>
&gt;          office-tel:<br>
&gt;         &gt;         1-215-898-5425<br>
&gt;         &gt;<br>
&gt;         =======================================================================<br>
&gt;         &gt;         If you make something idiot-proof, the universe<br>
&gt;         creates a<br>
&gt;         &gt;         better idiot.<br>
&gt;         &gt;<br>
&gt;         &gt;         _______________________________________________<br>
&gt;         &gt;         gmx-developers mailing list<br>
&gt;         &gt;         <a href="mailto:gmx-developers@gromacs.org">gmx-developers@gromacs.org</a><br>
&gt;         &gt;<br>
&gt;         <a href="http://lists.gromacs.org/mailman/listinfo/gmx-developers" target="_blank">http://lists.gromacs.org/mailman/listinfo/gmx-developers</a><br>
&gt;         &gt;         Please don&#39;t post (un)subscribe requests to the<br>
&gt;         list. Use the<br>
&gt;         &gt;         www interface or send it to<br>
&gt;         &gt;         <a href="mailto:gmx-developers-request@gromacs.org">gmx-developers-request@gromacs.org</a>.<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt; --<br>
&gt;         &gt; ORNL/UT Center for Molecular Biophysics <a href="http://cmb.ornl.gov" target="_blank">cmb.ornl.gov</a><br>
&gt;         &gt; 865-241-1537, ORNL PO BOX 2008 MS6309<br>
&gt;         &gt; _______________________________________________<br>
&gt;         &gt; gmx-developers mailing list<br>
&gt;         &gt; <a href="mailto:gmx-developers@gromacs.org">gmx-developers@gromacs.org</a><br>
&gt;         &gt; <a href="http://lists.gromacs.org/mailman/listinfo/gmx-developers" target="_blank">http://lists.gromacs.org/mailman/listinfo/gmx-developers</a><br>
&gt;         &gt; Please don&#39;t post (un)subscribe requests to the list. Use<br>
&gt;         the<br>
&gt;         &gt; www interface or send it to<br>
&gt;         <a href="mailto:gmx-developers-request@gromacs.org">gmx-developers-request@gromacs.org</a>.<br>
&gt;<br>
&gt;         --<br>
&gt;         =======================================================================<br>
&gt;         Axel Kohlmeyer   <a href="mailto:akohlmey@cmm.chem.upenn.edu">akohlmey@cmm.chem.upenn.edu</a><br>
&gt;         <a href="http://www.cmm.upenn.edu" target="_blank">http://www.cmm.upenn.edu</a><br>
&gt;           Center for Molecular Modeling   --   University of<br>
&gt;         Pennsylvania<br>
&gt;         Department of Chemistry, 231 S.34th Street, Philadelphia, PA<br>
&gt;         19104-6323<br>
&gt;         tel: 1-215-898-1582,  fax: 1-215-573-6233,  office-tel:<br>
&gt;         1-215-898-5425<br>
&gt;         =======================================================================<br>
&gt;         If you make something idiot-proof, the universe creates a<br>
&gt;         better idiot.<br>
&gt;<br>
&gt;         _______________________________________________<br>
&gt;         gmx-developers mailing list<br>
&gt;         <a href="mailto:gmx-developers@gromacs.org">gmx-developers@gromacs.org</a><br>
&gt;         <a href="http://lists.gromacs.org/mailman/listinfo/gmx-developers" target="_blank">http://lists.gromacs.org/mailman/listinfo/gmx-developers</a><br>
&gt;         Please don&#39;t post (un)subscribe requests to the list. Use the<br>
&gt;         www interface or send it to<br>
&gt;         <a href="mailto:gmx-developers-request@gromacs.org">gmx-developers-request@gromacs.org</a>.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; ORNL/UT Center for Molecular Biophysics <a href="http://cmb.ornl.gov" target="_blank">cmb.ornl.gov</a><br>
&gt; 865-241-1537, ORNL PO BOX 2008 MS6309<br>
&gt; _______________________________________________<br>
&gt; gmx-developers mailing list<br>
&gt; <a href="mailto:gmx-developers@gromacs.org">gmx-developers@gromacs.org</a><br>
&gt; <a href="http://lists.gromacs.org/mailman/listinfo/gmx-developers" target="_blank">http://lists.gromacs.org/mailman/listinfo/gmx-developers</a><br>
&gt; Please don&#39;t post (un)subscribe requests to the list. Use the<br>
&gt; www interface or send it to <a href="mailto:gmx-developers-request@gromacs.org">gmx-developers-request@gromacs.org</a>.<br>
<br>
--<br>
=======================================================================<br>
Axel Kohlmeyer   <a href="mailto:akohlmey@cmm.chem.upenn.edu">akohlmey@cmm.chem.upenn.edu</a>   <a href="http://www.cmm.upenn.edu" target="_blank">http://www.cmm.upenn.edu</a><br>
   Center for Molecular Modeling   --   University of Pennsylvania<br>
Department of Chemistry, 231 S.34th Street, Philadelphia, PA 19104-6323<br>
tel: 1-215-898-1582,  fax: 1-215-573-6233,  office-tel: 1-215-898-5425<br>
=======================================================================<br>
If you make something idiot-proof, the universe creates a better idiot.<br>
</div></div><br>_______________________________________________<br>
gmx-developers mailing list<br>
<a href="mailto:gmx-developers@gromacs.org">gmx-developers@gromacs.org</a><br>
<a href="http://lists.gromacs.org/mailman/listinfo/gmx-developers" target="_blank">http://lists.gromacs.org/mailman/listinfo/gmx-developers</a><br>
Please don&#39;t post (un)subscribe requests to the list. Use the<br>
www interface or send it to <a href="mailto:gmx-developers-request@gromacs.org">gmx-developers-request@gromacs.org</a>.<br></blockquote></div><br><br clear="all"><br>-- <br>ORNL/UT Center for Molecular Biophysics <a href="http://cmb.ornl.gov">cmb.ornl.gov</a><br>

865-241-1537, ORNL PO BOX 2008 MS6309<br>