implement memory fence on Cray XE6

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>