I have done work before to make namd and charm++ work with openMPI I
dont remember what but it is doable. Something like removing -lmpich
was enough i think, maybe a hack to use mpiCC and -fPIC (pgi compilers).