CALGARY -- Calgary police say the son of one of their own is a suspect in the worst mass murder in the city's history, a bloody and baffling attack on a group of university students at a house party.

Five young people were celebrating the last day of classes at the University of Calgary when they were stabbed to death early Tuesday. A suspect was arrested a short time later after he was tracked down and bitten by a police dog.

Police Chief Rick Hanson told reporters that he spoke with the suspect's father, a 33-year veteran with the force, and the officer and his wife are heart-broken.

"They are now feeling so much sorrow ... Those young people are dead and they are absolutely devastated."

Late Tuesday, police said they charged 22-year-old Matthew Douglas de Grood of Calgary with five counts of first-degree murder.

A Facebook page under the name Matt de Grood said he completed a psychology degree from the University of Calgary last year and had been accepted into the school's law program for the fall.

The last posting was Monday night: "Dread and the fugitive -- the world needs a hero," a reference to a song and album from the thrash metal band Megadeath.

On Saturday, the line "equal rights for all races & identities under the charter" was posted.

Police say the identities of the dead won't be officially released until autopsies are done and say that won't happen until late Wednesday.

Two of the dead have been identified by friends as Zackariah Rathwell and Josh Hunter, both members of a band called Zackariah and the Prophets. Media reports have identified the others as Jordan Segura, Lawrence Hong and Kaitlin Perras.

Rathwell, who played guitar and sang lead vocals, and Hunter, who played drums, were both friendly and talented guys, said Jesse Northey, who helped produce the band's first album.

Northey was at the band's album release show on Saturday night at a Calgary bar. They had lots of friends and supporters turn out, he said.

"It's a shame and it breaks my heart."

Hanson said a suspect was invited to the party in the northwest residential neighbourhood of Brentwood, not far from campus. He showed up after working his shift at a grocery store and was welcomed inside.

There had earlier been about 30 people at the party, which neighbours described as quiet and low-key. That number had dwindled to about 20 when violence erupted shortly after 1 a.m.

Hanson said a suspect allegedly brought a weapon, or "instrument," from work to the party, but grabbed a large knife from inside the house.

He "targeted the victims one by one, stabbing them several times," said the chief.

Investigators were still trying to determine what motivated the attack.

"Was there anything that precipitated the event? Was there something that anyone had done that anyone could have taken as an insult or an affront to this individual? To the best of our knowledge right now, there's nothing to indicate anything like that happened," Hanson said.

He said it appears no one at the party had been sleeping, but everyone was taken off guard. One of the party-goers was able to call 911.

Police found three men dead at the scene, while another man and a woman died in hospital.

"This is the worst murder -- mass murder -- in Calgary's history," Hanson said. "We have never seen five people killed by an individual at one scene. The scene was horrific."

Hanson said the victims were all "good kids" in their twenties. Neither they nor the suspect had any prior involvement with police, said Hanson.

The chief also said there's nothing to indicate the suspect was drunk or had been doing drugs.

He was arrested with the help of the police canine unit and taken to hospital, where he was treated for dog bites.

The blue-sided house where the stabbing took place is on a quiet, tree-lined residential street. It was surrounded with yellow police tape as three bodies were carried out on stretchers.

Neighbour Doug Jones said about a dozen students had been drinking beer around a firepit in the backyard earlier in the night, but they weren't rowdy. They were talking about politics and the stock market. They took the party inside at about 9 p.m. and he heard nothing after that.

Other residents in the area said the party stemmed from the student union's annual Bermuda Shorts Day, which was held Monday. The event, shortened by students to BSD, is an annual outdoor party on campus featuring live music and beer gardens to celebrate the end of classes.

The school's student newspaper, The Gauntlet, wrote about the tradition two weeks ago in a story titled "BSD: It'll be a bloodbath."

Scaba Suveges watched the crime scene from his front step about half a block away Tuesday morning.

"It's bizarre. I mean I had a BSD party 15 years ago and it was pretty much happy-go-lucky. There were no stabbings or fights. It is kind of disconcerting," Suveges said. "Yesterday there was a lot of kids walking around drinking and playing loud music, but that's what you do."

On Twitter, many students wrote about how they starting drinking early in the morning Monday and, when the campus event ended in the afternoon, they continued at parties elsewhere.

Trent Pattison wrote: "Sad that days that are supposed to be remembered as a fun great day will be remembered for the wrong reasons. .BSD2014."

About 500 students and faculty members attended a late afternoon vigil at the University of Calgary.

With a candle projected on a giant screen in the hall, university president Elizabeth Cannon called for a moment of silence.

"The world lost five bright, promising, beautiful young people," she said.

"We are still coming to grips with this tragedy and what transpired. We don't know all the details and we don't know the full impact on our University of Calgary community."

Calgary Mayor Naheed Nenshi called it tragic and urged people to support one another.

"Our community has been dealt a grievous blow. We've lost five young people, five good young people who did nothing wrong. Who like all of us had dreams and hopes and were building their lives," said Nenshi.

"We come together and we mourn those five lives lost. We mourn that additional one life plunged into darkness and it's going to be hard for us as a community."

The president of the university's student's union directed his remarks to his fellow students.

"I know many of my friends who were personally affected by this and it's scary and it's awkward to reach out to people. Don't be afraid to reach out and talk to someone," said Raphael Jacob.

"Some of you in this room might even know the suspect as well. Please don't be ashamed or embarrassed to come forward. That can be devastating as well."

Alberta Premier David Hancock also released a statement, calling the killings "a senseless, shocking and horrible tragedy."

- With files by Chris Purdy in Edmonton.