• No results found

High Performance Computing

N/A
N/A
Protected

Academic year: 2021

Share "High Performance Computing"

Copied!
34
0
0
Show more ( Page)

Full text

(1)

High Performance Computing

at Stellenbosch University

(2)

Outline

1 Background

2 Clusters

3 SU History

4 SU Cluster

5 Using the Cluster

(3)

What is High Performance Computing?

Wikipedia

High-performance computing (HPC) uses supercomputers and computer clusters to solve advanced computing problems. The term is most commonly associated with computing used for scientific research.

Supercomputers

Bleeding edge technology

Typically one-of-a-kind, custom design EXPENSIVE

Computer cluster

Group of closely linked computers working together in parallel

Number of ordinary (off the shelf) processors (CPU’s) Relatively inexpensive

(4)

What is High Performance Computing?

Wikipedia

High-performance computing (HPC) uses supercomputers and computer clusters to solve advanced computing problems. The term is most commonly associated with computing used for scientific research.

Supercomputers

Bleeding edge technology

Typically one-of-a-kind, custom design

EXPENSIVE

Computer cluster

Group of closely linked computers working together in parallel

Number of ordinary (off the shelf) processors (CPU’s) Relatively inexpensive

(5)

What is High Performance Computing?

Wikipedia

High-performance computing (HPC) uses supercomputers and computer clusters to solve advanced computing problems. The term is most commonly associated with computing used for scientific research.

Supercomputers

Bleeding edge technology

Typically one-of-a-kind, custom design

EXPENSIVE

Computer cluster

Group of closely linked computers working together in parallel

Number of ordinary (off the shelf) processors (CPU’s) Relatively inexpensive

(6)

What is a Computer Cluster?

Wikipedia

A computer cluster is a group of linked computers, working together closely so that in many respects they form a single computer. The components of a cluster are commonly, but not always, connected to each other through fast local area networks. Clusters are usually deployed to improve

performance and/or availability over that provided by a single computer, while typically being much more cost-effective than single computers of comparable speed or availability.

(7)
(8)
(9)
(10)
(11)
(12)

History at Stellenbosch University

M&M had some money and the need for a fast computer Number of small “white box” clusters exist at SU

Computer Science Physics

Biochemistry

Chemistry and Polymer Science

M&M decided campain for a central facility that is accessable to all researchers

(13)

History at Stellenbosch University ...

Initial thought was roughly 70 “white box” PC’s in a room System housed at M&M

With the help of IT we decided to go with:

Rack mounted system

System housed in IT’s data centre IT provides system admin

IT manages (and upgrades) facility free of charge for all researchers

(14)

Stellenbosch University Linux Cluster

Worked with IT to start an official tender process Quickly realised that it is extremely difficult to provide specifications for the system

General lack of knowledge Fast changing environment

No single solution that will satisfy everybody in a general environment

The tender process when through two cycles and the final bid went to Sun Microsystems

(15)

Stellenbosch University Linux Cluster ...

rhasatsha(the rha is pronounced as gaan in Afrikaans)

a clever person/object; highly intelligent; something that acts promptly; a wide awake person/object who/that is always on the spot; a versatile person/object that can tackle anything

successfully.

Currently the system is still referred to as head001.sun.ac.za

(16)

Stellenbosch University Linux Cluster ...

rhasatsha(the rha is pronounced as gaan in Afrikaans)

a clever person/object; highly intelligent; something that acts promptly; a wide awake person/object who/that is always on the spot; a versatile person/object that can tackle anything

successfully.

Currently the system is still referred to as head001.sun.ac.za

(17)
(18)
(19)

How do I use the Cluster?

Work through the network

Need to make a ssh connection to the head node Copy data using scp

Can connect from either Linux or Windows

Most Linux have both ssh and scp clients installed by default

(20)

A Typical Session

Connect to the head node

Access your own account/home directory No direct access to the compute nodes

Setup your job

Copy/create your input data and source code Port your source code or use a commercial code Specify a submit script for the scheduler

Submit your job

Remember that you are working on a Linux system

Windows programs do not run on Linux Linux file system is case sensitive

(21)

Some Useful Commands

A Linux few commands for Windows users

The following commands can be executed in the ssh client Most other actions can be performed using the scp client

Linux

ls -lrt List files pwd

Present work directory cd <dir name> Change directory

SGE

qsub <script name> Submit your job

qstat -f

Check status of your job qdel <job number> Delete a running job

(22)

Why do I Submit a Job?

To run a job on the compute nodes - submit the job to SGE The job and the required resources are specified in a script The scheduler decides when and where to run the job The scheduler can handle different types of jobs The most common jobs can be classified as:

Serial jobs Parallel array jobs OpenMP parallel jobs MPI (OpenMPI) parallel jobs

(23)

Serial Jobs

Run a serial (single core) instance of a job No parallel computing is involved

Serial Script # ! / b i n / bash #$ −cwd − j y

(24)

Array Jobs

Simply run multiple instances of the same executable Each instance will typically process different input files No communication between instances

Useful when doing a parametric or a DOE study

Array Script # ! / b i n / bash #$ −cwd − j y #$ − t 1−10

(25)

OpenMP Jobs

Useful for some commercial software (e.g. DYTRAN, GENESIS)

Useful for creating your own code in a shared memory parallel (SMP) environment

Can automatically create parallel code using compiler flags Limited to multiple processors/cores on a single machine

OpenMP Script # ! / b i n / bash #$ −pe openmp 8 #$ −cwd − j y

export PATH= / apps / msc / d y t r a n 2 0 0 7 r 1 / b i n : $PATH d y t r a n b a t =no j i d =beam ncpus=$NSLOTS

(26)

MPI Jobs

Useful for some commercial software (e.g. Fluent)

Useful for creating your own code in a shared or distributed memory parallel (DMP) environment

Can run on a single or multiple machines No automatic generate of parallel code

OpenMP Script # ! / b i n / bash

#$ −pe openmpi_rr 128 #$ −cwd − j y

export PATH= / apps / F l u e n t . I n c / b i n : $PATH export LM_LICENSE_FILE = \

/ apps / F l u e n t . I n c / FSLM10 . 8 / l i c e n s e . d a t f l u e n t 3d −g −t$NSLOTS −ssh − i wing . j n l

(27)

What if I don’t Know Linux?

You can still access the cluster from Windows You need ssh and scp clients for Windows

Putty for the ssh client WinSCP for the scp client

Obtain both from archive.sun.ac.za

(28)

What if I don’t Know Linux?

You can still access the cluster from Windows You need ssh and scp clients for Windows

Putty for the ssh client WinSCP for the scp client

Obtain both from archive.sun.ac.za

(29)

Example: Fluent Application

Commercial CFD software with DMP parallel capabilities Very easy to use in the parallel environment

Setup your model as normal

Create a work directory on the cluster Copy your model to the cluster

Create a submit script (work from a sample) Submit your job

(30)

Example: GENESIS Application

Commercial FEM software with SMP parallel capabilities Very easy to use in the parallel environment

Setup your model as normal

Create a work directory on the cluster Copy your model to the cluster

Create a submit script (work from a sample) Submit your job

(31)

Example: MPI Application

Very simple example that shows message passing

Master node is identified and sends a greeting to all worker nodes

Worker nodes receive the greeting, append a response and reply back to the master node

Master node prints messages from worker nodes as they are received

Demonstrates the basic nature of a MPI program

Write and test the source code with message passing between nodes

Compile the source code on the cluster Create a submit script

(32)

Conclusions

HPC computing is a reality at SU

The Linux cluster is available to all researchers

Keep in mind that there is no perfect solution for a general purpose cluster

The SU cluster should provide a real working environment to develop and test new HPC code and applications The SU cluster can be used as an easy stepping stone to the CHPC cluster

(33)

How do I get Access?

The cluster is available to all researchers Faculty can request access themselves

Post-graduate students must apply for access through their study leaders

To obtain an account, please contact Johann Spies (jspies@sun.ac.za) at IT

US number E-mail address Office phone number

Study leader for post-graduate students Department

(34)

References

Related documents

percentage point differential for mode-adjusted VMT (i.e., MVMT) was -90.3—a product of a mean 66.8 percent decline for members and a 23.5 percent increase for non-members over

On the other hand, the existence of efficient (in the sense of breaking the general lower bound) low-congestion shortcuts is known for several major graph classes, as well as

Scientific computing using virtual high-performance computing: a case study using the Amazon Elastic..

Configuring Windows Compute Cluster Server 2003 involves installing the operating system on the head node, joining it to an existing Active Directory domain, and then installing

For those in technology (Building Construction), other organizations such as the Associated General Contractors (AGC) also have written guidelines pertaining to ethical behavior

Whether the increasingly large numbers of private healthcare facilities comply with the existing European waste legislation, and whether compliance with such

The Family Center provides health resource infor- mation and emotional support to all Michigan families of children with special needs, regardless of CSHCS enrollment!. Some of

The three independent experimental studies for the axial clearance seals provide strong evidence of intrinsic unsteadiness of rim seal flows at low purge flow rates.. The

The %BQUOTE function treats all parentheses and quotation marks produced by resolving macro variable references or macro calls as special characters to be masked by a macro

•  Details: SARA High Performance Computing Center uses OpenNebula in its new HPC Cloud service. Public

http://coreservlets.com/ – JSF 2, PrimeFaces, Java 7 or 8, Ajax, jQuery, Hadoop, RESTful Web Services, Android, HTML5, Spring, Hibernate, Servlets, JSP, GWT, and other Java

Serial dictatorship is a weakly stable mechanism when student preferences are homogeneous (why is that?)... Different Versions of

Within the first five years of teaching, approximately half of the teachers will leave the occupation (Ingersoll &amp; Smith, 2003; Murnane et. With this rate of attrition,

(c) The table below shows the average percentage of dark and light tissue cells. These cells were found in the muscles of athletes training for different events at the

Four different types of frequency-selective structures: Unit cells are shown for rotational and complementary arrangements of double U-shaped resonators (DURs) and single

There are a ton of security methods for information protection that are acknowledged from the cloud computing suppliers, and they all give verification, secrecy,

Loss of the CASK isoform containing the CaMK-like and L27 domains underlies the CASK locomotor deficit: Mutants lacking CASK- b displayed an obvious motor defect (Figure 4A), which

bined sets of unfixed function and terminal nodes. The new chosen node changes the existent node in the tree structure. If one considers the number of arguments of the terminal

PPE placed on the market must satisfy the basic health and safety requirements laid down in the Regulation on PPE and must not endanger the safety of users, other individuals,

Such forward-looking statements include, without limitation: estimates of future earnings, the sensitivity of earnings to oil &amp; gas prices and foreign exchange rate movements;

Though Austin’s planner did not respond directly to the question about planning with rail transit, Chicago’s planner reported considering proximity and frequency of transit as

and manner of election of the members of the board of directors, and shall grant proper credit annually to each member of the Association for essential property insurance, farmowners,