The default version of Cray's PAPI module has incremented from 5.5.1.4 to 5.6.0.3. This causes applications linked with IPM to crash with this error at run time:
user@nid12345> srun -n 2 ./a.out
IPM 0: ERROR PAPI initialization error (-1)
IPM 0: ERROR Error initializing module 7 (PAPI), error 1
IPM 0: ERROR PAPI initialization error (-1)
IPM 0: ERROR Error initializing module 7 (PAPI), error 1
Hello world from processor nid12345, rank 1 out of 2 processors
Hello world from processor nid12345, rank 0 out of 2 processors
srun: error: nid12345: task 0: Segmentation fault (core dumped)
Swapping the default PAPI module for an older one (e.g., 5.5.1.4) resolves this error.