Somberly reciting 13 names and 13 stories, President Barack Obama saluted the Americans killed at this Army post as heroes who died for their country _ and promised a nation demanding answers that "the killer will be met with justice."

Addressing a hushed crowd of thousands of soldiers Tuesday, the president spoke forcefully if indirectly of the alleged shooter's motives in last week's massacre, never mentioning Maj. Nidal Hasan by name.

"It may be hard to comprehend the twisted logic that led to this tragedy," Obama said. "But this much we do know: No faith justifies these murderous and craven acts."

It was an apparent reference to reports that Hasan had communicated with a radical Islamic imam. A vast investigation is under way, including questions about what the government knew about Hasan and whether action should have been taken.

The president's remarks at a memorial service were personal, more about how the victims lived than how they died: the Eagle scout, the newlywed, the expectant mother, the soldier eager to catch Osama bin Laden by herself. The president spent more time meeting privately with the wounded and with loved ones of those killed than speaking in public.

His tone stern, Obama pledged to the crowd that "the killer will be met with justice _ in this world, and the next."

On a steamy Texas day, Obama stepped into a scene filled with military resolve and tender moments. Soldiers helped wounded friends to their seats. A little girl in a black dress and shiny shoes clutched her mother's hand as hurting families streamed in.

Thousands upon thousands gathered on a field for the ceremony. Right below the stage was a traditional military tribute to the fallen _ 13 pairs of combat boots, each with an inverted rifle topped with a helmet. A picture of each person rested below the boots.

Riflemen fired a last salute. A bugler played taps.

After the ceremony, Obama walked solemnly along the row of boots, placing a commander-in-chief's coin next to each victim's photo in tribute.

Then soldiers and loved ones traced the same path to remember those lost and give a final salute, one woman nearly collapsing with grief.

Even as Obama honored the dead, there was fingerpointing back in Washington about what the military knew of Hasan, an Army psychiatrist, before the shooting rampage.

Two U.S. officials said a Washington-based joint terrorism task force overseen by the FBI was notified of communications between Hasan and a radical imam overseas and the information was turned over to a Defense Criminal Investigative Service employee assigned to the group. But a military official denied prior knowledge of the Army psychiatrist's contacts with any Muslim extremists.