
MA402 Lab2 Report – Super-Computing and Parallel Computing, 2001
Name: ID: Time In: Time Out:
1. List some factors that affect efficiency of a simulation through computers.
2. What super-computers are available to public at NCSC? Are those machines sequential or
parallel? How can you get started to use them?
3. Write down a pseudo-code of matrix-vector multiplication in i-jform and j-iform (column
by column).
4. (a) Use anonymous ftp ftp.ncsu.edu to get file matvec ij.f90 and matvec ji.f90 in the directory
/pub/math/zhilin/TEACHING/MA402.
(b) Compile the codes with
f90 -O1 matvec ji.f90 -o a.out
f90 -O1 matvec ij.f90 -o a1.out
(c) Run you code and record the time for n= 1500. Which version is faster and why?
5. Now telnet to the super-computer Cray T916 at NCSC using telnet flyer.ncsc.org with the
assigned login name ma580 ?Change the password if required or the passwd command to
change the password. I suggest that you use the same password as your NCSU account.
6. Now use anonymous ftp ftp.ncsu.edu again to get file matvec ij.f90 and matvec ji.f90 in the
directory /pub/math/zhilin/TEACHING/MA402. Also get the file matvec.f90. Compile the
codes again with the same command Run you code and record the time for n= 1500. How do
the results compared with each, with the results from Sun Workstations? (how many times
faster?)