The Soviet Union accused Spanish Communist party chief Santiago Carrillo of "crude anti-Sovietism" today and attacked West European Communist parties that stray from the Kremlin line.

A 6,000 word article in the official foreign affairs weekly New Times appared to signal the end of Moscow's attempts for more than a year to resolve differences quietly and behind the scenes.

The aggressive personal attack accused Carrillo, who has written a book critical of human rights in the Soviet Union, of trying to split the international Communist movement and of playing into the hands of "reactionary imperialist forces."

It said Carrillo's program would perpetuate the division of Europe into opposing military blocs and strengthen "the aggressive NATO bloc."

Turning to other parties in Western Europe, the article struck out against all forms of "Eurocommunism," saying the term was coined by "bourgeois political theorists" and means that Western European Communists should "cease to be Communist parties, that they should come out against scientific socialism . . . that they should sever all ties with the Communist and workers' parties of the Socialist countries of Europe and enter into confrontation with them."

New Times said Carrillo had "undergone a truly staggering metamorphosis" since declaring in 1976 that there was no such thing as Eurocommunism.

Carrillo said that the Soviet Union and the State," accused the Soviet leadership of failing to dismantle Stalinism and of stifling human rights and economic progress.

Carrillo said that the Soviet Union is still not a "workers' democracy" after 60 years of Communist power and that the Soviet Union "has retained not only elements of bourgeois justice but also has arrived at deformations and degenerations that in other times could only be imagined in imperialist states."

The New Times response described Eurocommunism as an instrument to split communism into opposing parts in a way "consonant with the aims of imperialism, in particular the United States."

Supporters of the concept, the article said, want the parties of Western Europe to "cease to be Communist parties, renounce socialist revolution and working class power, and renounce proletarian internationalism and primarily friendship and solidarity with the Soviet Union and other socialist countries.

Carrillo's "monstrous statement," said the editorial, arose from "a conscious anti-Sovietism" that is "profoundl y hostile toward our country."

The attack on Europeans followed a bitter article in Pravda June 12 against the Japanese Communist Party and a new threat to increase Moscow's propaganda war against the Chinese Communist Party.

The commentaries from the Kremlin suggest that while the Carter administration is sounding increasingly conciliatory toward the prospect of Communists sharing power in West European governments, the Kremlin is risking the displeasure of these parties by trying to keep them in line ideologically.

"The Soviets could find themselves in a situation of real hostility with these parties by the time the parties get a voice in their governments," a Western diplomat in Moscow said. "These attacks on Carrillo and people like that could be self-defeating."

The Italian and French Communist Parties have publicly pledged to seek power in their countries through democratic means only and to adhere to the parliamentary processes.

In Madrid, a member of the Spanish party's Central Committee said of the New Times article: "It is official recognition from the Russians that we are different. It's probably a good thing for the Spanish Communist Party."

A spokesman said Carrillo was unconcerned by the charges and indicated that he would probably not reply. The spokesman added the charges were of little importance and were not new "except it is the first time Moscow has used the word Eurocommunism."

Carrillo, whose party won about 7 per cent of the popular vote in parliamentary elections last week, met Wednesday with Premier Adolfo Suarez and said afterward the two agreed it was essential to continue Spain's democratic process. The election was the first free vote in Spain in 41 years and marked a key step in dismantling the dictatorial system of the late Gen. Francisco Franco.