Introduction to Makeflow and Work Queue

Slides:



Advertisements
Similar presentations
Lobster: Personalized Opportunistic Computing for CMS at Large Scale Douglas Thain (on behalf of the Lobster team) University of Notre Dame CVMFS Workshop,
Advertisements

Experience with Adopting Clouds at Notre Dame Douglas Thain University of Notre Dame IEEE CloudCom, November 2010.
Setting up of condor scheduler on computing cluster Raman Sehgal NPD-BARC.
Introduction to Scalable Programming using Makeflow and Work Queue Dinesh Rajan and Mike Albrecht University of Notre Dame October 24 and November 7, 2012.
A Computation Management Agent for Multi-Institutional Grids
1 Software & Grid Middleware for Tier 2 Centers Rob Gardner Indiana University DOE/NSF Review of U.S. ATLAS and CMS Computing Projects Brookhaven National.
1 Condor Compatible Tools for Data Intensive Computing Douglas Thain University of Notre Dame Condor Week 2011.
Introduction to Makeflow Li Yu University of Notre Dame 1.
Undergraduate Poster Presentation Match 31, 2015 Department of CSE, BUET, Dhaka, Bangladesh Wireless Sensor Network Integretion With Cloud Computing H.M.A.
Building Scalable Elastic Applications using Makeflow Dinesh Rajan and Douglas Thain University of Notre Dame Tutorial at CCGrid, May Delft, Netherlands.
Building Scalable Scientific Applications using Makeflow Dinesh Rajan and Peter Sempolinski University of Notre Dame.
HPCC Mid-Morning Break Interactive High Performance Computing Dirk Colbry, Ph.D. Research Specialist Institute for Cyber Enabled Discovery.
Building Scalable Applications on the Cloud with Makeflow and Work Queue Douglas Thain and Patrick Donnelly University of Notre Dame Science Cloud Summer.
Introduction to Makeflow and Work Queue CSE – Cloud Computing – Fall 2014 Prof. Douglas Thain.
CONDOR DAGMan and Pegasus Selim Kalayci Florida International University 07/28/2009 Note: Slides are compiled from various TeraGrid Documentations.
Design of an Active Storage Cluster File System for DAG Workflows Patrick Donnelly and Douglas Thain University of Notre Dame 2013 November 18 th DISCS-2013.
High Throughput Computing with Condor at Purdue XSEDE ECSS Monthly Symposium Condor.
HTCondor workflows at Utility Supercomputing Scale: How? Ian D. Alderman Cycle Computing.
Elastic Applications in the Cloud Dinesh Rajan University of Notre Dame CCL Workshop, June 2012.
Introduction to Hadoop and HDFS
Introduction to Work Queue Applications CSE – Cloud Computing – Fall 2014 Prof. Douglas Thain.
Large Scale Sky Computing Applications with Nimbus Pierre Riteau Université de Rennes 1, IRISA INRIA Rennes – Bretagne Atlantique Rennes, France
Building Scalable Scientific Applications with Makeflow Douglas Thain and Dinesh Rajan University of Notre Dame Applied Cyber Infrastructure Concepts University.
Building Scalable Scientific Applications using Makeflow Dinesh Rajan and Douglas Thain University of Notre Dame.
CSF4 Meta-Scheduler Name: Zhaohui Ding, Xiaohui Wei
The Cooperative Computing Lab  We collaborate with people who have large scale computing problems in science, engineering, and other fields.  We operate.
Introduction to Scalable Programming using Work Queue Dinesh Rajan and Ben Tovar University of Notre Dame October 10, 2013.
Introduction to Work Queue Applications Applied Cyberinfrastructure Concepts Course University of Arizona 2 October 2014 Douglas Thain and Nicholas Hazekamp.
Tool Integration with Data and Computation Grid GWE - “Grid Wizard Enterprise”
Grid Computing at Yahoo! Sameer Paranjpye Mahadev Konar Yahoo!
 Apache Airavata Architecture Overview Shameera Rathnayaka Graduate Assistant Science Gateways Group Indiana University 07/27/2015.
Building Scalable Scientific Applications with Work Queue Douglas Thain and Dinesh Rajan University of Notre Dame Applied Cyber Infrastructure Concepts.
Review of Condor,SGE,LSF,PBS
Introduction to Makeflow and Work Queue Prof. Douglas Thain, University of Notre Dame
Introduction to Scalable Programming using Work Queue Dinesh Rajan and Mike Albrecht University of Notre Dame October 24 and November 7, 2012.
Grid Appliance The World of Virtual Resource Sharing Group # 14 Dhairya Gala Priyank Shah.
Tool Integration with Data and Computation Grid “Grid Wizard 2”
Grid Compute Resources and Job Management. 2 Grid middleware - “glues” all pieces together Offers services that couple users with remote resources through.
Experiments in Utility Computing: Hadoop and Condor Sameer Paranjpye Y! Web Search.
{ Tanya Chaturvedi MBA(ISM) Hadoop is a software framework for distributed processing of large datasets across large clusters of computers.
Building Scalable Elastic Applications using Work Queue Dinesh Rajan and Douglas Thain University of Notre Dame Tutorial at CCGrid, May Delft,
Demonstration of Scalable Scientific Applications Peter Sempolinski and Dinesh Rajan University of Notre Dame.
Building Scalable Scientific Applications with Work Queue Douglas Thain and Dinesh Rajan University of Notre Dame Applied Cyber Infrastructure Concepts.
Group # 14 Dhairya Gala Priyank Shah. Introduction to Grid Appliance The Grid appliance is a plug-and-play virtual machine appliance intended for Grid.
HTCondor’s Grid Universe Jaime Frey Center for High Throughput Computing Department of Computer Sciences University of Wisconsin-Madison.
Geant4 GRID production Sangwan Kim, Vu Trong Hieu, AD At KISTI.
Introduction to Makeflow and Work Queue Nicholas Hazekamp and Ben Tovar University of Notre Dame XSEDE 15.
Lecture 3 – MapReduce: Implementation CSE 490h – Introduction to Distributed Computing, Spring 2009 Except as otherwise noted, the content of this presentation.
Introduction to Makeflow and Work Queue
Introduction to Distributed Platforms
GWE Core Grid Wizard Enterprise (
Bridges and Clouds Sergiu Sanielevici, PSC Director of User Support for Scientific Applications October 12, 2017 © 2017 Pittsburgh Supercomputing Center.
Scaling Up Scientific Workflows with Makeflow
Architecture & System Overview
Study course: “Computing clusters, grids and clouds” Andrey Y. Shevel
Introduction to Makeflow and Work Queue
Building Grids with Condor
Condor: Job Management
湖南大学-信息科学与工程学院-计算机与科学系
Haiyan Meng and Douglas Thain
Introduction to Makeflow and Work Queue
Introduction to Makeflow and Work Queue
Ch 4. The Evolution of Analytic Scalability
Introduction to Makeflow and Work Queue with Containers
What’s New in Work Queue
Creating Custom Work Queue Applications
Mats Rynge USC Information Sciences Institute
MapReduce: Simplified Data Processing on Large Clusters
Job Submission Via File Transfer
PU. Setting up parallel universe in your pool and when (not
Presentation transcript:

Introduction to Makeflow and Work Queue Nick Hazekamp and Nate Kremer-Herman XSEDE 16

The Cooperative Computing Lab We collaborate with people who have large scale computing problems in science, engineering, and other fields. We operate computer systems on the O(10,000) cores: clusters, clouds, grids. We conduct computer science research in the context of real people and problems. We develop open source software for large scale distributed computing.

Our Philosophy: Harness all the resources that are available: desktops, clusters, clouds, and grids. Make it easy to scale up from one desktop to national scale infrastructure. Provide familiar interfaces that make it easy to connect existing apps together. Allow portability across operating systems, storage systems, middleware… Make simple things easy, and complex things possible. No special privileges required.

A Quick Tour of the CCTools Open source, GNU General Public License. Compiles in 1-2 minutes, installs in $HOME. Runs on Linux, Solaris, MacOS, Cygwin, FreeBSD, … Interoperates with many distributed computing systems. Condor, SGE, SLURM, TORQUE, Globus, iRODS, Hadoop… Components: Makeflow – A portable workflow manager. Work Queue – A lightweight distributed execution system. All-Pairs / Wavefront / SAND – Specialized execution engines. Parrot – A personal user-level virtual file system. Chirp – A user-level distributed filesystem.

Lots of Documentation

Makeflow: A Portable Workflow System

An Old Idea: Makefiles part1 part2 part3: input.data split.py ./split.py input.data out1: part1 mysim.exe ./mysim.exe part1 >out1 out2: part2 mysim.exe ./mysim.exe part2 >out2 out3: part3 mysim.exe ./mysim.exe part3 >out3 result: out1 out2 out3 join.py ./join.py out1 out2 out3 > result

Makeflow = Make + Workflow Provides portability across batch systems. Enable parallelism (but not too much!) Trickle out work to batch system. Fault tolerance at multiple scales. Data and resource management. Makeflow Local SLURM TORQUE Work Queue

sim.exe in.dat –p 50 > out.txt Makeflow Syntax [output files] : [input files] [command to run] One rule sim.exe in.dat calib.dat out.txt sim.exe in.dat –p 50 > out.txt out.txt : in.dat calib.dat sim.exe sim.exe –p 50 in.data > out.txt out.txt : in.dat sim.exe –p 50 in.data > out.txt Not quite right!

You must state all the files needed by the command.

example.makeflow out.10 : in.dat calib.dat sim.exe sim.exe –p 10 in.data > out.10 out.20 : in.dat calib.dat sim.exe sim.exe –p 20 in.data > out.20 out.30 : in.dat calib.dat sim.exe sim.exe –p 30 in.data > out.30

Makeflow + Work Queue

Local Files and Programs Makeflow + Batch System XSEDE Torque Cluster Private Cluster Makefile makeflow –T torque ??? Makeflow ??? Campus Condor Pool Public Cloud Provider makeflow –T condor Local Files and Programs

Makeflow + Work Queue torque_submit_workers W XSEDE Torque Cluster Private Cluster Makefile W Thousands of Workers in a Personal Cloud submit tasks Makeflow ssh W Campus Condor Pool Public Cloud Provider condor_submit_workers W Local Files and Programs

Advantages of Work Queue Harness multiple resources simultaneously. Hold on to cluster nodes to execute multiple tasks rapidly. (ms/task instead of min/task) Scale resources up and down as needed. Better management of data, with local caching for data intensive tasks. Matching of tasks to nodes with data.

Project Names makeflow … –N myproject work_queue_worker –N myproject (port 9050) makeflow … –N myproject Worker work_queue_worker –N myproject connect to workflow.iu:9050 advertise query Catalog query work_queue_status “myproject” is at workflow.iu:9050

work_queue_status

Work Queue Visualization Dashboard ccl.cse.nd.edu/software/workqueue/status

Resilience and Fault Tolerance MF +WQ is fault tolerant in many different ways: If Makeflow crashes (or is killed) at any point, it will recover by reading the transaction log and continue where it left off. Makeflow keeps statistics on both network and task performance, so that excessively bad workers are avoided. If a worker crashes, the master will detect the failure and restart the task elsewhere. Workers can be added and removed at any time during the execution of the workflow. Multiple masters with the same project name can be added and removed while the workers remain. If the worker sits idle for too long (default 15m) it will exit, so it does not hold resources while idle.

Visit our website: ccl.cse.nd.edu Follow us on Twitter: @profthain Check out our blog: cclnd.blogspot.com