Be sure that the MPI_DSM_DISTRIBUTE environment variable is set, then use the Linux-ia64-MPT version of NAMD along with the system mpirun:
mpirun -np <procs> <configfile>