is it a bug of compute wall/gran/local

Submitted by xiuhan on Mon, 11/21/2016 - 18:03

So in a script I read in the restart file, then I defined a compute wall/gran/local. But there is error said compute wall/gran/local should be defined before the first run, which means it should be defined before the read_restart. Okay, I moved compute wall/gran/local to before the read_restart. But there is error again, said fix wall/gran is not defined yet. Okay, so I move fix wall/gran part to before the compute wall/gran/local, which is also before the read_restart. But there is error again, said the wall cannot be defined before the domain box is defined.

BUT the domain box is defined in the read_restart!!!

How to do this??? to use compute wall/gran/local and read_restart in the same script??

OR it is just a bug. PLEASE someone tells me! much thanks

ckloss's picture

ckloss | Mon, 11/21/2016 - 21:02

Hi xiuhan ,

read "before the first run in the current simulation", not before read_restart

Christoph