Trouble with write_data

Dear all,

I am using lammps-13Dec11 for running molecular dynamics simulation. First I have to minimize my system. When I use write_data command to get input file at the end of minimization, it says " Unknown command: write_data data.txt". Could anyone help me out of this.

If this command is not accepted in this version of Lammps, what would I do to get the input data file.

thank you,

Dear all,

I am using lammps-13Dec11 for running molecular dynamics simulation. First I have to minimize my system. When I use write_data command to get input file at the end of minimization, it says " Unknown command: write_data data.txt". Could anyone help me out of this.

You need to update to a current lammps version.

If this command is not accepted in this version of Lammps, what would I do to get the input data file.

Just update lammps. A lot has improved over the last 3 years.

Of course, there also is restart2data, which you would have read about, if you read the version of the manual that matches your lammps version.

Naturally you don’t get the Bugfixes and improvements this way.