A program for nonempirical calculations for systems with open shells