only init papi singleton once

A boolean var to protect papi from being initialized multiple times.