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 interactively on Blue Horizon one would specify:
poe namd2 alanin.conf -nodes n -tasks_per_node m -rmpool 1