2 # This script can be run on a compiled file (.o, .so, .a, linked ELF
3 # binary) to produce a list of symbols representing global variables
4 # potentially of concern for AMPI from a privatization stand-point
8 nm
-C $PROG |
egrep ' [BbCDdGgSs] ' |
grep -v __ioinit