[lammps-users] xmovie

Hi everyone-

Has anyone had trouble running xmovie with multiple atom types? I've been using xmovie for a while on pure iron without problems, and now that I have added hydrogen, nothing shows up in the xmovie display. I can't figure out any other differences, though I believe xmovie should be able to handle more than one type without issue. I've plotted the positions with gnuplot, and the atoms don't seem to be going crazy or anything... just an quick animation would be nice to see. Thanks,

Erin

Hi everyone-

hi erin,

Has anyone had trouble running xmovie with multiple atom types? I've
been using xmovie for a while on pure iron without problems, and now
that I have added hydrogen, nothing shows up in the xmovie display. I
can't figure out any other differences, though I believe xmovie should
be able to handle more than one type without issue. I've plotted the

you are correct. i just tried and it worked for me.

positions with gnuplot, and the atoms don't seem to be going crazy or
anything... just an quick animation would be nice to see. Thanks,

it looks like you are running on a 64-bit machine and the xmovie code
does some things that are not 64-bit safe (e.g. it assumes that an
'int' is of the same size than a 'void *', which only holds on 32-bit).
so you can try compiling xmovie in 32-bit mode with -m32 or apply the
attached patch and recompile. there may be other issues, but this
at least removed the most obvious 64-bit incompatibilities.

i would appreciate it, if other people can test this as well, and
report potential portability problems or 32-bit issues, so that
at some point xmovie could be updated.

cheers,
    axel.

xmovie-64bit.diff.gz (1 KB)