parallel exam 2

0.0(0)
studied byStudied by 7 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/19

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

20 Terms

1
New cards

head node

1 per cluster, deals with job submission, cluster management

2
New cards

compute node

1+ per cluster, deals with job execution

3
New cards

job

unit of work in hpc cluster (set of tasks)

4
New cards

task

executable program

5
New cards

job life cycle

create, queue, run, fail/cancel/finish

6
New cards

quest cluster

~1000 Nodes (computers)

28-64 Cores (CPU/processors)

Tech specs vary (several generations)

7
New cards

applications of hpc clusters

In theory: can run any app you want, compute nodes can run any OS you want

In reality: apps have the following characteristics

non-interactive, long-running, compute-intensive, data-intensive

8
New cards

SLURM

Simple Linux Utility for Resource Management

9
New cards

SLURM commands

sftp - move files to/from Quest

sbatch - submit

squeue - monitor

10
New cards

node

computer

11
New cards

socket

CPU chip

12
New cards

core

independent execution chip

13
New cards

map-reduce

Approach for analyzing big data

Massively parallel, fault tolerant, easy to program, must be perfectly/embarrassingly parallel

14
New cards

Hadoop

Most popular Map-Reduce framework

Usage: working with unstructured data not stored in a DB, want to extract one feature

Ex) given movie ratings, find avg rating

15
New cards

automatic parallelism

Compilers recognize and automatically parallelize seq. code

NOT entire programs, but JUST kernels/parts of programs

16
New cards

automatic parallelism problem

Cannot automatically parallelize code if there are pointers b/c could point to overlapping pieces of memory

17
New cards

automatic parallelism solution

Use a different language OR use parallelizing C compiler and “restrict” keyword

18
New cards

func prog benefits

No variables → no race conditions

Lack of function side effects → easier to parallelize

19
New cards

CMU Maple

Functional language for parallel programming

Programmer identifies parallelism

Language maps parallelism to threads based on available HW

20
New cards

Maple vs other things

can outperform existing implementations of parallel implementations (Go)

can compete w/low-level optimized C++ code