I am using compute like this
compute kash all property/atom z
compute kashi all property/atom x
compute kish all property/atom y
variable b equal c_kash[1]
variable p equal c_kashi[1] #r
And I am getting an error "Compute used in variable between runs is not current. Use the update_on_run_end option for computes to avoid this". I want to Know how and where to use the update_on_run_end option. in Variable command or in compute command above variable.
P.S. This error only shows up when I use the IF command. Otherwise it runs fine when I use these variable somewhere else