before there was a symlinked lef file along with the def files, and now there isn't. that's what caught me. so now I copy the lef to all those directories before trying to open them. There doesn't appear to be a klayout command line argument to specify a lef