Beowulf 中文HOWTO( 十 )


Donald;J.;Becker,;Thomas;Sterling,;Daniel;Savarese,;John;E.;Dorband,;Udaya;A.;Ranawak,;Charles;V.;Packer.;BEOWULF:;A;PARALLEL;WORKSTATION;FOR;SCIENTIFIC;COMPUTATION.;Proceedings,;International;Conference;on;Parallel;Processing,;95.;http://www.beowulf.org/papers/ICPP95/icpp95.html;
Papers;at;the;Beowulf;site;http://www.beowulf.org/papers/papers.html;


5.4;软体;

PVM;-;Parallel;Virtual;Machine;http://www.epm.ornl.gov/pvm/pvm_home.html;
LAM/MPI;(Local;Area;Multicomputer;/;Message;Passing;Interface;http://www.mpi.nd.edu/lam;
BERT77;-;FORTRAN;conversion;tool;http://www.plogic.com/bert.html;
Beowulf;software;from;Beowulf;Project;Page;http://beowulf.gsfc.nasa.gov/software/software.html;
Jacek"s;Beowulf-utils;ftp://ftp.sci.usq.edu.au/pub/jacek/beowulf-utils;
bWatch;-;cluster;monitoring;tool;http://www.sci.usq.edu.au/staff/jacek/bWatch;



5.5;Beowulf机器;

Avalon;是由;140台Alpha;处理器组成,36GB记忆体,可能是最快的Beowulf机器,计算速度高达47.7Gflops,在全世界前五百快的机器中排名第114 。;http://swift.lanl.gov/avalon/;
Megalon-A;Massively;PArallel;CompuTer;Resource;(MPACTR)由14台个人电脑组成,每台电脑内有四颗Pentium;Pro200处理器,总共有14GB记忆体;http://megalon.ca.sandia.gov/description.html;
HIVE;-;Highly-parallel;Integrated;Virtual;Environment;是另一套高速的Beowulf超级电脑,有64个计算节点,共计128颗处理器,4GB记忆体 。;http://newton.gsfc.nasa.gov/thehive/;
Topcat;是一套比较小型的机器,总共有16颗处理器和1.2GB记忆体 。;http://www.sci.usq.edu.au/staff/jacek/topcat;
MAGI;cluster;是个有趣的网站,内有许多有趣的连结 。;http://noel.feld.cvut.cz/magi/;



5.6;其他有趣的网站;


SMP;Linux;http://www.linux.org.uk/SMP/title.html;
Paralogic;-;Buy;a;Beowulf;http://www.plogic.com;

5.7;历史;

Legends;-;Beowulf;http://legends.dm.net/beowulf/index.html;
The;Adventures;of;Beowulf;http://www.lnstar.com/literature/beowulf/beowulf.html;


--------------------------------------------------------------------------------

6.;原始码

6.1;sum.c;

/*;Jacek;Radajewski;jacek@usq.edu.au;*/
/*;21/08/1998;*/

#include;
#include;

int;main;(void);{

double;result;=;0.0;
double;number;=;0.0;
char;string[80];


while;(scanf("%s",;string);!=;EOF);{

number;=;atof(string);
result;=;result; ;number;
}

printf("%lfn",;result);

return;0;

}


6.2;sigmasqrt.c;

/*;Jacek;Radajewski;jacek@usq.edu.au;*/
/*;21/08/1998;*/

#include;
#include;

int;main;(int;argc,;char**;argv);{

long;number1,;number2,;counter;
double;result;

if;(argc;<;3);{
printf;("usage;:;%s;number1;number2n",argv[0]);
exit(1);
};else;{
number1;=;atol;(argv[1]);
number2;=;atol;(argv[2]);
result;=;0.0;
}

for;(counter;=;number1;;counter;<=;number2;;counter);{
result;=;result; ;sqrt((double)counter);
}

printf("%lfn",;result);

return;0;

}



6.3;prun.sh;


#!/bin/bash
#;Jacek;Radajewski;jacek@usq.edu.au
#;21/08/1998

export;SIGMASQRT=/home/staff/jacek/beowulf/HOWTO/example1/sigmasqrt

#;$OUTPUT;must;be;a;named;pipe
#;mkfifo;output

export;OUTPUT=/home/staff/jacek/beowulf/HOWTO/example1/output

rsh;scilab01;$SIGMASQRT;1;;50000000;>;$OUTPUT;<;/dev/null&
rsh;scilab02;$SIGMASQRT;;50000001;100000000;>;$OUTPUT;<;/dev/null&
rsh;scilab03;$SIGMASQRT;100000001;150000000;>;$OUTPUT;<;/dev/null&
rsh;scilab04;$SIGMASQRT;150000001;200000000;>;$OUTPUT;<;/dev/null&
rsh;scilab05;$SIGMASQRT;200000001;250000000;>;$OUTPUT;<;/dev/null&
rsh;scilab06;$SIGMASQRT;250000001;300000000;>;$OUTPUT;<;/dev/null&
rsh;scilab07;$SIGMASQRT;300000001;350000000;>;$OUTPUT;<;/dev/null&
rsh;scilab08;$SIGMASQRT;350000001;400000000;>;$OUTPUT;

推荐阅读