in case your trying to do this on an esxi standalone box and your web gui does'nt have the core's per socket setting available to you, you can go into advanced settings, and add this variable to your vm and it should work
cpuid.coresPerSocket = x
i used 3 and mine started working after that.