The Barcelona Cluster for the MALLBA Project.
Table of contents
- How to log in
- General Software
- Disk configuration
- Initizalization scripts
- BA-Cluster Software
- BA-Cluster Environments
- BA-Cluster Contacts
- Frequently Asked Questions
This document is intended to provide a description of BA-Cluster, the cluster of PCs we are installing in Barcelona to use in the MALLBA project.
As you may imagine, this page is in construction.
The cluster is currently made of a set of 19 computers. We can distinguish three different groups according to the configuration of the machines:
- ba1.lsi.upc.es (220.127.116.11)
- ba2.lsi.upc.es (18.104.22.168)
- ba3.lsi.upc.es (22.214.171.124)
- ba4.lsi.upc.es (126.96.36.199)
- ba5.lsi.upc.es (188.8.131.52) Before guernika.lsi.upc.es
- ba6.lsi.upc.es (184.108.40.206) Before kruja.lsi.upc.es
- ba7.lsi.upc.es (220.127.116.11) Before tarkus.lsi.upc.es
- ba8.lsi.upc.es (18.104.22.168) Before algenib.lsi.upc.es
- ba9.lsi.upc.es (22.214.171.124) Before alberti.lsi.upc.es
All these computers share the following configuration:
- Processor: AMD K6(tm) 3D processor (450 MHz)
- Main memory: 256 Mb
- achtung.lsi.upc.es (126.96.36.199)
- alamak.lsi.upc.es (188.8.131.52)
- camus.lsi.upc.es (184.108.40.206)
- elsmunts.lsi.upc.es (220.127.116.11)
- iliria.lsi.upc.es (18.104.22.168)
- monge.lsi.upc.es (22.214.171.124)
- sente.lsi.upc.es (126.96.36.199)
- tesuji.lsi.upc.es (188.8.131.52)
- verger.lsi.upc.es (184.108.40.206)
All these computers share the following configuration:
- Processor: AMD Athlon(tm) XP 1600+ (1400 MHz)
- Main memory: 256 Mb
- peix.lsi.upc.es (220.127.116.11)
This computer have the following configuration:
- Processor: Pentium III (Coppermine) (864 MHz)
- Main memory: 768 Mb
Computers named ba* only cointain their "box" (no keyboard, no mouse, no screen and no graphic adapter). Computers not named ba* are complete workstations including keyboard, mouse, michrophon, speakers, screen and graphic adapter.
Computers named ba1...ba9 are interconnected by a dedicated network using a 10/100 switch. Computers named achtung, iliria, peix, sente and tesuji could also be connected to this switch but currently are not (we can do that if necessary). Computers named alamak, camus, elsmunts, monge and verger are located in another building, and so share network resources with the rest of our department (we cannot change that).
How to log in
By now, connection to the cluster will only be possible from within the department. To enter the department, please use one of the following machines:
If possible, please use ssh (secure shell) in all your connections to and within our department. Secure shell is not yet required but may be imperative in the future. You can also login using an internet browser.
In order to provide you direct acces to our cluster without using login*, please contact Jordi.More information:
Computers named ba* will be available at all time. In the case that these computers should go down, we will try to advertise it with the maximum anticipation. Computers not named ba* are located in offices. In this sense, they "belong" to their users, and so they can be turned on and off in some unsuspected way.
We recomend you to use ba* computers, as they are more reliable and homogeneous, moreover, they all are NFS client and servers. If you need to use the other machines, please contact individually the owners of achtung, alamak camus, elsmunts, iliria, monge peix sente, tesuji, verger, to let their computers on running Linux (you can also contact all them together).
The following figure shows how much time is needed to ping pong a message from ba3 to ba4 depending on the message size and the communication library used. The measures shown are the average over ?? runs on a friday afternoon.
All computers have the same configuration running Linux as operating system (Redhat 6.1 distribution with kernel 2.2.12-20). Most of the Redhat standard software is available under its standard directories in every machine.
Some extra software shared with the rest of the department is accessed through the /usr/local directory. Note that it is very important to have /usr/bin appearing before /usr/local/bin in your path variable.
Read on to see the BA-Cluster specific software.
ba* computers are NFS (network file system) servers. The rest of computers are only NFS clients. Also, all the computers in the cluster are clients of our departmental NFS servers.
The home directory of each MALLBA user is located in the departemental server. This server ensures availabity and security. In addition, each user owns a directory in the disks of the ba* computers. To enable an easy use, each user has a directory ~/Disc which contains links to the ba* disks:
In addition, local users might have the following entries:
- ~/Disc/ba1: User directory in the ba1 disk.
- ~/Disc/ba2: User directory in the ba2 disk.
- ~/Disc/ba3: User directory in the ba3 disk.
- ~/Disc/ba4: User directory in the ba4 disk.
- ~/Disc/ba1-1: Extra space in another ba1 disk (Not available yet).
- ~/Disc/local: User directory in his own computer.
- ~/Disc/windows: Enables access to the Windows partition in his own computer.
- ~/Disc/alcom: User directory in the ALCOM disk (Not available yet).
In order to access ~/Disc/windows it is necessary to execute mount /msdos. If you want to acces the CDROM via /cdrom, it is necessary to execute mount /cdrom. All files stored under ~/Disc/local and ~/Disc/windows are only visible when the machine is on and exclusively by the owner of this machine in this machine.
Backups for files under ~/Disc/ba1 are performed twice a week to ba2. As a consequence, maintain important files under ~/Disc/ba1 and try not having too much space under ~/Disc/ba2.
All files stored under the following directories are not backed up:
BA-Cluster computers have a directory structure very different to the one available in the rest of our department. In order to initialize your environment, please use and adapt the following scripts:
By default, the following scripts should be empty or not exist:
- ~/.tcshrc: Init script for the standard shell (tcsh) (download).
- ~/.xsession: Init script to start X windows (download). Must have execution permission.
The following software is available on BA-Cluster machines:
LEDA: LEDA is a library of the data types and algorithms of combinatorial computing. Current installed version is 4.1.
MPICH: MPICH is a freely available, portable implementation of MPI, which is the Standard for message-passing libraries. Current installed version is 1.2.0.
LAM: LAM is an MPI programming environment and development system for heterogeneous computers on a network. Current installed version is 6.3.1.
PVM and XPVM: PVM is a software package that permits a heterogeneous collection of Unix and/or NT computers hooked together by a network to be used as a single large parallel computer. Current installed version is 3.4.2.
chaco: chaco contains algorithms and software for partitioning meshes. Current installed version is 2.0.
JDK: The Java Developer Kit. Current installed version is ?.
brsh: Beowulf remote shell.
Nedit: NEdit is a standard GUI (Graphical User Interface) style text editor for programs and plain-text files. NEdit provides all of the standard menu, dialog, editing, and mouse support, as well as all of the standard shortcuts to which the users of modern GUI based environments are accustomed. For users of older style Unix editors, welcome to the world of mouse-based editing!
qwt: The Qwt Widget Library - Qt Widgets for Technical Applications. The Qwt library contains GUI Components and utility classes which are primarily useful for programs with a technical background. Most of these widgets are used to control or display values, arrays, or ranges of type double.
All this software is available under ~mallba/soft in its corresponding directory. The original packages are located under ~mallba/original. For some of this software, scripts to initialize the environment are available (see below).
Please remark that all this software is freely available, but if you want to install certain libraries (LEDA and chaco) at your site you will have to ask for a license (go to their web page).
Most software packages need to stablish environment variables. You can simply initialize them by sourcing the appropiate scripts (which are located under the ~mallba/entorn directory). Currently the following environments are available:
To load them, execute source ~mallba/entorn/xxx. If you use them often, you can simply source them at the end of your ~/.tcshrc.
Càrrega de les màquines: Seria bo que abans de llançar processos intensius a les màquines MALLBA, miressiu abans la seva càrrega. Per fer-ho, teniu programes com ara "xload" (lleig), "wmmon" , "wmmon2" (més bonics), "top" (mode text i molta info) o "ktop" (gràfics bonics i molta info). A les males, un miserable "uptime" també va bé.
PVM deamons: No deixeu processos PVM orfes. Mateu-los.
Frequently Asked Questions
Has posat bé tots els scripts?
Com es compila/linka amb MPI?
Si vols fer servir MPICH, carrega l'entorn mpich en el .tcshrc. Compila amb g++ -c -I$MPI_INC pgma.cc i linka amb g++ -L$MPI_LIB pgma.o -o pgma.e -lmpich. Executa amb mpirun -np 4 -machinefile maquines.txt ./pgma.e.
Si vols fer servir LAM, carrega l'entorn lam en el .tcshrc. Engega el deamonlamboot maquines.txt. Compila amb g++ -c -I$MPI_INC pgma.cc i linka amb g++ -L$MPI_LIB pgma.o .o pgma.e -lmpi -ltrillium -ltstdio -lt -largs. Executa amb mpirun -np 4 ~usuaris/directoris/pgma.e. Quan estiguis, apaga el deamon amb wipe.
Per compilar de forma portable, tant en MPI com en LAM pots usar mpicc o mpiCC.
Com es compila/linka amb PVM?
Carrega l'entorn pvm en el .tcshrc. Engea la màquina virtual amb pvm. Compila amb g++ -c -I$PVM_INC pgma.cc i linka amb g++ -L$PVM_LIB pgma.o -o pgma.e -lpvm3. Quan estiguis, atura la màquina virtual: echo halt | pvm. Si no funciona, probablement tens directoris de brossa en els diferents directoris /tmp; esborra'ls.
Com es carrega l'entorn XXX?
Posa una instrucció source ~mallba/entorn/XXX cap al final del teu ~/.tcshrc. Els propers shells ja trobaràn l'entorn.
Last update: Wed Oct 30 18:25:02 CEST 2002