See Bugzilla #1793 for details.For cesm using the pgi compiler on yellowstone add the following to the env_mach_specific for your case:
if( $?LSB_JOBID) then
setenv LD_PRELOAD /opt/ibmhpc/pe1304/ppe.pami/gnu/lib64/pami64/libpami.so
endif
if( $?LSB_JOBID) then
setenv LD_PRELOAD /opt/ibmhpc/pe1304/ppe.pami/gnu/lib64/pami64/libpami.so
endif