Arm Forge User Guide Version 20.2 Arm Forge 20.2 Document history Version Date Confidentiality Change 20.1 25th June, 2020 Non-confidential Document update to version 20.1 20.1.1 31st July, 2020 Non-confidential Document update to version 20.1.1 20.1.2 4th September, 2020 Non-confidential Document update to version 20.1.2 20.1.3 2nd October, 2020 Non-confidential Document update to version 20.1.3 20.2 13th November, 2020 Non-confidential Document update to version 20.2 Copyright © 2002-2020 Arm Limited (or its affiliates). All rights reserved. 1 101136_2020_00_en Arm Forge 20.2 Non-Confidential Proprietary Notice This document is protected by copyright and other related rights and the practice or implementation of the information contained in this document may be protected by one or more patents or pending patent applications. No part of this document may be reproduced in any form by any means without the express prior written permission of Arm. No license, express or implied, by estoppel or otherwise to any intellectual property rights is granted by this document unless specifically stated. Your access to the information in this document is conditional upon your acceptance that you will not use or permit others to use the information for the purposes of determining whether implementations infringe any third party patents. THIS DOCUMENT IS PROVIDED “AS IS”. ARM PROVIDES NO REPRESENTATIONS AND NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY, SATISFACTORY QUALITY, NONIN- FRINGEMENT OR FITNESS FOR A PARTICULAR PURPOSE WITH RESPECT TO THE DOCU- MENT. For the avoidance of doubt, Arm makes no representation with respect to, and has undertaken no analysis to identify or understand the scope and content of, third party patents, copyrights, trade secrets, or other rights. This document may include technical inaccuracies or typographical errors. TO THE EXTENT NOT PROHIBITED BY LAW, IN NO EVENT WILL ARM BE LIABLE FOR ANY DAMAGES, INCLUDING WITHOUT LIMITATION ANY DIRECT, INDIRECT, SPECIAL, INCI- DENTAL, PUNITIVE, OR CONSEQUENTIAL DAMAGES, HOWEVER CAUSED AND REGARD- LESS OF THE THEORY OF LIABILITY, ARISING OUT OF ANY USE OF THIS DOCUMENT, EVEN IF ARM HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. This document consists solely of commercial items. You shall be responsible for ensuring that any use, duplication or disclosure of this document complies fully with any relevant export laws and regulations to assure that this document or any portion thereof is not exported, directly or indirectly, in violation of such export laws. Use of the word “partner” in reference to Arm’s customers is not intended to create or refer to any partnership relationship with any other company. Arm may make changes to this document at any time and without notice. If any of the provisions contained in these terms conflict with any of the provisions of any click through or signed written agreement covering this document with Arm, then the click through or signed written agreement prevails over and supersedes the conflicting provisions of these terms. This document may be translated into other languages for convenience, and you agree that if there is any conflict between the English version of this document and any translation, the terms of the English version of the Agreement shall prevail. The Arm corporate logo and words marked with ®or ™are registered trademarks or trademarks of Arm Limited (or its subsidiaries) in the US and/or elsewhere. All rights reserved. Other brands and names mentioned in this document may be the trademarks of their respective owners. Please follow Arm’s trademark usage guidelines at http://www.arm.com/company/policies/trademarks. Copyright ©2017-2020 Arm Limited (or its affiliates). All rights reserved. Copyright ©2002-2017 Allinea Software Limited. Arm Limited. Company 02557590 registered in England. 110 Fulbourn Road, Cambridge, England CB1 9NJ. LES-PRE-20349 Confidentiality status Copyright © 2002-2020 Arm Limited (or its affiliates). All rights reserved. 2 101136_2020_00_en Arm Forge 20.2 This document is Non-Confidential. The right to use, copy and disclose this document may be subject to license restrictions in accordance with the terms of the agreement entered into by Arm and the party that Arm delivered this document to. Unrestricted Access is an Arm internal classification. Product status The information in this document is Final, that is for a developed product. Web address http://www.arm.com Progressive terminology commitment Arm values inclusive communities. Arm recognizes that we and our industry have used terms that can be offensive. Arm strives to lead the industry and create change. This document includes terms that can be offensive. We will replace these terms in a future issue of this document. If you find offensive terms in this document, please contact [email protected] . Copyright © 2002-2020 Arm Limited (or its affiliates). All rights reserved. 3 101136_2020_00_en Arm Forge 20.2 CONTENTS Contents Contents 4 I Arm Forge 18 1 Introduction to Arm Forge 18 1.1 Arm DDT .......................................... 18 1.2 Arm MAP .......................................... 19 1.3 Arm Performance Reports ................................. 19 1.4 Online resources ...................................... 20 2 Installation 21 2.1 Linux graphical install ................................... 21 2.2 Linux text-mode install ................................... 23 2.3 Mac installation ....................................... 24 2.4 Windows installation .................................... 24 2.5 License files ......................................... 25 2.6 Workstation and evaluation licenses ............................ 25 2.7 Supercomputing and other floating licenses ........................ 26 2.8 Architecture licensing .................................... 27 2.8.1 Using multiple architecture licenses ........................ 27 2.9 Environment variables ................................... 27 2.9.1 Performance Report customization ......................... 27 2.9.2 Warning suppression ................................ 28 2.9.3 I/O behavior .................................... 28 2.9.4 Licensing ...................................... 28 2.9.5 Timeouts ...................................... 29 2.9.6 Sampler ....................................... 29 2.9.7 Simple troubleshooting ............................... 31 3 Connecting to a remote system 32 3.1 Remote connections dialog ................................. 32 3.2 Remote launch settings ................................... 33 3.2.1 Remote script .................................... 34 3.3 Reverse Connect ...................................... 35 3.3.1 Overview ...................................... 35 3.3.2 Usage ........................................ 35 3.3.3 Connection details ................................. 36 3.4 Treeserver or general debugging ports ........................... 36 3.5 Using X forwarding or VNC ................................ 36 4 Starting Arm Forge 38 II DDT 40 5 Getting started 40 5.1 Running a program ..................................... 41 5.1.1 Application ..................................... 41 5.1.2 MPI ......................................... 42 Copyright © 2002-2020 Arm Limited (or its affiliates). All rights reserved. 4 101136_2020_00_en Arm Forge 20.2 CONTENTS 5.1.3 OpenMP ...................................... 42 5.1.4 CUDA ....................................... 42 5.1.5 Memory debugging ................................. 43 5.1.6 Environment variables ............................... 43 5.1.7 Plugins ....................................... 43 5.2 Express Launch ....................................... 44 5.2.1 Run dialog box ................................... 45 5.3 remote-exec required by some MPIs .......................... 45 5.4 Debugging single-process programs ............................ 46 5.5 Debugging OpenMP programs ............................... 46 5.6 Manual launching of multi-process non-MPI programs .................. 48 5.7 Debugging MPMD programs ................................ 49 5.7.1 Debugging MPMD programs without Express Launch .............. 49 5.7.2 Debugging MPMD programs in Compatibility mode ............... 49 5.8 Opening core files ...................................... 50 5.9 Attaching to running programs ............................... 50 5.9.1 Automatically detected MPI jobs .......................... 51 5.9.2 Attaching to a subset of an MPI job ........................ 51 5.9.3 Manual process selection .............................. 51 5.9.4 Configuring attaching to remote hosts ....................... 53 5.9.5 Using DDT command-line arguments ....................... 53 5.10 Starting a job in a queue .................................. 54 5.11 Job scheduling with jsrun .................................. 54 5.12 Using custom MPI scripts .................................. 55 5.13 Starting DDT from a job script ............................... 57 5.14 UPC ............................................. 58 5.14.1 GCC UPC ..................................... 58 5.14.2 Berkeley UPC ................................... 58 5.15 Numactl ........................................... 58 5.15.1 MPI and SLURM .................................. 59 5.15.2 Non-MPI Programs ................................. 59 5.16 Python debugging ...................................... 59 5.16.1 Overview ...................................... 59 5.16.2 Running ......................................
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages334 Page
-
File Size-