Tie a variable to shared memory
