For people asking about the amount of energy we're talking about, the energy density of a magnetic field is |B|^2 /(2mu_0). It appears that the described structure has something on the order of the cross section of Mars, and I'll assume that it's depth is in that ballpark as well. For a fictitious uniform field that would require on the order of 1.6e19 J, which is roughly 1.2 times the total electrical energy output of the US in 2001:
http://www.wolframalpha.com/input/?i=4%2F3+pi+*+(radius+of+m...
http://www.wolframalpha.com/input/?i=1.617%C3%9710%5E19+joul...
Assuming you had no losses, so say ideal superconducting coils, that's how much energy you have to dump into magnetic field. You can do this as slow as you like, so with 1/10 the US electrical energy production it would take 10 years to build up that magnetic field. Hypothetically, if you had thin-film plastic PV cells (like cellophane thin to be reasonable to build and get into space) with 100% efficiency covering the footprint of this system (Mars) you could generate enough power to charge up this field in 471 seconds:
http://www.wolframalpha.com/input/?i=1e19+J+%2F+((solar+powe...)
Of course the big story here is that efficient thin film solar in space could generate obscene amounts of power.
I'm not sure on the depth of the field volume required, so that might make it easier, too.