Getting Started with Serial and Parallel MATLAB on bwgrid

Similar documents
SUBMITTING JOBS TO ARTEMIS FROM MATLAB

MATLAB Distributed Computing Server (MDCS) Training

Parallel and Distributed Computing with MATLAB Gerardo Hernández Manager, Application Engineer

Table of Contents. Table of Contents Job Manager for remote execution of QuantumATK scripts. A single remote machine

Parallel and Distributed Computing with MATLAB The MathWorks, Inc. 1

Getting Started with ORE - 1

ORAC Match. User Manual for Support Workers. V1.0 Updated 13/11/2017

ORAC Match. User Manual for Support Workers. V1.0 Updated 13/11/2017

These new features are found on the input page of every report in the DDS tool, next to the Run Report button.

Backup and Restore. About Backup and Restore

Recommended Maintenance Plan for Siriusware Clients for SQL server 2005

NBIC TechTrack PBS Tutorial

Using CLC Genomics Workbench on Turing

Thank you for choosing ASAP s Remote QuickBooks hosting! The following will guide you through the set up of your new or updated user profile.

Accuterm 7 Usage Guide

ShipStation Connect. Which scenario works for you?

JAMS 7.X Getting Started Guide

Remote Access to Unix Machines

Perceptive Content. Release Notes. Version: 7.2.x

WebPrint Quick Start User Guide

CLC Genomics Workbench. Setup and User Guide

MATLAB Distributed Computing Server Release Notes

Parallel MATLAB at VT

Frequently asked questions on how to join the webinar

Quick Start Guide for Intel FPGA Development Tools on the Nimbix Cloud

Real-Time Monitoring Configuration

Tutorial: Uploading your server build

Table of contents. Pure ASP Upload 3 Manual DMXzone

TOTAL CONTROL SECURITY END USER GUIDE

Supercomputing environment TMA4280 Introduction to Supercomputing

True Potential Client Site

Using the Portal. The Overview tab displays your Quick Links, announcements from your agency, recent documents, and a list of your agency contacts.

University of Wisconsin System SFS Business Process RPT 1.01 Reporting Console. Contents

Double-Take AVAILABILITY. Version 7.0 Double-Take Availability for vsphere User's Guide

Activate Online Services in the Volume Licensing Service Center

During this screencast, we ll show you how Brown University students can use registration overrides to register for courses.

Double-Take AVAILABILITY. Version 7.0 Double-Take Availability for vsphere User's Guide

Installing LittleJohn

Using the Certificate Authority Proxy Function

New Dropbox Users (don t have a Dropbox account set up with your Exeter account)

Certificate authority proxy function

Quick Start Guide. Table of Contents

Instruction Guide! VERITEXT VAULT - ONLINE DEPOSITORY

User Guide of High Performance Computing Cluster in School of Physics

How to Register your Institution with proposalcentral

SIS offline. Getting Started

MathWorks MATLAB download & installation instructions

Getting Started with Your Instructor Access License

INSTALLATION & CONFIGURATION SSO

Go! Guide: Completing and Submitting Work

Alteryx Technical Overview

Lab - Share Resources in Windows

Air Elite Management Guide. World Fuel Services elearning Tool

Nexonia Expense Reporting: Mobile. A Quickstart Guide to using Nexonia on the Mobile App

User Guide HelpSystems Insite 1.6

USER MANUAL. Copyright 2016 Quixel. All Rights Reserved.

Contents Using the Primavera Cloud Service Administrator's Guide... 9 Web Browser Setup Tasks... 10

How to use CPCS-ON System: PREPARING A BATCH FOR NOTIFICATION

Farin Foresight/Insight RemoteApp Access Document last updated: 2/7/2017

Roku Billing and In-Channel Purchasing

SubFinder for Employees. Internet Users Guide for SubFinder 5.9

WMI log collection using a non-admin domain user

Connecting to the Virtual Desktop Infrastructure (VDI)

Learning vrealize Orchestrator in action V M U G L A B

HPC Course Session 3 Running Applications

Step 1: Adding Darwin to your computer

NUSGRID a computational grid at NUS

Directions for Setting up Remote Desktop Connection for PC:

Activate Online Services in the Volume Licensing Service Center

SCRIPT REFERENCE. UBot Studio Version 4. The Browser Commands

efolder BDR for Veeam VMware Continuity Cloud Guide

A Brief Introduction to The Center for Advanced Computing

PeopleAdmin 7 User s Guide. Applicant Tracking System - Faculty Positions -

Full Text Search Agent Throughput

Please review the Infoblox CCS Scripting Guide for more information on the above optional statements

PASSPORTAL PLUGIN DOCUMENTATION

Lab 12-1 Lab Kofax Capture Import Connector -- XML

Auto Start Analyzer after AppPool Recycle by IIS

Configuring the Oracle Network Environment. Copyright 2009, Oracle. All rights reserved.

A Brief Introduction to The Center for Advanced Computing

Installing the Product Software

Modeling and Simulation with SST and OCCAM

JAMS 7.X Getting Started Guide

Speeding up MATLAB Applications Sean de Wolski Application Engineer

High Performance Computing (HPC) Club Training Session. Xinsheng (Shawn) Qin

USER GUIDE for Salesforce

Lab Compiling using an IDE (Eclipse)

NoMachine NX Client Configuration Guide

Network Administration/System Administration (NTU CSIE, Spring 2018) Homework #1. Homework #1

CSU Talent Management User Guide Search Committee Member How to Log In and View Applications

Your library. PubSub: a guide for online submission to IRep.

UGP and the UC Grid Portals

Intellicus Cluster and Load Balancing- Linux. Version: 18.1

GRID COMPANION GUIDE

Intel Manycore Testing Lab (MTL) - Linux Getting Started Guide

A Brief Introduction to The Center for Advanced Computing

Using VMware vrealize Orchestrator Plug-Ins. vrealize Orchestrator 6.0

NBIC TechTrack PBS Tutorial. by Marcel Kempenaar, NBIC Bioinformatics Research Support group, University Medical Center Groningen


MathWorks MATLAB download & installation instructions

Transcription:

Getting Started with Serial and Parallel MATLAB on bwgrid CONFIGURATION Download either bwgrid.remote.r2014b.zip (Windows) or bwgrid.remote.r2014b.tar (Linux/Mac) For Windows users, unzip the download and place the contents into %matlab%\toolbox\local. If you don t have permissions, then place the contents in the folder returned by userpath (for example My Documents\MATLAB or Documents\MATLAB). For Linux users, untar the download and place the contents into $matlab/toolbox/local Start MATLAB. Configure MATLAB to run parallel jobs on the bwgrid clusters by calling configcluster. For each cluster (e.g. kit, tuebingen), configcluster only needs to be called once per version of MATLAB (e.g. R2014b, R2015a)

CREDENTIALS The first time a user submits a job to the cluster, the user will be prompted for their username The user will then be prompted whether to supply a password or a private key If the user chooses a private key, the user will be prompted for the location of the file. Both the username and private key are stored with MATLAB so that they are not prompted for it at a later time. If using a private key, the user may also be prompted if the key requires a passphrase.

SERIAL JOBS Use the batch command to submit asynchronous jobs to the cluster. The batch command will return a job object which is used to access the output of the submitted job. See the example below and see the MATLAB documentation for more help on batch. Note: In the example below, wait is used to ensure that the job has completed before requesting results. In regular use, one would not use wait, since a job might take an elongated period of time, and the MATLAB session can be used for other work while the submitted job executes.

To retrieve a list of currently running or completed jobs, call parcluster to retrieve the cluster object. The cluster object stores an array of jobs that were run, are running, or are queued to run. This allows us to fetch the results of completed jobs. Retrieve and view the list of jobs as shown below.

Once we ve identified the job we want, we can retrieve the results as we ve done previously. If the job produces an error, we can call the getdebuglog method to view the error log file. The error log can be lengthy and is not shown here. The example below will retrieve the results of job #3. NOTE: fetchoutputs is used to retrieve function output arguments. Data that has been written to files on the cluster needs be retrieved directly from the file system.

PARALLEL JOBS Users can also submit parallel workflows with batch. Let s use the following example for a parallel job. We ll use the batch command again, but since we re running a parallel job, we ll also specify a MATLAB Pool.

The job ran in 5.43 seconds using eight workers. Note that these jobs will always request N+1 CPU cores, since one worker is required to manage the batch job and pool of workers. For example, a job that needs eight workers will consume nine CPU cores.

We ll run the same simulation, but increase the Pool size. Note, for some applications, there will be a diminishing return when allocating too many workers. This time, to retrieve the results at a later time, we ll keep track of the job ID. We can also query for when the cluster may run the job by calling showstart. Once we have a handle to the cluster, we ll call the findjob method to search for the job with the specified job ID.

The job now runs in 3.1 seconds using 16 workers. Run code with different numbers of workers to determine the ideal number to use. Alternatively, to retrieve job results via a graphical user interface, use the Job Monitor (Parallel > Monitor Jobs).

CONFIGURING JOBS on KIT Prior to submitting the job, we can specify: Email Notification (when the job is running, exiting, or aborting) Memory Usage per Core, Procs Per Node Queue Name Reservation, and Wall time Specification is done with ClusterInfo. The ClusterInfo class supports tab completion to ease recollection of method names.

CONFIGURING JOBS on TUEBINGEN Prior to submitting the job, we can specify: Email Notification (when the job is running, exiting, or aborting) Memory Usage per Core, Procs Per Node Queue Name, and Wall time Specification is done with ClusterInfo. The ClusterInfo class supports tab completion to ease recollection of method names.

Any parameters set with ClusterInfo will be persistent both between jobs and MATLAB sessions. To see the values of the current configuration options, call the state method. To clear a value, assign the property the appropriate empty value (, [], or false). TO LEARN MORE To learn more about the MATLAB Parallel Computing Toolbox, check out these resources: Parallel Computing Coding Examples Parallel Computing Documentation Parallel Computing Overview Parallel Computing Tutorials Parallel Computing Videos Parallel Computing Webinars