Parallel Computing http://www.cs.unc.edu/~prins/Classes/633/
Fall 2017 (Tue Aug 22  Tue Dec 5)
Instructor:
Jan Prins,
FB 334, Tel: 9195906213,
prins@cs.unc.edu

Additional information including the course syllabus can be found in the course overview.
All parallel programming models discussed in this class are supported on BASS or phaedra which are available for use in this class.
nbref sequential allpairs nbody, n = 3, nts = 6325914, G = 1, DeltaT = 1e06 Time = 0 P0 = (0.97000436,0.24308753) V0 = (0.46620368,0.43236573) m = 1 P1 = (0.97000436,0.24308753) V1 = (0.46620368,0.43236573) m = 1 P2 = (0,0) V2 = (0.93240737,0.86473146) m = 1 Time = 1e06 P0 = (0.97000483,0.2430871) V0 = (0.46620247,0.43236603) m = 1 P1 = (0.97000389,0.24308796) V1 = (0.4662049,0.43236543) m = 1 P2 = (9.3240737e07,8.6473146e07) V2 = (0.93240737,0.86473146) m = 1 Time = 3.162957 P0 = (0.97000754,0.24311667) V0 = (0.46624203,0.43234625) m = 1 P1 = (0.97003188,0.24309202) V1 = (0.46616351,0.43236621) m = 1 P2 = (2.4340532e05,2.4652558e05) V2 = (0.93240554,0.86471246) m = 1 Time = 6.325914 P0 = (0.96997182,0.24313017) V0 = (0.46636412,0.43232847) m = 1 P1 = (0.9701019,0.24301235) V1 = (0.46601452,0.432412) m = 1 P2 = (0.00013007996,0.00011781508) V2 = (0.93237864,0.86474047) m = 1 Initial momentum = (0, 0) Final momentum = (1.726397e13, 6.71685e14) Relative error = 1.85246e13
#================== runprog.sh ================================= #$ S /bin/bash #$ j y #$ cwd #$ l h_rt=0:5:0 # source /usr/local/bin/pathmunge.sh pathmunge usempi openmpix86_64 WDIR=/home/yourname/pathtoyourprojectdir cd $WDIR `which mpirun` np $NSLOTS $WDIR/myprog #=============================================================