Remove CMK_CONVERSE_MPI definition from bluegenep dcmf builds
[charm.git] / src / arch / conv-mach-fix.sh
1 #!/bin/sh
2 # A small script for removing unneeded symbols
3 # from all the conv-mach files.  You'll need to edit
4 # the script to remove the symbols you want to remove.
5
6 for f in `echo */conv-mach.h`
7 do
8         echo "Fixing $f..."
9         cp $f $f.bak
10         cat $f.bak \
11         | grep -v 'CMK_USE_HP_MAIN_FIX[ ]*0' \
12         | grep -v 'CMK_DONT_USE_HP_MAIN_FIX' \
13         > tmp
14         mv tmp $f
15 done