Machine CM-5 Technical Summary
Total Page:16
File Type:pdf, Size:1020Kb
(M5 Connection Machine CM-5 Technical Summary Corporation -lrrlrll S llY~r =ir-~Ur - Connection Machine CM-5 Technical Summary November 1993 EMImtm~t NUMBI-RUIS~~Rn; First printing, October 1991 Revised, November 1992 Revised, November 1993 The information in this document is subject to change without notice and should not be construed as a commitment by Thinking Machines Corporati. Thining Machines reserves the right to make changes to any product described herein. Although the informanationin this document has been reviewed and is believed to be reliable, Thinking Machines Corpotioa assumes no liability for emrs in this document. Thinking Machines does not assume any liability arising from the application or use of any information or product described herein Connection Machine is a registered trademark of Thinking Machines Corporation. CM, CM-2,CM-200, CM-5, CM-5 Scale 3, and DataVault are trademarks of Thinking Machines Corporation. CMos; CMAX,and Prism are trademarks of Thinking Machines Corporation. C * is a registered trademark of Thinking Machines Corporation. Paris, *Lisp, and CM Fortran are trademarks of Thinking Machines Corporation. CMMD,CMSSL, and CMX11are trademarks of Thinking Machines Corporation. CMviewis a trademark of Thinking Machines Corporation. FastGraph is a trademark of Thinking Machines Corporation. FastGraphU.S. Patent No. 5,247,694 Scalable Computing (SC) is a trademark of Thinking Machines Corporation. Scalable Disk Array (SDA)is a trademark of Thinking Machines Corporation. Thinking Machines® is a registered trademark of Thinking Machines Corporation. AVSis a trademark of Advanced Visualization Systems, Inc. Ethernet is a trademark of Xerox Corporation. IBM is a trademark of International Business Machines Corporation. Motif is a trademark of The Open Software Foundation, Inc. NFS and UNIX are trademarks of UNIX System Laboratories. SPARCand SPARstation are trademarks of SPARCInternational, Inc. Products bearing a SPARCtrademark are based upon an architecture developed by Sun Microsystems, Inc. SPARCstationis licensed exclusively to Sun Microsystems, Inc. Sun, Sun-4, and Sun Workstation are trademarks of Sun Microsystems, Inc. VMEbus is a trademark oif Motorola Corporation The X Window System is a trademark of the Massachusetts Institute of Technology. Copyright C 1991-1993 by Thinking Machines Corporation. All rights reserved. Thinking Machines Corporation 245 First Street Cambridge, Massachusetts 02142-1264 (617) 234-1000 Contents iAs. _sli~-- Part I Introduction Chapter 1 Supercomputing and Parallelism ......... 3 1.1 Parallelism.......................... .. .. ............... 4 1.2 Parallel Programming ................. ......... ............... 5 1.3 Advantages of a Universal Architecture . .... .... ................ 9 1.4 Looking Ahead ...................... .......................... 11 Chapter 2 The Basic Components of the CM-5 ...... ............... 13 2.1 Processors............................... ................ 13 2.2 Networks................................ ................ 15 2.3 I/O ..................................... ............... 17 2.4 A Universal Architecture ................... ................ 18 Chapter 3 Data Parallel Programming.............. ................ 19 3.1 Data Sets and Distributed Memory .......... ................ 19 3.2 Interconnected Data Structures ............. ................ 21 3.3 Interprocessor Communications ............. ............... 21 3.4 Conditionals............................ ................ 27 3.5 In Summary .............................. 28 3.6 More Information to Come ...................................... 29 Novemer 1993 Coppight @1993 Thining Machines Coporation iii - - Connection Machine CM-5 TechnicalSummary % ~~~~Psss~~~~~%........B ... 81MMI111a - ----- ----------- ---- .------- Part II CM-S Software Chapter 4 Connection Machine Software .................... 33 4.1 Base System Software ........... ... ... .. ................... 33 4.2 Languages and Libraries ......... ......... ......... 33 ...... .. 4.3 CM Software Summarized ....... .................... 35 Chapter 5 The Operating System: CMOST .......... 37 5.1 CMOST and the CM-5 Architecture ......... ............... 38 5.2 CMOST and the Users ..................... ............... 40 5.3 CMOSTand the Administrator.............. .............. 41 5.4 I/O and File Systems ...................... ............... 41 Chapter 6 The Programming Environment:Prism ... .......... 45 6.1 Using Prism ............................. .......... 46 6.2 Analyzing Program Performance ............ .......... .47 6.3 Visualizing Data ............. ......... .................... 48 6.4 Using Prism with CMAX ................... ..................... 49 6.5 On-Line Documentation and Help .......... .................... 50 Chapter 7 The Program Execution Environment . .......53 7.1 Batch Utilities . ...... ........ .......... ........... 54 7.2 Timers............................... .......... ........... 57 7.3 Timesharing........................... ......... ........... 57 7.4 Checkpointing......................... .......... ........... 58 Chapter 8 The CMAX Converter ................. 59 Chapter 9 The CM Fortran Programming Language ...................... 63 9.1 Structuring Parallel Data .... ... ....... .........................63 9.2 Computing in Parallel .......................................... 65 9.3 Communicating in Parallel ................ ....... ...... 66 9.4 EransformingParallel Data ............... ................... 68 November1993 iv Copyght 0 1993ThirlngMachines Corm ion Contents ,8g(m· .................................... Chapter 10 The C* Programming Language.. 71 ........................ 10.1 Structuring Parallel Data ........... .... 71 ........................ 10.2 Computing in Parallel ............. ..... e . ..e 73 . 10.3 Communicating in Parallel ......... 75 ........................ 10.4 ¶IransformingParallel Data ......... 76 ........................ Chapter 11 The *Lisp Programming Language .. 79 11.1 Structuring Parallel Data .............. .............. 80 11.2 Computing in Parallel ................ .............. 82 113 Communicating in Parallel ............ ............. 84 11.4 'Iansforming Parallel Data ............ .............. 85 Chapte r 12 CM Scientific Software Library ..... 87 12.1 Overview ............................ ........ ................. 87 12.2 Multiple Instances .................... ........ ................. 88 12.3 Matrix Operations .................... ........ ................ 92 12.4 Linear Algebraic Equations ............ ........ ................. 94 12.5 Eigensystem Analysis ................ ........ ................. 97 12.6 Fourier ransforms .................... ........ ................ 98 12.7 Ordinary Differential Equations ......... ........ ................. 99 12.8 Optimization ......................... ........ ................. 99 12.9 Random Number Generation ........... ........ ................. 100 L2.10 Statistical Analysis .................... ........ ................. 100 12.11 Communication Functions .............. ........ ................. 101 Chaptelr 13 Data Visualization................... ........... 105 13.1 A Distributed Graphics Strategy ........ ............. ........... 105 13.2 An Integrated Environment ............ .............. ........... 106 13.3 The X11 Protocol ..................... .............. ........... 107 13.4 The CMX11 Library ................... .............. ........... 107 13.5 Visualization Environments - CM/AVS .. ..... 108 Novembr 1993 CopyrWt 1993 Thinkgachins Coporation v Connection Machine CM-5 TechnicalSummary Chapter 14 CMMD..... ., .. ....... ...... ... 111 14.1 Node-Level Programming with CMMD ... ...... ... 112 .... .. 14.2 Programming Models ......................... ... 112 .. ... .. 14.3 Message-Passing Protocols .................... ... 113 14.4 I/O ........................................ ... 119 Part HII CM-5 Architecture Chapter 15 Architecture Overview .......... .............................. 125 15.1 Processors...................... .............................. 125 15.2 Networks and VO ................ .............................. 127 15.3 Further Information .............. 129 .............................. Chapter 16 The User-Level Virtual Machine .............................. 131 16.1 Communications Facilities ......... .............................. 132 16.2 Data Parallel Computations ....... ..............................134 16.3 Low-Level User Programming ..... .............................. 137 Chapter 17 Local Architecture.............. 139 .............................. 17.1 Control Processor Architecture .... .............................. 139 17.2 Processing Node Architecture ...... .............................. 140 17.3 Vector Unit Architecture .......... .............................. 143 Chapter 18 Global Architecture .. 155 .......... 18.1 The Network Interface.. ..... ..... ..... ..... ..... .......... 155 18.2 The Control Network ... ... ... ... .. ... ... ... .. .......... 158 18.3 The Data Network ..... .............................. 162 .......... Chapter 19 System Architectureand Administration ....................... 165 19.1 The System Console .......................................... 165 19.2 Allocation of Resources .................................... 166 19.3 Partitions and Networks ..................................... 167 November1993 vi Copyright0 1993 ThinkingMachines Corporation Contents 11 1, ll ll11 -- - - - . - --- - ----