The Engineer Factory

Chapter 2. Kanpur, 1963 (1946-1978)

In July 1963 a chartered DC-7 landed at a military airbase in Kanpur, a large city on the Ganges in Uttar Pradesh. In its hold was an IBM 1620, a small transistorised computer of a model common in American universities.1 It was bound for the Indian Institute of Technology (IIT) at Kanpur, which was then three years old. At the institute, in the historian Ross Bassett’s words, ‘a group of young Indian men muscled the machine into place’.2 Waiting for it was Harry Huskey of the University of California at Berkeley, who had consulted on the pioneering American computer ENIAC and had worked with Alan Turing in England.3

The machine had been planned before there was a building to put it in. Its delivery date had been set by the earliest moment that a room could hold it.4 The computer room was still unfinished. ‘This is monsoon season, by the way, in the middle of July,’ Huskey recalled for the Computer History Museum in 2006, and the crated machine was set down in about an inch of water.5 Because the 1620 had been paid for with American aid under a ‘buy America clause’, it was built for 60-cycle power, while India’s supply ran at 50 cycles. It took telegrams to IBM and a converter found in Germany before, ‘in about three weeks’, the machine was running.6 With two colleagues from Princeton, Forman Acton and Irving Rabinowitz, Huskey showed it to the institute’s Board of Governors in late August.7 V. Rajaraman, who joined the Kanpur faculty that year and later wrote a history of Indian computing, calls it the first computer with a FORTRAN compiler in any Indian educational institution. A compiler is software that translates a program written in a high-level language such as FORTRAN into the machine’s own instructions.8

Once it ran, the three Americans began an informal course for twenty-five first-year students, chosen for the purpose. After their ordinary classes, the students ‘would stay long into the night programming the computer’.9

Kanpur was not the first place in India with a computer, although Huskey came to remember it that way. ‘So I think our computer center was the first such in India,’ he said.10 The Indian Statistical Institute and the Tata Institute of Fundamental Research had working machines years earlier (Chapter 1). Kanpur was the first place where a computer was put at the centre of an engineering education, where every student was required to program, and where computer science was first taught as a subject of its own. It was also, from its first graduating year, a door to the United States. This is where the factory’s raw material begins: an engineer trained in English, to an American standard, on American machines, and therefore exportable. The education was built to serve India, and a large share of its best products went to America.

The standard of MIT

The engineering colleges the British founded in India had a limited purpose: to prepare Indians for subordinate posts under British rule.11 The idea of something grander came from a British scientist. In 1944 A.V. Hill, a Nobel laureate who was advising the government of British India, noted that India had no institution like the Massachusetts Institute of Technology (MIT), and recommended one or two technical institutes ‘of the highest possible standing’.12 A committee chaired by N.R. Sarker proposed four in 1946, spread across the regions of India, to train students to the standard of MIT.13 The first Indian Institute of Technology opened at Kharagpur, west of Calcutta (Kolkata since 2001), in 1951, with help from the United States, Britain, the Soviet Union and UNESCO.14

For the next four, the government gave each institute a single foreign patron. The Soviet Union supported Bombay (Mumbai since 1995), which opened in 1958; West Germany supported Madras (Chennai since 1996), opened in 1959; the United States took Kanpur, opened in 1960; and Britain supported Delhi, which began in 1963.15 For a while the IITs were different experiments under one name. Madras built a curriculum heavy with practical training in manual skills such as blacksmithing and woodworking, and its first computer was a surplus analogue machine that had belonged to an American university.16 At Bombay the first director said in 1961 that he had turned down a Soviet Ural-I computer because it cost too much.17 The common belief that the IITs were modelled on MIT is therefore half right. MIT was the standard the planners named, but four of the five early institutes had non-American patrons. Kanpur came closest to the American model, and it was the American model that won.18

The turn to America predated Kanpur. Before the Second World War between one and two thousand Indian students a year studied in Britain, and at most 208 in the United States. In 1944 the government of British India began paying for Indian students at American universities, and by 1949-50 there were 1,680 Indian students in America and fewer than 700 in Britain.19 Bassett’s larger argument is that the alignment was chosen, not imposed. An Indian technical elite educated in America built ties with American firms, universities and, at times, the American government, and kept them through the worst years of relations between the two states.20 Kanpur was that elite’s most important project.

A director reads a book

By 1958 India and the United States had informally agreed that America would help build the IIT at Kanpur. Delays meant that the institute opened in 1960 without American help.21 Its first director, P.K. Kelkar, was an electrical engineer with a 1936 doctorate from the University of Liverpool. He had taught at the Victoria Jubilee Technical Institute in Bombay and had been chief planning officer for IIT Bombay, working closely with its Soviet sponsors.22

In a memoir written after he retired, and never published, Kelkar described the moment his thinking turned. He read the proceedings of a 1957 conference of American engineering deans, which described how their schools were reorganising teaching around ‘engineering science’: a common scientific foundation beneath the separate branches of engineering.23 The volume’s other theme was the computer. One contributor called it ‘the embodiment of a new attitude toward the utilization of ideas’, which would become, like the library, the intellectual hub of a university.24 Another, Gordon Brown, the dean of engineering at MIT, defined the modern engineer as someone who ‘builds mechanisms to program, to control or to compute with lightning-like speed’.25

The engineering-science model had won in America partly because engineering schools wanted military research funding. Its rhetoric, Bassett argues, was broad enough to appeal to Kelkar, an idealist who had come to engineering through physics.26 The computer was central to his plan from the start. Even before any American programme was in place, he planned to buy an IBM machine with American funds and to have physicists at Delhi University train his faculty to use it.27

Kelkar also brought with him a connection that would matter later. In the late 1950s, at the Victoria Jubilee Technical Institute, he and F.C. Kohli, an MIT-trained control engineer working for Tata Electric, had started a master’s course in control engineering. Brown, the MIT dean, had been one of Kohli’s professors.28

Arrival at Kanpur Central

The first hundred undergraduates arrived in July 1960.29 The institute had no campus of its own. Abhay Bhushan, who holds roll number 60001 and so counts as Kanpur’s first student, later wrote a three-part account of those years. He remembers arriving at Kanpur Central station with a few coins in his pocket and being collected by truck with other boys from all over the country.30 They lived in a hostel borrowed from the Government Central Textile Institute in Gwaltoli, and attended classes and laboratories at the Harcourt Butler Technological Institute.31 Fewer than seventy lived in the hostel, two to a room; the food, from a contractor, was by his account generally poor.32 The first classes on the new campus were held in its workshop building in 1963.33

Not one of the hundred who started was a woman. When students put on plays, boys took the women’s parts.34 The absence was so ordinary that it shaped the language of the people describing the place. Peter Fay, a Caltech historian who taught at Kanpur from 1964 to 1966, described the last two undergraduate years as professional training in the branch of engineering ‘which the boy or the boy’s father has chosen’.35

Entry was by a common examination taken across India.36 Teaching was in English, and Fay reported that only a fraction of the students were thoroughly comfortable in it. The English paper in the entrance examination had a pass mark set deliberately low, so as not to exclude promising engineers, and the first-year English course had largely become a language course.37 Bhushan’s first-year teachers, he wrote, had been borrowed from the colleges of Uttar Pradesh and taught by memory and rote, even in mathematics; in the second year new teachers arrived, many with doctorates from the United States, Canada and Britain.38

Influence, not power

American help arrived after the students. In January 1961 MIT sent three professors to India, and their report proposed a consortium of American universities with MIT informally at its head.39 Later that year the two governments and nine universities, among them MIT, Caltech, Princeton, Berkeley and Purdue, agreed to set up the Kanpur Indo-American Program, known as KIAP. Stanford was asked and declined.40 Early in 1962 the US Agency for International Development (USAID) contracted with the nine through an agent, and American faculty began to arrive.41 The programme was meant to last ten years.42 It ended in 1972.43

Fay’s report from Kanpur is the fullest contemporary description of what this meant on the ground. The Americans were contract employees of the aid agency. They lived in houses it rented for them, drew flour, sugar and Scotch from the commissary in New Delhi, and were paid in dollars through their home universities.44 At their peak there were about thirty of them; by 1966 there were twenty, and falling.45 They sat on the committees that appointed faculty, but without a vote, and were often not even consulted on promotions. Where an Indian could head a department, an American did not.46 They also held periodic morning meetings of their own, to which their Indian colleagues were not invited. Fay’s examples of what came up there include equipment ‘lying in the rain at Delhi airport waiting for customs’, and how to get out of Kanpur in a hurry during ‘the fighting last September, when the city was blacked out and Americans in the Punjab were all ordered to Delhi’, the war with Pakistan of September 1965. In his own case, he added, the problem was leaving without abandoning ‘a four-foot Benares brass tray’.47

A first-year student from Delhi told Fay that he had chosen Kanpur over the IIT near his home because ‘you Americans run this one’. Fay replied that he sometimes wished they did. ‘For the fact is we have influence; we do not have power.’48 He was frank about the hurry the arrangement imposed: ‘For we have always been in a hurry. The program is to run for only ten years, and individuals never stay for more than two.’49

Influence still bought a great deal. Drawing on a 1972 dissertation by Kim Patrick Sebaly, Bassett estimates that the American contribution to Kanpur, in equipment and visiting faculty, was twice what the Soviet Union gave Bombay or West Germany gave Madras, and three times what Britain gave Delhi.50 By November 1965 more than $4 million of equipment and books had been ordered from the United States. Fay judged that Kanpur was ‘already the best equipped engineering and science school in India’, and that this had helped it attract faculty.51 The student thought the Americans ran Kanpur; Fay thought they had influence and not power; Bassett reads the alignment as chosen by Indian elites for their own ends. All three can be true at once: the money and the model were American, the appointments and the institution were Indian.52

Learning on the fly

Kelkar chose most of his permanent faculty from among Indians with American doctorates, many of them recruited while they were working or teaching in the United States.53 By 1966 Kanpur had about seventy-five faculty at assistant professor level or above. All but four were under forty. All held doctorates or equivalent degrees: over half from the United States and Canada, a dozen from Britain or elsewhere in Europe.54

The people who would run the computer centre came by the same route. H.K. Kesavan, who had a doctorate from Michigan State and had been a professor at Waterloo in Canada, arrived in January 1964 to head electrical engineering, and in May became the first head of the computer centre. Rajaraman had arrived in 1963, with a master’s from MIT and a doctorate from Wisconsin in analogue computation. Two of Kesavan’s former colleagues at Waterloo, H.N. Mahabala and T.R. Viswanathan, followed.55 None of them had been trained as computer scientists, because almost nobody had. Rajaraman and Mahabala obtained their computing education, in Bassett’s phrase, ‘on the fly, without formal training’.56 The first teachers of computing in India were electrical engineers who taught themselves, and then taught others.

Switching it on

Among the students who took to the machine was Ravi Sethi, a first-year in the autumn of 1963. In a recollection published in 2021 in The Spark, a student magazine of the 1960s revived by IIT Kanpur alumni, he describes taking an evening course from Acton after the midterm examinations, and being one of six students selected to operate the 1620. He remembers being authorised to switch it on as an event in itself.57 Programs were punched on cards, one line of code to a card. From the blinking lights on the console, the students learned to tell when a program had fallen into a loop. Rabinowitz once challenged Sethi to write a program that would copy a deck of cards and fit on a single card, which meant six instructions or fewer. The machine needed its generators running, and then its air conditioning, before it could be turned on. Sethi spent the following summer working for Huskey on a compiler.58

By February 1964 the 1620 was running twenty-four hours a day, and by April the centre was open to students around the clock.59 Undergraduates worked there as programmers. Among them were Sethi, who later became a senior manager at Bell Labs; Jayadev Misra, later head of electrical engineering at the University of Texas at Austin; and Raj Kanodia, who would help connect MIT to the ARPANET.60

From the spring of 1964 every student at Kanpur was trained in computing.61 Rajaraman describes it as a compulsory course in programming and numerical methods for all engineering students, and claims it as a first in India.62 Kelkar, speaking at Berkeley in 1968, described the effect: ‘we soon became aware of the compelling power of the computer. It exercised a unique fascination over the minds of not only post-doctorals, but also freshmen’.63

The faculty moved quickly to make the subject a discipline. An M.Tech programme in computers followed in the mid-1960s, which IIT Kanpur’s own account calls the first time computer science was offered as an academic discipline in India.64 The institute’s catalogue for 1969 listed a full range of undergraduate and graduate courses, including software engineering, information theory, hardware design and image processing.65 Rajaraman published an introductory textbook, Principles of Computer Programming, in 1969, and later texts on FORTRAN and COBOL.66

Missionaries

The three Americans who set up the 1620 saw their job as spreading the gospel of computing across India. They lectured at research institutes and universities including the Tata Institute of Fundamental Research, IIT Madras and the Indian Statistical Institute, and gave a special session for fifteen members of the Planning Commission.67

Their lasting contribution was a ten-day course for people from institutions that might one day use computers. Huskey opened it to scientists, engineers and teachers from across India rather than restricting it to Kanpur’s own faculty.68 The course taught programming, numerical methods and computer logic, in a variant of FORTRAN called FORGO, with hands-on laboratory sessions.69 Each course had about fifty or sixty participants, and it ran three or four times a year.70 By August 1965, 600 people from fifty institutions had taken it, from other IITs, engineering colleges, national laboratories, government agencies and private firms.71 Indian faculty kept it going after the Americans left; Rajaraman says it ran until 1975 and trained over 1,500 people.72

The Kanpur faculty taught the course, as Bassett puts it from Mahabala’s recollections, ‘with an almost religious sense of mission’, in many cases driving to the railway station ten miles away themselves to collect participants, while their wives cooked the meals.73 Kelkar’s claim at Berkeley in 1968 was that ‘there is hardly a computer installation where there is nobody who had been to Kanpur at least once.’74 The claim cannot be tested, but it was not far-fetched. A government committee later counted thirty computers in the whole of India in 1965, and a course that had trained 600 people by August of that year had reached a large part of the small world of Indian computing.75

A dead crow on the world market

The 1620 was a good first machine, small, simple and needing little staff, but within a year Kanpur had used up its capacity.76 It had cost roughly $320,000 before IBM’s 60 per cent educational discount.77 The institute’s second computer was a much bigger purchase: an IBM 7044, which arrived in 1966 and made Kanpur home to one of the most powerful computers in India.78

How it was paid for matters to the rest of this book. The 7044’s list price was $3 million. IBM gave Kanpur its standard educational discount, and also ‘allowed it to pay in rupees’, which Bassett calls ‘a major concession to a country for which foreign exchange was precious’.79 The money came from the Government of India.80 Foreign exchange was the binding constraint on Indian computing for the next quarter-century. A machine bought in rupees escaped it.

The concession had a cost. The 7044 had been introduced in 1961 as a stopgap while IBM developed its System/360, and by 1969 IBM was phasing it out. Neither IBM India nor its American parent helped the institute obtain new software.81 Kanpur students had been learning FORTRAN II, which the student newspaper, Spark, called ‘almost a dead crow on the world market’.82 The response was the first of many Indian adaptations to old hardware. In 1970 Kanpur undergraduates wrote what Bassett calls ‘the first compiler written in India’, which brought features of newer versions of FORTRAN to a machine never designed for them.83 KIAP ended in 1972 with no second phase, and with no American money for a replacement Kanpur kept its 7044 until 1979.84

Other IITs fared worse. At Bombay a Soviet Minsk II computer, delivered through UNESCO in 1965, stood in storage for two years while the Soviet Union and UNESCO negotiated who would pay for the technicians to install it; it began working in January 1968, running a Soviet programming language rather than FORTRAN.85 Madras overtook Kanpur by a different route. In 1971 West Germany agreed to give IIT Madras a computer, and Mahabala, who had moved there from Kanpur, persuaded the Germans to buy an IBM machine. The IBM 370/155 inaugurated at Madras in November 1973 was the most powerful computer in India.86

Kanpur’s enthusiasm was not the national mood: Indian unions called computers ‘job eaters’, and the government did not study the question seriously until the late 1960s.87 What connected Kanpur to the wider country was IBM. A 1974 survey counted 217 computers installed in India: 65 per cent made by IBM, 13 per cent by the British firm ICL and 11 per cent by the Indian public-sector firm Electronics Corporation of India Limited (ECIL).88 ‘Simultaneity is not causality,’ Bassett writes, ‘but an American-oriented program of engineering education in India and an American computing firm did reinforce each other.’89 Kanpur taught people to program IBM machines, and IBM sold the machines they programmed.

The road out

Kelkar and the Americans who designed KIAP had meant to build an Indian institute that would train engineers to solve Indian problems. The students partly defeated that aim by making Kanpur what its name already implied: ‘the Indian MIT’, and a step towards the American one.90 In 1965-66 almost 7,000 Indians were studying in the United States, and at MIT in 1966 only Canada sent more students than India’s eighty-two.91 For its best undergraduates Kanpur was often only a step towards the best American graduate programmes, while its own graduate courses drew mainly students from further down India’s educational hierarchy.92

Law made the step permanent. Before 1965 national quotas severely restricted permanent Indian immigration to the United States, and Indian engineers could study in America but were generally not allowed to stay and work. In 1965, the year of Kanpur’s first graduating class, President Lyndon Johnson signed a law that abolished the quotas and made it much easier for Indians to settle.93 Sixty-six of Kanpur’s first hundred students graduated that May.94 Bhushan went to MIT on a research assistantship.95 An email list of the first batch showed that roughly a third were living in the United States in 2005.96 The most thorough study of IIT emigration, made at Bombay by S.P. Sukhatme, found that slightly over 40 per cent of the institute’s electrical engineering graduates of 1973 to 1977 had ended up abroad, the great majority in the United States.97 No comparable figure exists for Kanpur.98

Kanpur’s graduates reached the centre of American computing within a few years. On 14 June 1971 the ARPANET’s Network Working Group issued Request for Comments 176, a protocol document. Its four authors were listed as A. Bhushan and R. Kanodia of MIT, Robert Metcalfe of MIT, later the inventor of Ethernet, and Jon Postel of UCLA.99 Bhushan chaired the working group that defined the File Transfer Protocol, a standard still used to move files between computers.100 Two of the four names on that document had learned to program on a 1620 in Kanpur. In 2008 Bassett examined the faculty of the ten American computer science departments ranked highest in 1993. Thirty-eight had taken their first degree in India, ten of them from IIT Kanpur. It was, he wrote, ‘enough to fill a good-sized department’.101

Twenty seats

Until 1978 computing at Kanpur lived inside electrical engineering. That year the institute created a bachelor’s degree in computer science, the first at any IIT.102 Rajaraman, who led the effort, recalled that the senate had ‘grudgingly allowed 20 students’ into the programme, because it did not think computer science was mainstream engineering.103

Admission to every IIT seat was by rank in the Joint Entrance Examination. In 1978 over 100,000 students sat it for about 1,500 places.104 The highest-ranked candidate chose any seat at any IIT, the next chose from what remained, and so on down.105 Arjun Malhotra, later a co-founder of the computer firm HCL, described the arithmetic to the Computer History Museum in 2018. Sitting the examination in the mid-1960s, he wanted one of the 30 places in IIT Kharagpur’s electronics department and told himself that with ‘a rank of 30 or less, then no one can take my first choice away from me’. He came 32nd, and got in because candidates ranked above him chose other courses.106 In 1978 the students’ choice was decisive. ‘Students and their parents were very apprehensive about this new programme,’ Rajaraman recalled in 2018. ‘The greatest surprise came when the JEE results were declared and the B.Tech programme closed at an AIR of 40,’ AIR being the all-India rank.107 About half of India’s top forty candidates had chosen a subject the senate had not considered mainstream engineering. The other IITs, Rajaraman writes, were surprised, and all of them started degrees in computer science.108 Ten years later Kanpur’s fourteen computer science seats were filled by rank 38.109

Where those students went is documented for the first class. Nineteen graduated in 1983. In 2007 Bassett traced seventeen through an alumni website. One had died. Of the other sixteen, fourteen lived in the United States, one in the Czech Republic and one in India.110 Nine had doctorates and five held faculty posts in American computer science departments. Six lived in the San Francisco Bay Area, and at least three had founded companies. One, Rajeev Motwani of Stanford, was an early academic mentor to Larry Page and Sergey Brin in the work that led to Google.111 Some Kanpur teachers, frustrated by the outflow, tried to stop it by refusing to write recommendation letters for students applying to American graduate schools. Bassett calls the attempt futile.112

The road to industry

Kanpur never had a computer industry of its own, unlike MIT and Stanford, each of which seeded one nearby.113 Its influence on Indian software ran through people.

The first of them was Kohli, Kelkar’s old colleague from Bombay. Kelkar persuaded him to sit on Kanpur’s electrical engineering selection committee and to visit the institute regularly. Kohli got his practical introduction to computing on Kanpur’s 1620, and took computing back to Tata Electric in Bombay.114 When the Tata group set up a computing business, Kohli moved to head it.115 In the early years of what became Tata Consultancy Services, Mahabala spent his summers there as a consultant, and Kohli often hired Kanpur’s master’s graduates in computing.116

The second was N.R. Narayana Murthy. He had studied electrical engineering at the University of Mysore, meaning to become a hydroelectric engineer, and then took a master’s degree at Kanpur, where he got ‘hooked’ on computing.117 In his own account the turn came after a breakfast-table talk by a visiting professor from Princeton; within months he was running simulations through the night on the 7044. ‘It was a macho thing to make the six tape units rotate fast.’118 Each of the twelve students in his graduate class, he told the Computer History Museum in 2018, had four or five job offers from companies that had installed IBM 1401s. He took a job at half the salary with Jashwant Krishnayya, an MIT-trained professor at the Indian Institute of Management in Ahmedabad who had come to Kanpur to recruit engineers with computing skills, because Rajaraman advised him that he would learn how a time-sharing system worked.119 It is the first price for programming skill in this book: a class of twelve choosing among some fifty offers. Murthy later joined Narendra Patni, whose firm was one of the first in India to get computing work from American companies, and left it in 1981 to found Infosys with colleagues.120 Kanpur gave Murthy the ability; men like Patni and Kohli, already connected to American business, gave that ability its commercial force.121

The third large firm of the period has no Kanpur connection at all. Wipro was built by Azim Premji, a Stanford-educated electrical engineer who turned his family’s cooking-oil business towards computers.122 Kanpur was one route into the industry, not the only one.

Coda: from the classroom to the state

In 1972 the American programme ended, and Kanpur’s computer was already old. Kelkar had left two years earlier to direct IIT Bombay.123 The government in Delhi had created a Department of Electronics in 1970 and was setting out to have India’s computers designed and built in India by a public-sector company.124 The state wanted machines made at home. Kanpur had already made the thing India would one day sell to the world: an engineer trained in English, to an American standard, on American machines. For now, many of the best of them left.