Changes were made to this manual to support these features of the Cray C++ 5.1 and Cray C 8.1 releases:
| OpenMP Directives | The Cray C compiler supports OpenMP directives. The Cray implementation of OpenMP directives is based on the OpenMP C and C++ Application Program Interface Version 2.0 March 2002 standard. See Chapter 4. |
| OpenMP Compiler Option | Added support of the -h omp C compiler command option. The -h omp option enables or disables the compiler recognition of OpenMP directives. See Section 2.21.4. |
| OpenMP Environment Variable | Added support of the OMP_THREAD_STACK_SIZE environment variable. OMP_THREAD_STACK_SIZE changes the size of the thread stack from the default size of 16 MB to the specified size. See Section 2.25.5. |
| Tasking in OpenMP Applications | Added support of the -h taskn C compiler command. Enables tasking in applications that contain OpenMP directives. See Section 2.21.6. |
| Single-streaming processor (SSP) mode | The -h ssp option causes the compiler to compile the source code and select the appropriate libraries to create an executable that runs in single-streaming processor (SSP) mode. See Section 2.10.10. |
| UPC (Unified Parallel C) | Added support of UPC functions and predefined UPC macros. See Chapter 5. |
| Predeclare Intrinsics | Added support of the -h predeclare_intrinsics compiler command option. Simulates the effect of including intrinsics.h at the beginning of a compilation. See Section 2.21.5. |
| Simple Template Instantiation | Added support of the -h simple_templates compiler command option. This option provides an alternative to prelinker (automatic) template instantiation. See Section 2.7.1. |
© 1996-2000, 2002, 2003 Cray Inc. All Rights Reserved. This manual or parts thereof may not be reproduced in any form unless permitted by contract or by written permission of Cray Inc.
U.S. GOVERNMENT RESTRICTED RIGHTS NOTICE
The Computer Software is delivered as "Commercial Computer Software" as defined in DFARS 48 CFR 252.227-7014.
All Computer Software and Computer Software Documentation acquired by or for the U.S. Government is provided with Restricted Rights. Use, duplication or disclosure by the U.S. Government is subject to the restrictions described in FAR 48 CFR 52.227-14 or DFARS 48 CFR 252.227-7014, as applicable.
Technical Data acquired by or for the U.S. Government, if any, is provided with Limited Rights. Use, duplication or disclosure by the U.S. Government is subject to the restrictions described in FAR 48 CFR 52.227-14 or DFARS 48 CFR 252.227-7013, as applicable.
Autotasking, CF77, Cray, Cray Ada, Cray Channels, Cray Chips, CraySoft, Cray Y-MP, Cray-1, CRInform, CRI/TurboKiva, HSX, LibSci, MPP Apprentice, SSD, SuperCluster, UNICOS, UNICOS/mk, and X-MP EA are federally registered trademarks and Because no workstation is an island, CCI, CCMT, CF90, CFT, CFT2, CFT77, ConCurrent Maintenance Tools, COS, Cray Animation Theater, Cray APP, Cray C90, Cray C90D, Cray CF90, Cray C++ Compiling System, CrayDoc, Cray EL, Cray Fortran Compiler, Cray J90, Cray J90se, Cray J916, Cray J932, CrayLink, Cray MTA, Cray MTA-2, Cray MTX, Cray NQS, Cray/REELlibrarian, Cray S-MP, Cray SSD-T90, Cray SV1, Cray SV1ex, Cray SV2, Cray SX-5, Cray SX-6, Cray T90, Cray T94, Cray T916, Cray T932, Cray T3D, Cray T3D MC, Cray T3D MCA, Cray T3D SC, Cray T3E, CrayTutor, Cray X1, Cray X-MP, Cray XMS, Cray-2, CSIM, CVT, Delivering the power . . ., DGauss, Docview, EMDS, GigaRing, HEXAR, IOS, ND Series Network Disk Array, Network Queuing Environment, Network Queuing Tools, OLNET, RQS, SEGLDR, SMARTE, SUPERLINK, System Maintenance and Remote Testing Environment, Trusted UNICOS, UNICOS MAX, and UNICOS/mp are trademarks of Cray Inc.
Dinkumware and Dinkum are trademarks of Dinkumware, Ltd. Etnus and TotalView are trademarks of Etnus LLC. OpenMP, SGI, and Silicon Graphics are trademarks of Silicon Graphics, Inc. UNIX, the “X device,” X Window System, and X/Open are trademarks of The Open Group in the United States and other countries.
The UNICOS, UNICOS/mk, and UNICOS/mp operating systems are derived from UNIX System V. These operating systems are also based in part on the Fourth Berkeley Software Distribution (BSD) under license from The Regents of the University of California.
Portions of this document were copied by permission of OpenMP Architecture Review Board from
| Version | Date | Remarks |
|---|---|---|
| 2.0 | January 1996 | Original Printing. This manual supports the C and C++ compilers contained in the Cray C++ Programming Environment release 2.0. On all Cray systems, the C++ compiler is Cray C++ 2.0. On Cray systems with IEEE floating-point hardware, the C compiler is Cray Standard C 5.0. On Cray systems without IEEE floating-point hardware, the C compiler is Cray Standard C 4.0. |
| 3.0 | May 1997 | This rewrite supports the C and C++ compilers contained in the Cray C++ Programming Environment release 3.0, which is supported on all systems except the Cray T3D system. On all supported Cray systems, the C++ compiler is Cray C++ 3.0 and the C compiler is Cray C 6.0. |
| 3.0.2 | March 1998 | This revision supports the C and C++ compilers contained in the Cray C++ Programming Environment release 3.0.2, which is supported on all systems except the Cray T3D system. On all supported Cray systems, the C++ compiler is Cray C++ 3.0.2 and the C compiler is Cray C 6.0.2. |
| 3.1 | August 1998 | This revision supports the C and C++ compilers contained in the Cray C++ Programming Environment release 3.1, which is supported on all systems except the Cray T3D system. On all supported Cray systems, the C++ compiler is Cray C++ 3.1 and the C compiler is Cray C 6.1. |
| 3.2 | January 1999 | This revision supports the C and C++ compilers contained in the Cray C++ Programming Environment release 3.2, which is supported on all systems except the Cray T3D system. On all supported Cray systems, the C++ compiler is Cray C++ 3.2 and the C compiler is Cray C 6.2. |
| 3.3 | July 1999 | This revision supports the C and C++ compilers contained in the Cray C++ Programming Environment release 3.3, which is supported on the Cray SV1, Cray C90, Cray J90, and Cray T90 systems running UNICOS 10.0.0.5 and later, and Cray T3E systems running UNICOS/mk 2.0.4 and later. On all supported Cray systems, the C++ compiler is Cray C++ 3.3 and the C compiler is Cray C 6.3. |
| 3.4 | August 2000 | This revision supports the Cray C 6.4 and Cray C++ 3.4 releases running on UNICOS and UNICOS/mk operating systems. It includes updates to revision 3.3. |
| 3.4 | October 2000 | This revision supports the Cray C 6.4 and Cray C++ 3.4 releases running on UNICOS and UNICOS/mk operating systems. This revision supports a new inlining level, inline4. |
| 3.6 | June 2002 | This revision supports the Cray Standard C 6.6 and Cray Standard C++ 3.6 releases running on UNICOS and UNICOS/mk operating systems. |
| 4.1 | August 20, 2002 | Draft version to support Cray C 7.1 and Cray C++ 4.1 releases running on UNICOS/mp operating systems. |
| 4.2 | December 20, 2002 | Draft version to support Cray C 7.2 and Cray C++ 4.2 releases running on UNICOS/mp operating systems. |
| 4.3 | March 31, 2003 | Draft version to support Cray C 7.3 and Cray C++ 4.3 releases running on UNICOS/mp operating systems. |
| 5.0 | June 2003 | Supports Cray C++ 5.0 and Cray C 8.0 releases running on UNICOS/mp 2.1 or later operating systems. |
| 5.1 | October 2003 | Supports Cray C++ 5.1 and Cray C 8.1 releases running on UNICOS/mp 2.2 or later operating systems. |