Skip to content

Mahalanobis and the ISI Computers

Abstract

The statistician P. C. Mahalanobis (1893–1972) wanted computers for one purpose: to plan the Indian economy from survey data. His Indian Statistical Institute (ISI) in Calcutta built India’s first electronic analogue computer in 1953, ran the country’s first digital computer, a British HEC-2M, from 1955 or 1956, and installed a Soviet Ural in 1958 after an American UNIVAC proved out of reach for a man the US Embassy called a “fellow traveler”. With Jadavpur University the institute then built ISIJU-1, the first transistorised computer made in India, commissioned on 2 April 1966. That December a government review committee ruled that designing and fabricating computers was “not a legitimate activity” of the institute, and ISI’s line of home-built machines ended there.

Mahalanobis and Niels Bohr ISI 1960
Niels Bohr (left) with P. C. Mahalanobis at the Indian Statistical Institute, 16 January 1960. Image: Commemorative Album, Indian Statistical Institute, public domain, via Wikimedia Commons.

Statistics by Hand

Prasanta Chandra Mahalanobis was born in Calcutta on 29 June 1893, took the natural sciences tripos at King’s College, Cambridge, with physics, and discovered statistics by accident: before he sailed home, his tutor at King’s College showed him bound volumes of the journal Biometrika, and he read the set on the voyage. Back in Calcutta he taught physics at Presidency College and ran a “statistical laboratory” from his room there. The Indian Statistical Institute was formally set up on 17 December 1931. In 1933 it started the journal Sankhya, and from 1937 large sample surveys of crops, family budgets, and living conditions became its main work. Mahalanobis was elected a Fellow of the Royal Society in 1945.

Surveys meant arithmetic, and arithmetic at ISI was done by people. In the 1930s Mahalanobis designated members of his staff as “computers” who tabulated the jute crop surveys by hand. He had installed a mechanical tabulator at his own expense at home before the institute existed, and the institute bought desk calculators and punched-card machines (see Herman Hollerith and the Punched Card). Imports were hard to get, so in September 1943 he founded the Indian Calculating Machine and Scientific Instrument Research Society to assemble such equipment locally, and the institute opened a small workshop to repair its calculators.

After independence the scale changed. In 1950 Mahalanobis helped set up the National Sample Survey, and by the latter part of 1951 the institute had rented two new IBM tabulators, an electronic multiplier, sorters, and reproducers to process its returns. He then drafted the Second Five-Year Plan (1956–61), whose model ran on the survey’s numbers. “We must proceed with electronic computers with all possible speed,” he wrote. “Otherwise, we will never be able to cope with the tremendous volume of primary information which is accumulating.” Unlike most countries, India would get its first computers for economic planning, not for weapons.

The Analogue Machine

In 1950 Mahalanobis gathered the institute’s machine work into an Electronic Computer Laboratory and hired Samarendra Kumar Mitra (1916–1998) to run it. Mitra, the son of a Calcutta High Court judge, held master’s degrees in chemistry and applied mathematics, had built an air-driven ultracentrifuge at the university’s Palit Laboratory of Physics, and had spent a UNESCO fellowship looking at high-speed computing machines at Harvard and Cambridge. He met Mahalanobis in England and joined ISI that year.

ISI Analogue Computer 1953
The electronic analogue computer designed by Samarendra Kumar Mitra and built at ISI in 1953. Image: Indian Statistical Institute, public domain, via Wikimedia Commons.

Mitra and Soumyendra Mohan Bose set out to build an analogue computer for the linear equations of regression analysis. Components could not be imported, so they collected them from the war-surplus disposal depots and scrap dealers of Calcutta. The machine, finished in 1953, solved systems of up to ten linear equations; the Heinz Nixdorf MuseumsForum counts 110 potentiometers in it. Prime Minister Jawaharlal Nehru came to see it in December 1953, and Mitra demonstrated it to him. According to Dataquest in 1985, it solved a 10 × 10 matrix in 90 minutes. Mitra described its method in the Review of Scientific Instruments in May 1955: a new iteration for linear systems whose convergence depended on a single parameter, with the largest eigenvalue of the matrix as a by-product. The institute used the machine until 1959.

Mitra stayed at the centre of everything that followed. He chose the first digital computer with Mahalanobis in London, travelled with him to Moscow for the second, and led the laboratory that built the third.

The HEC-2M

The analogue machine could not process survey data, and the best American computers cost about a million dollars, far beyond a country short of foreign exchange. “I have a great sense of urgency,” Mahalanobis wrote from London. “I know that real planning would require the use of such computers.” The British Tabulating Machine Company (BTM), which already sold punched-card equipment in India, agreed in 1954 to sell ISI a HEC-2M (Hollerith Electronic Computer, Model 2M), a valve machine with a magnetic drum of 1,024 words derived from Andrew Booth’s designs at Birkbeck College (see Kathleen Booth and the First Assembler). The catch was that BTM would not install or maintain a single machine so far away.

ISI therefore sent two young staff members, Mohi Mohan Mukherjee and Amaresh Roy, to England in December 1954 to watch the computer being designed and assembled and to take notes. According to V. Rajaraman, who relied on Mukherjee’s own account, the machine was ready in June 1955, reached Calcutta in July without any manuals, and was working by August 1955, installed by Mukherjee and Roy from their notes. Other sources put it later: Nikhil Menon, from the archives, has it arriving in two crates in early 1956, and the institute’s own exhibit dates the installation to 1956. Either way it was the first digital computer in India. It stood in an air-conditioned room, three metal cabinets about six feet high, and took work from the Planning Commission, the National Sample Survey, and other scientific bodies, including trajectory calculations for the defence ministry’s artillery.

The price is also told two ways. Menon gives £18,500, paid by the Indian government, which lent the machine to the institute. Dwijesh Dutta Majumdar, who worked on it, remembered “around Rs 2 lakh”, and the 2022 book Against All Odds says the Soviet Union and the United Nations funded the purchase, which looks like a conflation with the next machine. Rajaraman’s verdict on the HEC-2M was short: it “was found to be a very difficult machine to use.” About a dozen people learned to program it, in binary machine code.

The UNIVAC That Never Came

What Mahalanobis really wanted was American. He had first seen an electronic computer at Harvard in 1947, met Howard Aiken and John von Neumann, and from the 1940s fixed on the UNIVAC. Between 1950 and 1954 he opened several informal conversations in Washington about technical aid that would pay for one.

He did not know that his own reputation stood in the way. In 1953 a secret dispatch from the American Embassy in New Delhi to the State Department called him a “notorious fellow traveler and sympathizer of the Soviet Union”. Another file judged that his ideas were “a direct preparation for an authoritative solution to India’s economic problems.” No UNIVAC came to Calcutta.

The Ural

The Soviet Union was easier. In February 1954 Nehru hosted an informal lunch for a delegation of Soviet scientists, and Mahalanobis sat next to the ambassador, Mikhail Menshikov. He asked whether the Soviets would help India get computers, adding, “Surely the U.S.S.R. can have no objection in giving and teaching us things that are known to the Americans?” Menshikov laughed and asked for an official request. That summer Mahalanobis, Mitra, and a group of Indian scientists went to Moscow and visited the Institute of Precision Mechanics and Computer Engineering. The Soviet offer, made in 1955, came through the United Nations Technical Assistance Administration.

The machine was a Ural from Bashir Rameev’s design bureau in Penza; Rajaraman identifies it as a Ural-1. ISI’s exhibit gives the sequence: the computer arrived in March 1958, Soviet engineers installed it on 20 December 1958, and it was handed over for use in February 1959. Eight Soviet engineers did the assembly, because the manuals were in Russian, and an interpreter passed their instructions to the Indian staff, who learned Russian to maintain it. The Times of India reported that it could calculate “600 times faster than a single man.” It came with a printer, magnetic tape, and punched celluloid tape.

For a few years ISI was the only place in India with two working computers and people who could program and maintain them. By 1959–60 it served the defence ministry, the Atomic Energy Commission, the Tata Institute of Fundamental Research, and the Meteorological Department as a de facto national computer centre. Visitors came to look: the British mathematician Conway Berners-Lee, father of Tim Berners-Lee, spent two months at the institute in 1958, and on 16 January 1960 Mahalanobis showed Niels Bohr and his wife round the electronics division and the Ural.

In February 1959 the Cold War delivered a computer engineer as well. Morton Nadler, an American-born engineer and former Communist Party member who had renounced his US citizenship and worked at the Institute of Mathematical Machines in Prague, had grown disillusioned after the Soviet suppression of Hungary in 1956 and could not leave Czechoslovakia. Mahalanobis offered him a two-year contract “to work on electronic computers”. Prague could not object to a move to friendly India, and Washington regarded time in a non-aligned democracy as a partial cleansing; Nadler flew to Calcutta on an Air India flight and spent two years at ISI.

ISIJU-1

When the Tata Institute’s TIFRAC was commissioned in 1960 (see Rangaswamy Narasimhan and TIFRAC), ISI lost its monopoly, and it answered by building a transistor machine of its own. In 1961 the institute and Jadavpur University began a joint project for a solid-state digital computer, led by Mitra as head of ISI’s Computing Machines and Electronics Laboratory. The design was character-based, organised in “syllables” instead of fixed words, and meant to suit automatic programming in a universal language such as ALGOL. On the advice of Nicholas Metropolis (see Monte Carlo Methods), significant-digit arithmetic was built into the hardware.

The machine’s dates depend on what one counts. Dataquest’s chronology of 2006 lists ISIJU in 1964, and that year is probably its first operation. The authors of Against All Odds give 1965–66 for commissioning, the institute’s photograph dates construction to 1965, and the formal ceremony came on 2 April 1966, when M. C. Chagla, the Union Minister of Education, commissioned ISIJU-1 at Jadavpur. The institute calls it the first solid-state digital computer in India. The review committee of 1966 recorded the laboratory’s claim that it was faster and larger than most computers then in the country.

It did not work well. ISI had hoped to get a card reader and a line printer free from the United Nations and did not; the input-output equipment built in their place never worked satisfactorily, and voltage fluctuations on the campus supply kept the planned data link from running continuously. Rajaraman, citing Dutta Majumdar, who was on the design team, summed it up as unreliable and without appropriate software.

Dead End: The Review Committee

Mahalanobis wanted ISI to go one step further and manufacture. Dinesh C. Sharma reports that he set up a company, Sankhya Yantra Private Limited, on the ISI campus for commercial production of computing equipment. The institute’s Development Workshop, which grew out of the 1943 repair shop in 1950, had meanwhile tried to manufacture desk calculators commercially with machinery the Soviet Union had given through the UN Technical Assistance Administration.

On 15 February 1966 the government constituted a review committee under the ISI Act, chaired by Humayun Kabir, a Member of Parliament, with the economist I. G. Patel among its members. Its report, signed in Calcutta on 22 December 1966, was blunt. The calculator project had run into many difficulties; by the end of 1965–66 it was clear it would have to be abandoned, and the government grant for it, which had exceeded Rs 45 lakh in ten years, had been stopped. The committee found that a major part of the Soviet equipment had never been used, some of it “not even been unpacked even though received some ten years ago”, and called the enterprise “an unnecessary and wasteful venture”. Equipment and staff were transferred to the Garden Reach Workshop, a defence-ministry undertaking in Calcutta.

On computers it went further: “The work of designing and fabricating computers and their components is not, in the Committee’s view, a legitimate activity of the Institute.” The institute had started it “without proper planning”, and large-scale manufacturing would “retard the work of the Institute in more vital and legitimate fields.” Mahalanobis told the committee of his disappointment that the government had refused, on financial grounds, to buy fast electronic computers for the institute. The committee’s answer was to recommend that ISI receive one of ten Honeywell computers the government was getting from the United States. Sharma reports that the company was closed and its assets went to Garden Reach.

The ruling fell on an institute that had already lost its place. By 1964 the HEC-2M and the Ural had been retired in favour of an IBM 1401, on which ISI now sold computing services. By the end of 1964 there were 15 digital computers in India, and in the autumn of 1965 the Planning Commission decided to open its own computer centre in Delhi with a Ford Foundation grant of Rs 23 lakh, so Calcutta was no longer even the planners’ data centre. ISI had also bid to become the first national computation centre and lost to TIFR, which had concluded that it was more prudent to buy a computer than to build the next one and chose an American CDC 3600. The committee’s two answers for ISI, take an imported Honeywell and stop building, followed the same logic, and the country’s later computer industry grew elsewhere (see India’s IT Industry). Mahalanobis had wanted computers in order to plan; making them had been the means, never the goal. Mahalanobis died in Calcutta on 28 June 1972. When the journalist Subroto Bagchi went looking for the HEC-2M at the end of 1984, he found it in a junkyard among the scrap.

📚 Sources