read_dump command

Hi everyone,

I have a dump file which I used in the read_dump command in my program. This dump file contains the coordinates of the Atoms, of course with titles for x, y and z as follows:

ITEM: TIMESTEP
0
ITEM: NUMBER OF ATOMS
154173
ITEM: BOX BOUNDS s p p

ITEM: BOX BOUNDS x y z

-4.0 4.0
-4.0 4.0
-0.1 0.1

ITEM: ATOMS id x y z

1 -1.2727 -3.4831 0
2 -1.2640 -3.4781 0
3 -1.2554 -3.4731 0
.
.
.

and so on…

each time that I’m trying to run my prog., I get this message :

ERROR: Illegal read_dump command

the line of my prog with this command in it, looks like:

read_dump myfile.txt 0 x y z box no format xyz

What could be the reason for this kind of error?
may anyone can help me solving this problem…I have already appreciated your help,

Regards,
Shima

Hi everyone,
I have a dump file which I used in the read_dump command in my program. This
dump file contains the coordinates of the Atoms, of course with titles for
x, y and z as follows:

[...]

each time that I'm trying to run my prog., I get this message :

ERROR: Illegal read_dump command

the line of my prog with this command in it, looks like:

read_dump myfile.txt 0 x y z box no format xyz

What could be the reason for this kind of error?

exactly what lammps is telling you!

i.e. that you don't specify the read_dump command
correctly according to the version of lammps that you
are using. are you using the current version (6 dec 2012)?

also there is more trouble ahead. your dump file
has been modified incorrectly and also your
read_dump command specifies a different format
than what the dump file apparently has.

axel.

Hi everyone,

first sorry for the repost.

I’m using lammps version 28.10.12,

I have a dump file which I used in the read_dump command in my program. This dump file contains the coordinates of the Atoms, of course with titles for x, y and z as follows:

ITEM: TIMESTEP
0
ITEM: NUMBER OF ATOMS
154173
ITEM: BOX BOUNDS s p p

ITEM: BOX BOUNDS x y z

-4.0 4.0
-4.0 4.0
-0.1 0.1

ITEM: ATOMS id x y z

1 -1.2727 -3.4831 0
2 -1.2640 -3.4781 0
3 -1.2554 -3.4731 0
.
.
.

and so on…

each time that I’m trying to run my prog., I get this message :

ERROR: Illegal read_dump command

the line of my prog with this command in it, looks like:

read_dump myfile.txt 0 x y z box no format xyz

What could be the reason for this kind of error?

I even tried to change the coordinates to positive unit values between 0 and 1 but it still doesn’t work…
may anyone can help me solving this problem…I have already appreciated your help,

Regards,
Shima

each time that I'm trying to run my prog., I get this message :

ERROR: Illegal read_dump command

the line of my prog with this command in it, looks like:

read_dump myfile.txt 0 x y z box no format xyz

What could be the reason for this kind of error?

that you are not specifying the command correctly. what else??

I even tried to change the coordinates to positive unit values between 0 and
1 but it still doesn't work..

it has *nothing* to do with the coordinates.

may anyone can help me solving this problem..I have already appreciated your
help,

have you tried using the current version of lammps?

axel.