probably a silly question about run every, but...

Submitted by msandli on Fri, 04/10/2015 - 04:55

I'm running a sim on a PBS server, so in order to try to save cluster resources, I'm trying to get my sim to quit when all the particles have drained out. Therefore, I have a run every command that looks like this:

run 20000000 every 500000 "if '$a < 1' then 'quit'"

where $a is my particle count

this only gives me "substitution for illegal variable" errors. I've tried everything I can think of, and I get an error messege every time. What am I missing?

msandli | Fri, 04/10/2015 - 05:42

found a typo elsewhere in my code. this is a great forum: my questions get answered without anyone else even answering!