E field error

Hi,

When I run my input file, I get the following error: “ERROR: Unknown command: ??”

I have narrowed which lines could be problematic down to:
fix 1 all nvt temp 393.15 393.15 100.0
fix 2 all efield 1.0 0.0 0.0

It works with the first fix in alone. After I added the second one, I got the error. Is this a syntax error? I am using the December 2010 version of lammps and the standard build of it…Do I need to update for this to work? Or use a different make?

Thank you in advance for your help,
Sara Waters
Graduate Student
New Mexico Tech

Hi,
When I run my input file, I get the following error: "ERROR: Unknown
command: ??"
I have narrowed which lines could be problematic down to:
fix 1 all nvt temp 393.15 393.15 100.0
fix 2 all efield 1.0 0.0 0.0
It works with the first fix in alone. After I added the second one, I got
the error. Is this a syntax error? I am using the December 2010 version of

please inspect your input file _very_ carefully.
these kind of errors can also appear due to having
non-printable characters in your input. something
that can happen due to file corruption or transferring
files between unix/linux and windows without properly
converting them.

lammps and the standard build of it...Do I need to update for this to work?
Or use a different make?

the compile options should have no impact on this.

axel.

These commands work in bench/in.lj if you change the atom style to charge.
I suggest you upgrade to the current version of LAMMPS.

Steve