+ All Categories
Home > Documents > Computational Physics

Computational Physics

Date post: 22-Feb-2016
Category:
Upload: evelia
View: 67 times
Download: 0 times
Share this document with a friend
Description:
Computational Physics. Dr. Guy Tel- Zur. Version 09-12-2010.12:40. Agenda. Administration MHJ Chapter 10: MC methods in Statistical Physics More on VisIt : The Silo file format A demo program Creating a movie More HPC stuff DLA - PowerPoint PPT Presentation
Popular Tags:
16
Computational Physics Dr. Guy Tel-Zur Version 09-12-2010.12:40
Transcript
Page 1: Computational Physics

Computational Physics

Dr. Guy Tel-Zur

Version 09-12-2010.12:40

Page 2: Computational Physics

Agenda• Administration• MHJ Chapter 10: MC methods in Statistical Physics• More on VisIt:

– The Silo file format– A demo program– Creating a movie

• More HPC stuff• DLA• Demo: AWS – HPC Instance for Parallel Computing and Cellular

Automata / NKS demo on the cloud

• Home assignment #3

Page 3: Computational Physics

Final Projects

• Please hurry to choose a topic

Page 4: Computational Physics

Visualization: The Silo file format

• References:– Download:

https://wci.llnl.gov/codes/silo/release_notes.html(BSD License)– http://www.e-science.le.ac.uk/format/silo.shtml– http://www.e-science.le.ac.uk/format/silocode.sht

ml

Page 5: Computational Physics

Visualization: A demo program

• Use VirtualBox Ubuntu Install Silo and VisIt

• Installation was not smooth on Ubuntu 10.4, I had to install libstdc++5 manually (an older version)

• Let’s look at “wave.c”– Open DevC++ with: C:\Users\telzur\Documents\My Talks\MIL_OSS\

silo\silo-4.8-bsd\tests\wave.c

Page 6: Computational Physics

Silo

• Discuss in class the wave.c program• Run the program on the Virtual Machine• Make plot using VisIt• Make a mpeg movie!

Page 7: Computational Physics

wave.c silo file

Page 8: Computational Physics

Mini Course: Performance Tuning

• Intel Parallel Studio (commercial)• Vampir (commercial, only a free viewer)• TAU – Paraprof (free)• Scalasca (free)• Marmot (free, not in this course, perhaps in

CP2012A ?)

Page 9: Computational Physics

TAU –pprof, paraprofcd to: workshop-point/ring

Page 10: Computational Physics
Page 11: Computational Physics

HPC – Performance Optimization Cycle

Source: Scalasca user guide

Page 12: Computational Physics

Scalasca

Step1: scalasca –instrument mpicc –o jacobi ./main.c ./jacobi.c

Step 2: scalasca –analyze mpirun –np 4 ./jacobi

Step 3: scalasca –examine epick_<title>

Users guide: http://www.fz-juelich.de/jsc/datapool/scalasca/UserGuide.pdf

BTW: Virtual Box file sharing: as root:mount –t vboxsf guytmp ./guytmp

Page 13: Computational Physics

HPC Cloud Computing Demo

Goal:Install Condor on the HPC cloud machine

Run many Cellular Automata jobs

Check graphical output

How to install Condor on Debian:http://www.cs.wisc.edu/condor/debian/

Page 14: Computational Physics

AWS - CloudWatch

Page 15: Computational Physics

8 cores !

Page 16: Computational Physics

NKS

Reference: http://telzur.blogspot.com/2008/01/mysteries-of-cellular-automata.html


Recommended