While gypsum boards are stronger in one direction, they may be installed either vertically or horizontally on both wood and steel studs. If the boards are to be used in a fire rated assembly, then use the board orientation that is stated in your specific rated assembly.