I am trying to print data file containing atom id, position, velocity and force to analyse it later with MATLAB. However, I am getting below error. It would be great if you could please help me with the query.
ERROR on proc 0: Substitution for illegal variable a (src/input.cpp:604)
variable p1 equal "count(all)"
variable a vector id
variable b vector x
variable c vector fx
variable d vector vx
print "${p1} ${a} ${b} ${c} ${d}" append data.txt screen no
Thank you.
Anjali
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Dear all,
I am trying to print data file containing atom id, position, velocity and force to analyse it later with MATLAB. However, I am getting below error. It would be great if you could please help me with the query.
ERROR on proc 0: Substitution for illegal variable a (src/input.cpp:604)
variable p1 equal "count(all)"
variable a vector id
variable b vector x
variable c vector fx
variable d vector vx
print "${p1} ${a} ${b} ${c} ${d}" append data.txt screen no
Thank you.
Anjali