/************************************************************************************* * Getting Started with Multi2Sim Simulator @ LaCASA Laboratory (lacasa.uah.edu) * This tutorial should help you get started with Multi2Sim on computers in LaCASA lab. * It is tested on eb136i-nsf02 machine that runs 64-bit Fedora OS. * Authors: Aleksandar Milenkovic, Amrish K. Tewar * * Email: milenkovic@computer.org; akt0001@uah.edu * * Date: September 2014 *************************************************************************************/ Multi2Sim is a simulation framework for CPU-GPU heterogeneous computing platforms. Multi2Sim includes models for superscalar, multithreaded, and multicore processors, as well as GPU architectures. It supports the following ISAs: X86, ARM, MIPS, NVIDIA Fermi, AMD Southern Islands. Multi2Sim is developed at Northeastern University, Boston, MA. The ultimate source of information (manuals, downloads, benchmarks) is the Multi2Sim web site at https://www.multi2sim.org/. 1. Location *********** On the nsf02 machine the multi2sim and corresponding benchmarks are available in the /opt/m2s directory (see below). <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< [milenka@eb136i-nsf02 m2s]$ pwd /opt/m2s [milenka@eb136i-nsf02 m2s]$ ls m2s-benchmarks-parsec-2.1 m2s-bench-spec2006 m2s-bench-splash2 mediabench-1 multi2sim-4.2 [milenka@eb136i-nsf02 m2s]$ cd multi2sim-4.2/ [milenka@eb136i-nsf02 multi2sim-4.2]$ ls aclocal.m4 ChangeLog config.status configure.ac images lib m2c Makefile.in README src AUTHORS config.guess config.sub COPYING INSTALL libtool Makefile missing runtime TODO bin config.log configure depcomp install-sh ltmain.sh Makefile.am NEWS samples ylwrap [milenka@eb136i-nsf02 multi2sim-4.2]$ [milenka@eb136i-nsf02 bin]$ pwd /opt/m2s/multi2sim-4.2/bin [milenka@eb136i-nsf02 bin]$ ls m2c m2s >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Make sure the directory /opt/m2s/multi2sim-4.2/bin is in your path. 2. Explore Multi2Sim options ***************************** Explore m2s options by typing m2s --help. <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< [milenka@eb136i-nsf02 bin]$ m2s --help ; Multi2Sim 4.2 - A Simulation Framework for CPU-GPU Heterogeneous Computing ; Please use command 'm2s --help' for a list of command-line options. ; Simulation alpha-numeric ID: EC60y Syntax: m2s [] [ []] The user command-line supports a sequence of command-line options, and can include an x86 ELF binary (executable x86 program) followed by its arguments. The execution of this program will be simulated by Multi2Sim, together with the rest of the x86 programs specified in the context configuration file (option '--ctx-config '). The rest of the possible command-line options are classified in categories and listed next: ================================================================================ General Options ================================================================================ --ctx-config Use as the context configuration file. This file describes the initial set of running applications, their arguments, and environment variables. Type 'm2s --ctx-config-help' for a description of the file format. --ctx-config-help Show a help message describing the format of the context configuration file, passed to the simulator through option '--ctx-config '. --elf-debug Dump debug information related with the analysis of ELF files. Every time an executable file is open (CPU program of GPU kernel binary), detailed information about its symbols, sections, strings, etc. is dumped here. --max-time