Run NAMD as you would any POE program. The options and environment variables for poe are various and arcane, so you should consult your local documentation for recommended settings. As an example, to run on Blue Horizon one would specify:
poe namd2 <configfile> -nodes <procs/8> -tasks_per_node 8