ALBUQUERQUE, N.M. — One person is dead and another wounded following a shooting early Friday at a University of New Mexico dormitory that prompted the evacuation of hundreds of students and a campuswide search for the suspect.

University officials lifted a shelter in place order late Friday afternoon, saying there still was an active investigation and that the main campus in Albuquerque would remain closed. They said students were allowed to eat at the dining hall and return to their dorms but otherwise should avoid the crime scene.

For much of the day, authorities had the area around the student housing complex cordoned off with yellow tape as police vehicles blocked roadways and investigators gathered.

The two people shot were inside a dorm building where they had been visiting a student, but they were not students themselves, said Lt. Tim Delgado with the University of New Mexico Police Department.

The suspect remained at large as of early evening, and it was unknown if that person remained on campus. Authorities have yet to release a description of the suspect or provide other details about who was shot.

Police had evacuated parts of the campus earlier in the day.

“We had a student orientation going so there were like 400 kids in dorms, so we wanted to make sure they were safe,” Delgado said.

Officials issued an initial alert just before 3:30 a.m. that a shooting had taken place. Campus police arrived at the Casas del Rio housing center to find two people with gunshot wounds — one dead and the other with non-life-threatening injuries. Another alert asking people to shelter in place was sent out just after 6 a.m.

Mikey Beck, who was staying in student housing this week as part of new student orientation, said he heard gunshots overnight and saw what appeared to be an injured person hiding in some bushes.