From: Axel Kohlmeyer (akohlmey_at_cmm.chem.upenn.edu)
Date: Thu May 28 2009 - 10:31:42 CDT

On Wed, 2009-05-27 at 17:39 -0500, Chetan Mahajan wrote:
> Hi

chetan,

please try not to cross post to mailing lists, but rather send
to individual lists, preferably the most relevant first. this
will make it easier on people to respond that are not subscribed
to both lists. thanks in advance.
 
> Well I am running into a very strange problem…

> Earlier I have successfully implemented lmp2vmd tool and generated
> sample snapshots…..then I changed my system a little bit and to
> generate snapshots, I typed:
>
>
>
> mol new dump.micelle type lammpstrj waitfor all

now this looks like a pure VMD problem. this command is
not part of the lmp2vmd scripts.

> and it gave error as follows:
>

hmmm... it is difficult to quote and
reply to a gif image.

> And very strange, and surprising, that this builtup file which is
> exactly same as non-working file test14original.txt above, I working

correction, those two files are _not_ exactly the same.
the "original" has an additional blank after ITEM: ATOMS
and that makes all the difference.

[akohlmey_at_vitriol lammps-test]$ diff -u test14original.txt
test14builtup.txt
--- test14original.txt 2009-05-28 10:56:12.000000000 -0400
+++ test14builtup.txt 2009-05-28 10:56:05.000000000 -0400
@@ -6,7 +6,7 @@
 117.71 164.43
 117.71 164.43
 117.71 164.43
-ITEM: ATOMS
+ITEM: ATOMS
 1 6 161.807999 121.164001 119.483002
 2 4 161.727005 120.287003 119.950996
 3 1 160.871002 120.598000 120.980003

two files and you'll see there is a "transparent" difference.

> fine as follows:

> Could anybody give any clue as to what’s happening here?

yes. this is due to a weakness of the parser in the lammps
molfile plugin in vmd-1.8.6. this has been resolved a few
weeks ago. i suggest you upgrade to the latest vmd-1.8.7
beta release, which contains these fixes and many additional
lammps related improvements, e.g. the option to read in
(and manipulate and write out) data files directly as new
molecules via the topotools package which will come with
VMD directly (as it is not limited to lammps).
the lmp2vmd scripts thus are becoming obsolete and i'd
like to encourage you to use topotools instead.

since the next version of VMD is going to be released
soon, i would particularly appreciate it, if you could
give it a try as soon as possible, so that potential
bugs (there is a lot of new code which is bound to have
bugs left in it) or missing features get discovered and
can (hopefully) be fixed or implemented before the release.

thanks,
   axel.

>
>
> Thanks in advance
>
> Chetan
>
>
> ------------------------------------------------------------------------------
> Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
> is a gathering of tech-side developers & brand creativity professionals. Meet
> the minds behind Google Creative Lab, Visual Complexity, Processing, &
> iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
> Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
> _______________________________________________ lammps-users mailing list lammps-users_at_lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lammps-users

-- 
=======================================================================
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.