Www.bsc.es BSC tools hands-on session. 2 Objectives Copy ~nct00001/tools-material into your ${HOME} –cp –r ~nct00001/tools-material ${HOME} Contents of.

Slides:



Advertisements
Similar presentations
INFSO-RI Module 03 Installing the ETICS Client Alberto Di Meglio.
Advertisements

Neo.NET Entity Objects VisualStudio Tool Guide.
1 Departamento de Informatica, UTFSM. Agosto 2006 ACS Working Style Mauricio Araya: Team Leader ACS – UTFSM Team.
Chapter Apache Installation in Linux- Mandrake. Acknowledgment The following information has been obtained directly from
Introduction to Android Studio
Software Installation, release 4.0 Geant4 Users’ Workshop Tutorial SLAC February 18-22, 2002 Takashi Sasaki, Gabriele Cosmo,
Platforms, installation, configuration; accessing example collections Course material prepared by Greenstone Digital Library Project University of Waikato,
National Instruments Confidential Deployment Techniques for LabVIEW ™ Applications Kennon Cotton LabVIEW R&D Group Manager.
Linux & Shell Scripting Small Group Lecture 4 How to Learn to Code Workshop group/ Erin.
Reproducible Environment for Scientific Applications (Lab session) Tak-Lon (Stephen) Wu.
Software Installation The full set of lecture notes of this Geant4 Course is available at
Julie McEnery1 Installing the ScienceTools The release manager automatically compiles each release of the Science Tools, it creates a set of wrapper scripts.
Introduction to The Linaro Toolchain Embedded Processors Training Multicore Software Applications Literature Number: SPRPXXX 1.
1 Introduction to Tool chains. 2 Tool chain for the Sitara Family (but it is true for other ARM based devices as well) A tool chain is a collection of.
1 Programming Concepts Module Code : CMV6107 Class Contact Hours: 45 hours (Lecture 15 hours) (Laboratory/Tutorial 30 hours) Module Value: 1 Textbook:
Guide To UNIX Using Linux Fourth Edition
Input/Output Controller (IOC) Overview Andrew Johnson Computer Scientist, AES Controls Group.
1 THE UNIX FILE SYSTEM By Chokechai Chuensukanant ID COSC 513 Operating System.
HCC Workshop August 29, Introduction to LINUX ●Operating system like Windows or OS X (but different) ●OS used by HCC ●Means of communicating with.
Donald Stark National Center for Atmospheric Research (NCAR) The Developmental Testbed Center (DTC) Wednesday 29 June, 2011 GSI Fundamentals (1): Setup.
Judit Giménez, Juan González, Pedro González, Jesús Labarta, Germán Llort, Eloy Martínez, Xavier Pegenaute, Harald Servat Brief introduction.
Project Source Code Structure and Build Process ● Remember consistency matters as source code structure, build process, and release processes are all intertwined.
CCS APPS CODE COVERAGE. CCS APPS Code Coverage Definition: –The amount of code within a program that is exercised Uses: –Important for discovering code.
TRACEREP: GATEWAY FOR SHARING AND COLLECTING TRACES IN HPC SYSTEMS Iván Pérez Enrique Vallejo José Luis Bosque University of Cantabria TraceRep IWSG'15.
Tutorial on using the DE2i-150 development board
QT - a C++ based GUI QT’s Designer and Assistant.
Java Servlets example using NetBeans 6. Pre-requirements: Install Java JDK 1.6 Install NetBeans IDE 6 (we will use version NetBeans IDE update 16)
Ch 1. A Python Q&A Session Spring Why do people use Python? Software quality Developer productivity Program portability Support libraries Component.
A Public Release of WRF Portal Jeff Smith and Mark Govett June 24, 2008.
11th VI-HPS Tuning Workshop, April 2013, MdS, Saclay1 Hands-on exercise: NPB-MZ-MPI / BT VI-HPS Team.
INFSO-RI Enabling Grids for E-sciencE SCDB C. Loomis / Michel Jouvin (LAL-Orsay) Quattor Tutorial LCG T2 Workshop June 16, 2006.
MIPS Project -- Simics Yang Diyi Outline Introduction to Simics Simics Installation – Linux – Windows Guide to Labs – General idea Score Policy.
Belgrade, 25 September 2014 George S. Markomanolis, Oriol Jorba, Kim Serradell Performance analysis Tools: a case study of NMMB on Marenostrum.
Paris package: practical aspects Installation / presentation To run a simulation Analysis To add a new module to Paris Installation / presentation To run.
WDO-It! 102 Workshop: Using an abstraction of a process to capture provenance UTEP’s Trust Laboratory NDR HP MP.
Oracle Data Integrator Agents. 8-2 Understanding Agents.
Tool Install How to download & install Java 6 & Eclipse updated version based on Dr. G. L. Ray’s slides.
SCI-BUS is supported by the FP7 Capacities Programme under contract no. RI CloudBroker Platform Tutorial Wibke Sudholt CloudBroker GmbH Technoparkstrasse.
Running Kuali: A Technical Perspective Ailish Byrne (Indiana University) Jonathan Keller (University of California, Davis)
SvPablo. Source view Pablo GUI for instrumenting source code and viewing runtime performance data Joint work at Univ. of Illinois and Rice Univ. HPF programs.
Running Genesis Free-Electron Laser Code on iDataPlex Dave Dunning 15 th January 2013.
CPS - Installation. CD Contents CDROM has a folder /usr [\usr for WINDOWS] ls usrdir usr.
Sushi – An exquisite recipe for NGS data analysis Hubert Rehrauer & Masaomi Hatakeyama Supporting User for SHell-script Integration.
CSCS-USI Summer School (Lugano, 8-19 July 2013)1 Hands-on exercise: NPB-MZ-MPI / BT VI-HPS Team.
ANDROID APPLICATION DEVELOPMENT. ANDROID DEVELOPMENT DEVELOPER.ANDROID.COM/INDEX.HTML THE OFFICIAL SITE FOR ANDROID DEVELOPERS. PROVIDES THE ANDROID SDK.
Lab 8 Department of Computer Science and Information Engineering National Taiwan University Lab8 - Root Filesystem 2015/11/10/ 22 1.
Wouter Verkerke, NIKHEF Preparation for La Mainaz or how to run Unix apps and ROOT on your Windows Laptop without installing Linux Wouter Verkerke (NIKHEF)
C Copyright © 2006, Oracle. All rights reserved. Oracle Secure Backup Additional Installation Topics.
 CSC 215 : Procedural Programming with C C Compilers.
Visual Linker ADD presentation. slide 2  Project Overview And Vision  Project System View  The System Life Cycle  Data Model and.
INFSO-RI Module 03 Installing the ETICS Client ETICS Online Tutorials.
Hands on training session for core skills
CSC 215 : Procedural Programming with C
Install external command line softwares
Linux 101 Training Module Linux Basics.
Getting Started with R.
Data Handlers.
CMPE 152: Compiler Design ANTLR 4 and C++
Advanced TAU Commander
Germán Llort, Judit Giménez
College of Engineering
Software Installation
Instructions for Windows users:
Instructions for Windows users:
Instructions for Windows users:
Android Application Development
Software Installation, release 4.0
DIBBs Brown Dog Tutorial Setup
Macs without binding to Active Directory
Presentation transcript:

BSC tools hands-on session

2 Objectives Copy ~nct00001/tools-material into your ${HOME} –cp –r ~nct00001/tools-material ${HOME} Contents of tools-material –bin/ Some BSC tools scripts to make your life easier –apps/ CGPOP mini-application for the hands-on session –slides/ All the slides wrt BSC tools –packages/ Paraver packages & tutorials –doc/ Extrae user guide

3 Paraver Install the Paraver binaries in your laptop –Binaries for linux x86 & x86-64, windows & mac Configure the Paraver package –Set-up the tutorials directory Go into Help > Tutorials, click on Preferences Window –Edit Tutorials root to the directory that contains the tutorial »tools-material/packages/Tutorials

4 Trace generation workflow Instrumentation MPIT Application Process Extrae Application Process Extrae Application Process Extrae lib MPIT Paraver Dimemas Clustering Folding … Analysis.prv.pcf.row

5 Obtaining traces (CGPOP) Build the CGPOP application –cd ~/tools-material/apps/CGPOP –./build Generate trace-file for the CGPOP application –cd ~/tools-material/apps/CGPOP/jobscript –edit job.lsf Uncomment module load bsctools & TRACE definition –Optionally, choose a trace-file name –submit the job bsub < job.lsf

6 Inside job.lsf #!/bin/bash #BSUB -n 48 #BSUB -oo cgpop_%J.out #BSUB -eo cgpop_%J.err #BSUB -R"span[ptile=16]" #BSUB -x # Exclusive use #BSUB -J cgpop #BSUB -W 00:10 #BSUB -U tools module load netcdf/4.1.3 # To trace, uncomment the two following lines and add TRACE # in between mpirun and the binary module load bsctools export TRACE=~/tools-material/apps/trace.mpi.f.sh export TRACE_NAME= time mpirun ${TRACE}../mpi2s1D/cgpop.linux_icc.180x120

7 Inside trace.*.sh #!/bin/bash # Workaround for MN3 export TMPDIR=${TMPDIR}/extrae mkdir –p ${TMPDIR} export EXTRAE_CONFIG_FILE=${HOME}/tools-material/extrae/extrae.xml export LD_PRELOAD=${EXTRAE_HOME}/lib/libmpitrace.so Execute the binary passed as a parameter Inject instrumentation code Configure instrumentation

8 Library alternatives LibrarySerialMPIOpenMPpthread libseqtrace libmpitrace[f] 1 libomptrace libpttrace libompitrace[f] 1 libptmpitrace[f] 1 1 for Fortran codes

Extrae XML configuration PAPI_TOT_INS,PAPI_TOT_CYC,PAPI_L1_DCM,PAPI_L2_DCM,PAPI_L3_TCM,PAPI_FP_INS,PAPI_BR_MSP PAPI_TOT_INS,PAPI_TOT_CYC,PAPI_LD_INS,PAPI_SR_INS,RESOURCE_STALLS,PAPI_BR_UCN,PAPI_BR_CN,PAPI_VEC_ SP PAPI_TOT_INS,PAPI_TOT_CYC,RESOURCE_STALLS:LB,RESOURCE_STALLS:RS,RESOURCE_STALLS:SB,RESOURCE_S TALLS:ROB,PAPI_VEC_DP GUIA DE USUARIO explained.xml

Extrae XML configuration <merge enabled="yes" synchronization="default" tree-fan-out="16" max-memory="512" joint-states="yes" keep-mpits="yes" sort-addresses="yes" overwrite="yes" > $TRACE_NAME$

Extrae XML configuration

Using Paraver Analyse the results with Paraver Tutorials available –Tutorial 1: Introductory tutorial on the usage of the Paraver GUI –Tutorial 2: Analysis of HydroC application –Tutorial 3: Introductory tutorial on the usage of Dimemas –Tutorial 4: General Paraver & Dimemas analysis applied to WRF –Tutorial 5: General Paraver & Dimemas analysis methodology REMEMBER! Configuration files (*.cfg) can be applied to any trace-file.