The study of magnetic topological semimetals by first principles calculations