Objective
MPI (Message passing Interface) messaging interface
It's not an agreement, but its status has actually been a deal. It is mainly used for parallel program communication in distributed storage System. MPI is a function library, which can be called through Fortran and C programs, the advantage of MPI is that it is faster and better portability.
Cluster
There are two common Cluster (cluster) architectures, one is the web/internet Cluster System, which mainly places data on different hosts, that is, multiple hosts are responsible for one service at the same time, and the other is called Parallel operations ( Parallel algorithms Cluster System)! Parallel operation is actually the work of the same operation, to the entire cluster inside the CPU to perform a synchronous operation of a function. Because of the ability to use multiple CPUs, you can speed up the operation.
This document is installed Lam/mpi Cluster system is the latter, due to experimental environmental conditions and limitations of its own capabilities, may be part of the document interpretation is not exhaustive, if you have questions please write to contact me, I will try to improve this document, thank you!
[Software and Platform]
Server \ FreeBSD 5.3 Stable
ip:172.18.5.247
Hostname:center.the9.com
Client \ FreeBSD 5.3 Release
ip:172.18.5.80
Hostname:node1.the9.com
apache_1.3.29 \ All Ports Install
php4-4.3.10
php4-gd-4.3.10
php4-extensions-1.0
lam-6.5.9
ganglia-monitor-core-2.5.6
ganglia-webfrontend-2.5.5
Objective
A set of Lam/mpi Cluster System based on FreeBSD 5.3 is erected.
[Installation and Configuration]
First, the basic configuration of each node system/etc/hosts \ If the intranet has DNS, then configure the system/etc/resolv.conf can!
Center.the9.com
#more/etc/hosts
172.18.5.247 center.the9.com
172.18.5.80 node1.the9.com
Node1.the9.com
#more/etc/hosts
172.18.5.247 center.the9.com
172.18.5.80 node1.the9.com
Second, the erection of apache+php server
Center.the9.com
#cd/usr/ports/www/apache13-modssl
#make install clean \ \ Install APACHE
#cd/usr/ports/lang/php4-extensions
#make install clean \ \ Install PHP. Remember to choose to install the GD library
#vi/usr/local/etc/apache/http.conf \ \ Add the following related parameters
AddType application/x-httpd-php. php
AddType Application/x-httpd-php-source. Phps
Third, the erection of NFS server-client