Using the Cray SV1
Use the Cray SV1
: Test out our Cray supercomputer,
Run program(s) on the Cray
Compare the performance (using timing - MPI_Wtime()) with using MPI on our lab computers
Example Progams for comparison
calculatePi.c
calPiMPI.c
These two programs use the C function: gettimeofday(&tv, &tz);
Running programs on the Cray SV1
Information on Vector Architectures
: our Cray is a Vector computer
EXTRA:
Use
Vectorization processes
and Optimization techniques
See handouts:
Introduction to Vectorization and Optimization
, North Carolina Supercomputing Center
Sample vectorization exercises:
(c version)
,
(fortran)
Vectorization Sample Code (PDF)
for the Cray,
- PS version
+
"ex.c"
the sample program
"Performance Tuning for Vector Architectures"
(PS - view with gv - ghostview)
Optimization for Vector Computers
(PDF - view with acroread), from
Jim Giuliani's workshop
Optimizing Code on our Cray
Optimize your MPI code
Performance Measuring Tools for the Cray:
Guide to Parallel Vector Applications
:
FIRST: In order to view these tools -
Sign on to the Cray
In this x term, type:
"setenv DISPLAY yourcomputer.tjhsst.edu:0.0"
(Note, on a "bash" system, this is
"export DISPLAY=yourcomputer.tjhsst.edu:0.0")
Open another x term (logged on to your computer, not the Cray)
In this second x term, type:
"xhost + cray.tjhsst.edu"
ATExpert
Using the
X Window Interface
flowview
Hardware Performance Monitor (hpm)
jumpview
perfview
procview
Hardware Performance Monitor Counters