Hammer User's Guide
Important Notice: This document is under construction and may be incomplete!!
Please provide feedback to
beatnic@aset.psu.edu on missing, inaccurate, or unclear information.
User Information
This guide assumes that you already have an account on
Hammer. If you do not, please see the Obtaining an
Account section of the Hammer systems page.
- The machine name is hammer.aset.psu.edu.
- Connections to hammer.aset.psu.edu are only through the SSH
(Secure Shell) protocol. If you need an SSH client, please see
this page.
- There is a per-user hard disk quota of 2 GB.
- The default shell is bash, though tcsh and others are available. See
the /etc/shells file on hammer.aset.psu.edu for the current list.
Disk Policies
- Each user is given by default 2 GB of home directory space by default.
Home directory space is backed up nightly.
- 3.4 TB of space is available in /scratch for shared use. /scratch is for
temporary storage only and is not backed up. Note that files older than
30 days in /scratch will be deleted.
Logging onto Hammer
You must use a SSH (Secure Shell) client to log onto Hammer. The following deals with the standard
unix client. If you are using another client, please refer to its own documentation.
Basic usage of ssh:
ssh -l account hammer.aset.psu.edu
- account
- the name of your account on Hammer
Example:
% ssh -l johndoe hammer.aset.psu.edu
johndoe's password: John's Password
Last login: Wed Jan 12 2000 11:30:00 -0400
No mail.
John Doe will now be logged onto Hammer.
|
For more information on ssh, please consult either its man page or
URL http://aset.psu.edu/internet/ssh/
.
Copying files to and from Hammer
Hammer is not part of the AFS or DFS cells. All user
code and data must be explicitly moved to and from the
Hammer Cluster. You can use secure copy
(scp) to copy files from your computer to Hammer and
from Hammer to your computer.
To use scp to copy files from your computer to Hammer:
while logged onto your computer
scp filename(s) account@hammer.aset.psu.edu:.
- filename(s)
- file or files to copy to Hammer
(can include wildcards)
- account
- the name of your account on Hammer
Example:
% scp test?.c johndoe@hammer.aset.psu.edu:.
johndoe@hammer.aset.psu.edu's password: John's Password
Transfering test1.c -> hammer.aset.psu.edu:./test1.c (1k)
7 bytes transferred in 0.00 seconds [1.20 kB/sec].
Transfering test2.c -> hammer.aset.psu.edu:./test2.c (1k)
7 bytes transferred in 0.00 seconds [1.36 kB/sec].
The files test1.c and test2.c now exist in john's home
directory (/home/johndoe) on hammer.aset.psu.edu.
|
To use scp to copy files from Hammer
to your computer:
while logged onto your computer
scp account@hammer.aset.psu.edu:filename(s) .
- account
- the name of your account on Hammer
- filename(s)
- file or files to copy from Hammer
(can include wildcards)
Example:
% scp johndoe@hammer.aset.psu.edu:test.dat .
johndoe@hammer.aset.psu.edu's password: John's Password
Transfering hammer.aset.psu.edu:test.dat -> ./test.dat (1k)
9 bytes transferred in 0.00 seconds [1.18 kB/sec].
The file test.dat now exists in the current directory of John's
computer.
|
For more information on scp, please consult its man page.
You can also use a program called sftp to copy files to and from
Hammer if you are have ssh2.
Basic usage of sftp:
while logged onto your computer
sftp hammer.aset.psu.edu account
- account
- the name of your account on Hammer
Example:
% sftp hammer.aset.psu.edu johndoe
local path : /home/john
johndoe's password: John's Password
remote path : /home/johndoe
sftp>put test.c
Transferring /home/john/test.c -> /home/johndoe/test.c (1k)
sftp>get test.dat
Transferring /home/johndoe/test.dat -> /home/john/test.dat (1k)
sftp>quit
The file test.c has been copied from John's home directory on his
machine to his home directory on Hammer
and the file test.dat has been copied from Hammer
to his machine.
|
For more information on sftp, please consult its man page.
How to Compile your Code on Hammer
There are several compilers available on Hammer,
including the Intel Compilers (C/C++/F77/F90/F95), Portland Group
Compilers (C/C++/F77/F90), and Pathscale Compilers (C/C++/F77/F90).
Information on these can be found in the
Compilers and
Programming Tools web pages.
Running Jobs on Hammer
All jobs on Hammer are run interactively and not through a batch
queuing system. To start a job, just start it from the command
line.
Please send questions or suggestions about this web page to beatnic@aset.psu.edu
ASET | ITS | Penn State
|