Installation of OpenMPI



Similar documents
Student installation of TinyOS

Code::Block manual. for CS101x course. Department of Computer Science and Engineering Indian Institute of Technology - Bombay Mumbai

The "Eclipse Classic" version is recommended. Otherwise, a Java or RCP version of Eclipse is recommended.

User Manual - Help Utility Download MMPCT. (Mission Mode Project Commercial Taxes) User Manual Help-Utility

BACKUP YOUR SENSITIVE DATA WITH BACKUP- MANAGER

Eclipse IDE for Embedded AVR Software Development

Viking VPN Guide Linux/UNIX

Notes on the SNOW/Rmpi R packages with OpenMPI and Sun Grid Engine

The Rockefeller University I NFORMATION T ECHNOLOGY E DUCATION & T RAINING. VPN Configuration Guide for PC/Mac/Linux

Building graphic-rich and better performing native applications. Pro. Android C++ with the NDK. Onur Cinar

Compiere ERP & CRM Installation Instructions Linux System - EnterpriseDB

Installation Guidelines for NS2 on Windows

NoMachine Enterprise Products, Cloud Server Installation and Configuration Guide

The Build Process. of (GNU Tools for ARM Embedded Processors)

Massey University Follow Me Printer Setup for Linux systems

Installing (1.8.7) 9/2/ Installing jgrasp

Cassandra Installation over Ubuntu 1. Installing VMware player:

Ulteo Open Virtual Desktop Installation

VERSION 9.02 INSTALLATION GUIDE.

Apache Hadoop 2.0 Installation and Single Node Cluster Configuration on Ubuntu A guide to install and setup Single-Node Apache Hadoop 2.

INTEGRAL OFF-LINE SCIENTIFIC ANALYSIS

Copyright 2014, SafeNet, Inc. All rights reserved.

ULTEO OPEN VIRTUAL DESKTOP UBUNTU (PRECISE PANGOLIN) SUPPORT

TCB No September Technical Bulletin. GS FLX+ System & GS FLX System. Installation of 454 Sequencing System Software v2.

insync Installation Guide

Partek Flow Installation Guide

QNX Software Development Platform 6.6. Installation Guide

AlienVault Unified Security Management (USM) 4.x-5.x. Deploying HIDS Agents to Linux Hosts

Creating a DUO MFA Service in AWS

CS197U: A Hands on Introduction to Unix

Installing Eclipse C++ for Windows

Computer Science and Engineering Linux Cisco VPN Client Installation and Setup Guide

Acronis Backup & Recovery 10 Server for Linux. Update 5. Installation Guide

My name is Robert Comella. I am a SANS Technology Institute (STI) student who is nearly finished with my master of science in engineering degree.

1. Data Domain Pre-requisites. 2. Enabling OST

Installation documentation for Ulteo Open Virtual Desktop

Installation & Upgrade Guide

Free Dynamic DNS account you can use one of your choosing I like DynDNS but there's also No-IP and probably others.

A DirectX 9 capable graphics card is recommended. A DirectX 10 capable graphics card from ATI or nvidia is required for Volume Rendering.

Installing Hadoop. Hortonworks Hadoop. April 29, Mogulla, Deepak Reddy VERSION 1.0

Mac System Setup Guide (Pre-Class)

Netop Remote Control for Linux Installation Guide Version 12.22

NoMachine (free version) Installation Guide

A Tool must be configured to allow for CMISSync, see below for more information.

DraganFly Guardian: API Instillation Instructions

How to Install Applications (APK Files) on Your Android Phone

Things to consider before you do an In-place upgrade to Windows 10. Setup Info. In-place upgrade to Windows 10 Enterprise with SCCM

Monitor and Secure Linux System with Open Source Tripwire

1 The Installation of GPGPUsim

Microsoft Outlook 2007 to Mozilla Thunderbird and Novell Evolution Conversion Guide

ALERT installation setup

Configuring your network settings to use Google Public DNS

UPSMON PRO Linux --- User Manual

How To Run A Password Manager On A 32 Bit Computer (For 64 Bit) On A 64 Bit Computer With A Password Logger (For 32 Bit) (For Linux) ( For 64 Bit (Foramd64) (Amd64 (For Pc

Steps for running C-program

Table of Contents. Overview Features Applications Hardware requirement Card dimensions Software Installation...

Android 4.4 App Development Essentials

How to Install and Run Tibia on Linux Using Wine without Windows Contents

Expresso Quick Install

Installation Guide for AmiRNA and WMD3 Release 3.1

The objective of this lab is to learn how to set up an environment for running distributed Hadoop applications.

Installing Hadoop. You need a *nix system (Linux, Mac OS X, ) with a working installation of Java 1.7, either OpenJDK or the Oracle JDK. See, e.g.

Grid 101. Grid 101. Josh Hegie.

How To Install Acronis Backup & Recovery 11.5 On A Linux Computer

Code::Blocks Student Manual

Firebird on Linux. Author: Philippe Makowski IBPhoenix Licence: Public Documentation License Date:

Installing Ubuntu inside Windows using VirtualBox

Integrating Apache Web Server with Tomcat Application Server

FTP Peach Pit Data Sheet

Installing F-Secure Anti-Virus (FSAV) Table of Contents. FSAV 8.x and FSLS 7.x End of Life. FSAV 9.x and FSLS 9.x End of Life

Sentinel Cloud V.3.5 Installation Guide

Using TU Eindhoven's VPN with Ubuntu 14.04

Installing IBM Websphere Application Server 7 and 8 on OS4 Enterprise Linux

EMC Avamar. Backup Clients User Guide. Version REV 02

What is a Package Management System?

LICENSE4J FLOATING LICENSE SERVER USER GUIDE

Installation Guide. Copyright (c) 2015 The OpenNMS Group, Inc. OpenNMS SNAPSHOT Last updated :19:20 EDT

Step By Step Guide for Starting "Hello, World!" on OpenWRT

Raspberry Pi Kernel-o-Matic

SSH Tutorial. A. Andreatos Div. of Computer Engineering & Information Science Hellenic Air Force Academy GREECE gmail.

Cloud Homework instructions for AWS default instance (Red Hat based)

Intel Do-It-Yourself Challenge Lab 2: Intel Galileo s Linux side Nicolas Vailliet

How to Restore a Linux Server Using Bare Metal Restore

Installation Guide for WebSphere Application Server (WAS) and its Fix Packs on AIX V5.3L

Backing Up Your System With rsnapshot

Installing HSPICE on UNIX, Linux or Windows Platforms

Setting up a Raspberry Pi as a WiFi access point

The Linux System. o Updating without touching the user's files and configurations.

INUVIKA OVD INSTALLING INUVIKA OVD ON UBUNTU (TRUSTY TAHR)

OFFLINE ACTIVATION. 1. Download the offline utilities. 2. On the computer on which you are installing your FEI software

OpenGeo Suite for Linux Release 3.0

WA1826 Designing Cloud Computing Solutions. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc. 1

Net/FSE Installation Guide v1.0.1, 1/21/2008

OMNEST Installation Guide. Version 4.5

SNMP Peach Pit Data Sheet

Installation of PHP, MariaDB, and Apache

Transcription:

Installation of OpenMPI Parallel and Distributed Programming Granada's University LSI Departement By: Daniel Guerrero Martínez Sergio Rodríguez Lumley 1

Index of content Installation of OpenMPI...3 Quick install for Ubuntu (Debian, Linux/Unix)...3 Manual install for any linux distribution...4 Some common errors...5 2

Installation of OpenMPI Open MPI is an open source MPI-2 implementation that is developed and maintained by a consortium of academic, research, and industry partners. Open MPI is therefore able to combine the expertise, technologies, and resources from all across the High Performance Computing community in order to build the best MPI library available. You can download the last version from it's official page: Prerequisites: http://www.open-mpi.org/ It is necessary to have installed a C/C++ compiler before installing OpenMPI. Installing this on Ubuntu by package manager will automatically resolve this problem. It is necessary to have the make utility for manual installation. Quick install for Ubuntu (Debian, Linux/Unix) Here we will explain how to install it only for Ubuntu and similar OS. If you don't use it or you are not sure, please consider the next step, the manual installation. Necessary packages are: openmpi-bin: Parallel code executor program (mpirun). Installs: openmpi-common libopenmpi1.3 openssh-client, openssh-server: Communicating programs (control and presentation routines) between processes. libopenmpi-dbg: Debug information generator for MPI. libopenmpi-dev: Necessary to develop parallel programs based on MPI (mpicc command...). Quick command: sudo apt-get install openmpi-bin openmpi-common openssh-client openssh-server libopenmpi1.3 libopenmpi-dbg libopenmpi-dev Please note that if you are using Ubuntu, it will automatically install a C/C++ compiler, and it will check for compatibilities and installed components. 3

Manual install for any linux distribution Start downloading the last version of OpenMPI from it's official page: http://www.open-mpi.org/software/ompi Here you'll be able to downlad a version on tar.gz, tar.bz2 or on rpm. If your system supports rpm this is the package you should download, if this is the case, you'll only have to install it without any of the following steps (usually double-clicking). If your system does not support rmp, follow the next steps: 1. Decompress the downloaded file (should be called something like openmpi-x.x.x.tar.xxx, changing x.x.x for the version downloaded): tar -xvf openmpi-* 2. Go into the new folder created from the decompress. cd openmpi-* 3. Configure the installation file (making use of the superuser privileges of your system) and start preparing a cup of coffee, because this task usually takes between 5 and 10 minutes. It is necessary to add on the prefix the installation directory we want to use for OpenMPI. The normal thing to do would be to select the next directory /home/<user>/.openmpi../configure --prefix="/home/$user/.openmpi" 4. Now is the time for the hard work, install it. For it, we'll make use of the make tool. This is a good moment for the coffee, this should take between 10 and 15 minutes, so let it work. make sudo make install 5. All that is left to do is to include the path to our path environment the path installation_directory/bin and to the library environment variable installation_directory/lib/. If your system uses bash you'll have to use the command export. export PATH="$PATH:/home/$USER/.openmpi/bin" export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/home/$USER/.openmpi/lib/" 1. If you want the exportation to be effective for the next sessions and terminals, you'll have to write the exports in the environment variable's file. By default it should be /home/<user>/.bashrc for bash users. echo export PATH="$PATH:/home/$USER/.openmpi/bin" >> /home/$user/.bashrc echo export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/home/$USER/.openmpi/lib/" >> /home/$user/.bashrc 4

If everything went Ok, when you run the command mpirun it'll show the how to use message, the same for mpicc. Some common errors I'm on an Ubuntu modern system or compatible and when I run the quick command to install it says it doesn't find openmpi-lib If you are sure your OS should have this package, the error is surely because you don't have your repositories updated. A way of doing this is, if you are using apt (Advanced Packaging Tool), running the next command: sudo apt-get update On step 3, configure gave me an error. If the error it gave is something like the next: Figura 1. Error de compilador. This is because you don't have installed any compiler. It's necessary to install all the compilers we want to use before installing OpenMPI. To use it with C and C++, we strongly recommend GNU gcc/g++ compiler version 4.4 or superior. When I run the command MPIRUN or MPICC an error tells me that no file was found Please make sure the environmental variables configuration (Step 5 on manual installation). In case you made tha automatic installation, we recommend to restart the computer, if this doesn't work, you can always do step 5 manually. By default the paths are /usr/include/openmpi/ for PATH and /usr/lib/openmpi/lib for LD_LIBRARY_PATH). 5