I have to agree with Chris and Hawk.
Pure magnesium corrodes very easily, and it is very difficult to ignite.
It burns so quickly that you might harm yourself trying to light it with matches.
Go with Chris's suggestion, get some quality flares.