[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Establishing Fast Eth Beowulf Cluster for Using PETSc on that
- To: petsc-users@xxxxxxxxxxx
- Subject: Re: Establishing Fast Eth Beowulf Cluster for Using PETSc on that
- From: "Lisandro Dalcin" <dalcinl@xxxxxxxxx>
- Date: Fri, 23 Nov 2007 12:38:25 -0300
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=ikcuZDXVQu4YwKU4UVSKin2/Uln7HZfGRaYM7wl7TIU=; b=f6r0bGdj1V6UqXNQB+13+ki05otRUT5adIWpGGZAenYdm7p+EYK713kKGEZRiXHj10LF63409b9PifVME6GBzw40pXPVGiqSG8OYKPDgYDVyGARugXajzgW6gAf7yB4YFUu3+/efEAFnmm3e8mDR6/zriRU/RVWwPYVsVWW8xyk=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=J17IlsExedd4v1kmpik6oRE0NlIZhTjHuFaw+7690HtvRN3TACYqjS1Ufa13Ef3nZOxNiRCmVNCaDoHoBcq+stvMGOjzGNPaTJwPlljpo9Bmc5BSB1IG23dlNP6xsS9bugXBd1u3FQdgrFpbSPqSvWqEG/QVdoW7mYJkX5EMFZc=
- In-reply-to: <428810f20711230510y508d6eeerc6a185a18363535d@mail.gmail.com>
- References: <428810f20711230510y508d6eeerc6a185a18363535d@mail.gmail.com>
- Reply-to: petsc-users@xxxxxxxxxxx
- Sender: owner-petsc-users@xxxxxxxxxxx
On 11/23/07, amjad ali <amjad11@xxxxxxxxx> wrote:
> Now I want to setup a new Beowulf Cluster of few PCs to run PETSc
> program on that. please tell me steps of how to build it.
> I do not
> want to install MPICH2 separately on the cluster (just want to
> install/use as a part of PETSc).
I use a similar setup. I would recommed you to do the following:
* Make '/usr/local' availabe at your nodes using NFS.
* Build and install MPICH2 using prefix '/usr/local/mpich2'
$ ./configure --prefix=/usr/local/mpich2 ...
$ make
$ su -c 'make install' # or: sudo make install
* Now modify your path:
$ export PATH=/usr/local/mpich2/bin:$PATH
* Now build PETSc, unpacking sources on '/usr/local'
$ su -l
$ cd /usr/local
$ tar -zxf petsc-xxx.tar.gz
$ cd petsc-xxx
$ export PETSC_DIR=`pwd`
$ export PETSC_ARCH=linux-gnu
$ python config/configure.py <customization options>
$ make
And this should be all you have to do. You will have PETSc built at
'/usr/local/petsc-xxx', and all your nodes would be able to see and
use it via NFS.
If you have any problem, feel free to ask me again.
--
Lisandro Dalcín
---------------
Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC)
Instituto de Desarrollo Tecnológico para la Industria Química (INTEC)
Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET)
PTLC - Güemes 3450, (3000) Santa Fe, Argentina
Tel/Fax: +54-(0)342-451.1594