User`s guide

Developing an Application [3]
This chapter provides an overview of some Cray XMT functions and describes how
to perform some common programming tasks, such as floating-point operations,
sorting, dataflow, searching, and I/O.
Before you begin developing your program, you must log in to the login node using
ssh. You develop, compile, debug, and launch your program from the login node.
Before developing your application, review the data types and keywords that are
supported by the Cray XMT compilers. For a list of data types, see Appendix E, Data
Types on page 137. For a list of keywords, see Appendix F, Keywords on page 139.
3.1 The Cray XMT Programming Environment
The Cray XMT Programming Environment (XMT-PE) contains the following
modules:
mta-pe
xmt-tools
mta-man
The mta-pe module contains the C/C++ compilers and some utilities that are useful
during the development process. The following table lists the commands for mta-pe
utilities and provides a brief description.
Table 1. mta-pe Utilities
Utility Name Description
dis Disassembles object code.
header Displays a Cray XMT Executable and Linking File (ELF)
header for a specified object, exec, or library file.
mdb Starts debugger for Cray XMT programs.
nm Lists symbols from object files.
The mta-pe module also contains support for functions that are specific to the
Cray XMT environment. For more information, see Overview of Cray XMT Generic
and Intrinsic Functions on page 20.
S247920 19