Using UpsAnd

Table of Contents


Introduction

This page contains information regarding compiling and running C and FORTRAN code on the UCSC beowulf, UpsAnd. UpsAnd is a 120 node beowulf cluster, with each node consisting of two 1.4 GHz Athlon processors and 1 GB of RAM.

Logging onto UpsAnd is done via ssh:

  1. first log onto Andromeda: ssh andromeda.pmc.ucsc.edu -l [username]
  2. then log onto UpsAnd: ssh upsand

Copying files from/to UpsAnd is done via scp: while on UpsAnd,

  1. scp [username]@your.host.computer:[files] . (to copy files from your host computer to UpsAnd)
  2. scp [files] [username]@your.host.computer:. (to copy files from UpsAnd to your host computer)

Back to Table of Contents

Node Allocations

The following is a list of PI's, their email, and the current node division.

PI email Nodes
Asphaug asphaug@emerald.ucsc.edu None
Glatzmaier glatz@emerald.ucsc.edu n111 - n116, n121 - n126, n131 - n136, n141 - n146
Lin lin@ucolick.org n211 - n216, n221 - n226, n231 - n236, n241 - n246
Primack joel@scipp.ucsc.edu n311 - n316, n321 - n326, n331 - n336, n341 - n346
Woosley woosley@ucolick.org n411 - n416, n421 - n426, n431 - n436, n441 - n446

Another good email to have is Shawfeng Dong, dong@ucolick.org. Shaw administrates the beowulf and is responsible for keeping it up and running, updating and installing software and pretty much all the details.

Back to Table of Contents

Home Directory

On the frontend UpsAnd each user has a home directory (/home1/userid or /home2/userid), which is also NFS mounted by all the nodes. The home directories locate on two RAID hard disk arrays, with a capacity of 700 GB each.

Warning !: You are advised to back up your data frequently. The RAID arrays only provide minimum protection against one hard disk failure.

Warning !: The home directories sometimes get inconveniently full, so much so that simulations have crashed. Please keep your directory under 50 GB. Check your disk use periodically by doing a "du -k" from your home directory.

Although not recommended, if you need to write files local to the compute nodes write them to /scratch, which is a bit under 32 GB on each compute node. To get files off a compute node that have been written into /scratch, do the following on the frontend UpsAnd:

rcp n112:/scratch/yourfile.dat .

This will copy the file called yourfile.dat from /scratch on n112 to the directory you are in on the frontend.

Back to Table of Contents

Compiling

We recommend you to use PGI compilers to compile your code. PGI High-Performance Compilers and Tools (version 5.1) are installed on UpsAnd. Please refer to the following links for online documentation:

  1. PGI User's Guide (PDF)
  2. PGI Tools Guide (PDF)
  3. PGF77 Reference Manual
  4. PGHPF User's Guide
  5. PGHPF Reference Manual
  6. PGDBG Debugger (PDF)

Using MPI (Message Passing Interface) is the only supported method to write and run parallel programs on UpsAnd. ScaMPI, Scali's optimized implementation of MPI, is installed on UpsAnd. For technical details, please refer to the following online documentation:

  1. ScaMPI User's Guide (PDF)
  2. The Message Passing Interface (MPI) standard

You may also want to check the directory /opt/scali/examples/src or /opt/scali/doc/ on UpsAnd for various examples and information.

Below I include a sample Makefile used to compile the C program GADGET on UpsAnd (courtesy Thomas Cox), another sample Makefile for the Fortran program NBODY5, and a command line for the compilation of Gary's FORTRAN code. These tools will be valuable references for editing your makefiles and/or creating scripts to compile your C or FORTRAN code.

Back to Table of Contents

Running Your Code

There are two methods of submitting and running programs on the cluster: mpimon and OpenPBS.

Back to Table of Contents

Monitoring Jobs

Since users play an active role in selecting the nodes for their jobs and monitoring their jobs while they are running there exists several tools to view the current status of the beowulf.

Back to Table of Contents

Visualization

There is a visualization machine called twopiter. Please contact Shawfeng Dong (dong@ucolick.org) for information regarding twopiter.

Back to Table of Contents

FAQ's

Q: How do I change my login shell?
A: To change shell type, "chsh", at the current shell prompt and type the appropriate responses.

Q: What about graphics and visualization?
A: No graphics are allowed on the compute nodes due to throughput and security considerations. Thus there are no graphics applications or X11 libraries on the compute nodes. Forwarding of packets from the compute nodes on the internal network is not allowed beyond the frontend. X11 forwarding is not allowed. Visualization is to be done on the Visualization workstation so kindly provided by Joel Primack. Please contact Shawfeng Dong for information regarding this facility (dong@ucolick.org).

Q: Can I put some 3rd party software on UpsAnd?
A: Due to manpower considerations installation and maintenance of 3rd party software are the responsibility of the user. The software and supporting libraries must be installable in the user's own directory. Installation of plotting, graphics viewers, and other visualization packages are not encouraged, even on the frontend, since this leads to performance issues that impact the activity of other users.

Back to Table of Contents