This is where communism breaks down. The only way to make it work in an economic sense is to turn it into a soulless corporate dystopia. Absent the incentive to work for personal gain, everyone must be motivated to work for the glory of the country through near constant propaganda.
Poor performance becomes a sign of anti-government sentiment. Thus, finding a new job after getting fired is extremely difficult, regardless of skill or desire to hire, because such governments go to great effort to blackball anyone who steps out of line, for fear of protest or dissent.
The USSR did indeed make great advances in technology and had a functioning economy, but at the despair and large-scale death of its people.