The radius of the earth is 6371 kilometers.1 The outer atmosphere is defined as 100 kilometers above the earth's surface, so the radius of the outer atmosphere is 6471 kilometers. If you square this and multiply it by 4π you the surface of the outer atmosphere, which is 526,202,205 square kilometers.
Now according to NASA solar energy hits the earth's outer atmosphere at a rate of 342 watts per square meter on average.2 Therefore solar energy hits the earth at the rate of approximately 180 petawatts.3 We could alternatively use wikipedia's current figure of 174 petawatts4, but lets be generous.
Now humans consumed energy at a rate of 15.79 terawatts in 2006.5&6 Now if you divide 180 petawatts by 15.79 terawatts you get 11400.
However not all that energy reaches the earth. 6% is reflected by the atmosphere, and 20% is reflected by clouds.
11400*(74/100) = 8436
Now the current record for solar to grid energy conversion for a solar power plant is 31.25%.8
8436*(31.25/100) = 2637
Finally, if we assume that it's too costly to build solar power plants in the middle of the ocean, only 29.1 of the surface of the earth is covered with land.9
2637*(29.1/100) = 768
This means that 1/768th of the earth's landmass would have to be taken up by solar power plants, or 32% efficient photovoltaics, for solar energy to account for 100% of human energy consumption. This is not at all feasible by any stretch of the imagination.
Factoring in wind power and other forms of renewable energy into this equation doesn't change it much (if at all). The truth is that there simply isn't enough renewable energy available per square kilometer, especially with human energy consumption rising.
Therefore with the purpose of avoiding catastrophic global climate change that greenhouse gases may cause, I propose an aggressive nuclear energy program. We theoretically have an unlimited supply of nuclear energy. Mankind needs to urgently convert its fossil fuel power plants to conventional light water nuclear reactors to make use of our limited supply of uranium 235, which will buy us the time to perfect the technology behind alternative types of reactors, such as breeder reactors, that utilize our unlimited supply of uranium 238.
1 http://nssdc.gsfc.nasa.gov/planetary/factsheet/earthfact.html
2 http://earthobservatory.nasa.gov/Features/DelicateBalance/balance2.php
3 http://www.google.com/search?q=(342+watts+per+square+meter+*+526202205+square+kilometers)+in+petawatts
4 http://en.wikipedia.org/w/index.php?title=Solar_energy&oldid=261138251#Energy_from_the_Sun
5 http://www.eia.doe.gov/pub/international/iealf/table18.xls
6 http://www.google.com/search?q=472.27379313571+*+10^15+btu+per+year+in+terawatts
7 http://www.nasa.gov/images/content/57911main_Earth_Energy_Budget.jpg
8 http://www.sandia.gov/news/resources/releases/2008/solargrid.html
9 https://www.cia.gov/library/publications/the-world-factbook/geos/xx.html
None.