Two D.C. policemen fired several shots at an armed man in far Southeast Washington yesterday, and a score of heavily armed officers then searched two nearby apartment buildings for him for four hours before the hunt was called off late last night, police officials said.

Police spokesman Lt. William White III said the man pointed a handgun at the two policemen during the incident but did not fire, and that the shots fired by the officers apparently did not strike him.

White said police believe they know who the man is and hope to obtain a warrant for his arrest.

The incident started about 5 p.m., White said, when an employe of the Naval Research Laboratory at 4555 Overlook Ave. SW telephoned police and said that a man who had threatened her in the past was outside the building, apparently waiting for her.

When police arrived, White said, the man jumped into a car and sped away. The police lost track of the car, but two other officers in a cruiser spotted it near Suitland Parkway and Stanton Road SE and chased it to an apartment building in Southeast, White said.

He said the man emerged from the car and pointed a pistol at the officers, who then fired "numerous" shots at the man. The man then ran into nearby woods, apparently unharmed, White said.

Police canvassed the neighborhood, and area residents said they believed the man might be hiding in a basement apartment at 1701 Gainesville St., White said. That building and another were searched, but police found nothing.