output data file

Submitted by scott on Thu, 03/30/2017 - 05:01

Dear LIGGGHTS user:

I met an error when using write_data for output as following information:

....
run 1000000

write_restart pour2.rst
write_data data.pour
ERROR: Unknown command: write_data data.pour
(/build/buildd/liggghts-2.3.8/src/input.cpp:214)
...

I am puzzled what is going wrong?

Another question is: the "write_restart" works well & output a restart file in binary mode. The manual says the binary restart file can be converted into data file via command line as "-restart restartfile datafile". I have tried with

mpirun -np xx liggghts -restart restartfile datafile (< input)

but it doesn't work. Anybody could help to show a complete command line?

Thanks & highly appreciate!

Dai Ling
Singapore

ckloss's picture

ckloss | Sun, 04/23/2017 - 12:09

Hi Dai Ling,

>>(/build/buildd/liggghts-2.3.8/src/input.cpp:214)

Version 2.3.8 is really, really old...please upgrade :-)

Christoph