added lb gpu checkpointing from old lbgpu branch