The geometrical and electronic structures of NiAl supercells were calculated by the first-principle pseudopotential plane wave methods based on the density fuctional theory.Several mechanical parameters were used to characterize and assess the alloying ef