AMD Logo AMD Developer Central

Getting Started
Skip Navigation LinksHome > Tech Zones > HPC Zone > Getting Started

Notes on System Configuration
The exercises shown here have been validated on SUSE Linux Enterprise Desktop 10 SP2. In addition an SDK corresponding to that distro was downloaded (mainly in order to get Novell's build of a Fortran compiler).

SUSE Linux Enterprise Desktop 10 SP2 (one DVD)
SUSE Linux Enterprise 10 SP2 SDK Media Kit (two DVDs)

» GCC 4.1 Compiler from the Distribution
» A Generic User Account with Password-Less SSH Access
» Configuration Information

GCC 4.1 Compiler from the Distribution
The OS was installed and during installation a basic set of developer tools was selected; unfortunately this does not contain Fortran. Fortran can be found on the SUSE Linux Enterprise 10 SP2 SDK Media Kit, on the first DVD.

The GNU compiler tools needed are essentially gcc, g++, and gfortran. The version installed (reported with gcc -v or gfortran -v) is:

hpcuser@palomar:~> gcc -v
gcc version 4.1.2 20070115 (SUSE Linux)


A Generic User Account with Password-Less SSH Access
The instructions will refer to a generic user account called "hpcuser." The account name doesn't matter, this is just for convenience. In general the building and running of most software will be done as hpcuser. As root, use the following command on each system to add this generic account.

Nifty command for adding a user

Note that everything after -p on the second line and before the "hpcuser" on the last line is surrounded by back-tick character.

/usr/sbin/useradd -m -d /home/hpcuser -p \
`echo 'import crypt;print \
crypt.crypt("hpcuser","NC")' \
| python` hpcuser

MPI will require SSH password-less access for multiple machines. If you intend to network a couple of systems together to do some distributed computing, follow these instructions for SSH without a password. For simplicity, no passphrase is used when generating the DSA "key pair" though that does mean less strict authentication.

Setting up password-less SSH

On a client machine, logged in as hpcuser, the following command will create a blank password (note the two sequential single-quotes with no space for the -P parameter) in the file that contains the SSH protocol version 2 authentication identity of the user (client):

ssh-keygen -t dsa -f /home/hpcuser/.ssh/id_dsa -P ''

Then the contents of the public identity file id_dsa.pub which is read-only for hpcuser on this system will be appended into an authorization file in a corresponding .ssh directory on a server system.

On the client:

# make the directory in case it does not exist
ssh hpcuser@server mkdir /home/hpcuser/.ssh
scp id_dsa.pub hpcuser@server:/home/hpcuser/.ssh/id_dsa.pub_scratch

On the server:

cd /home/hpcuser/.ssh
cat id_dsa.pub_scratch >> authorized_keys2
rm id_dsa.pub_scratch
chmod +r+w,o-r,g+r authorized_keys2

Below this sequence is shown for client "unifex" and server "rogatien"; thus allowing hpcuser to ssh into rogatien seamlessly from unifex.

hpcuser@unifex:~/.ssh> ssh hpcuser@rogatien mkdir /home/hpcuser/.ssh
Password:
hpcuser@unifex:~/.ssh> scp id_dsa.pub hpcuser@rogatien:/home/hpcuser/.ssh/id_dsa.pub_scratch
Password:
id_dsa.pub 100% 1116 1.1KB/s 00:00
hpcuser@unifex:~/.ssh> ssh hpcuser@rogatien
Password:
Last login: Tue Jul 22 12:48:00 2008 from unifex.site
hpcuser@rogatien:~> cd .ssh
hpcuser@rogatien:~/.ssh> ls
id_dsa.pub_scratch
hpcuser@rogatien:~/.ssh> cat id_dsa.pub_scratch >> authorized_keys2
hpcuser@rogatien:~/.ssh> rm id_dsa.pub_scratch
hpcuser@rogatien:~/.ssh> chmod +r+w,o-r,g+r authorized_keys2
hpcuser@rogatien:~/.ssh> ll
total 12
-rw-r----- 1 hpcuser users 1116 2008-07-22 12:50 authorized_keys2

Configuration Information
All systems installed with SUSE Linux Enterprise Desktop 10 (Service Pack 2); ext3 file system, 2.6.16-60-0.21-smp kernel, x86_64 bitness, and NUMA enabled. For networked tests, 1 Gbps NICs and switch used.

Platform

Frequency in GHz

Num Cores

RAM

Socket
Family
Revision

Motherboard

2x Dual-Core Opteron 275 (Unifex)

2.2

4

8 GB

(8x 1GB RDDR-400 MHz DIMMs)

Socket 940
Family 0Fh
Revision E

Tyan Thunder K8WE (S2895)

S2895A2NRF

2x Dual-Core Opteron 275 (Rogatien)

2.2

4

8 GB

(8x 1GB RDDR-400 MHz DIMMs)

Socket 940
Family 0Fh
Revision E

TyanThunder K8WE (S2895)

S2895A2NRF

4x Dual-Core Opteron 8216 (Kuhal)

2.4

8

16 GB (16x 1GB RDDR2-667 MHz DIMMS)

Socket 1207 (F)
Family 0Fh
Revision F

Tyan Thunder n4250QE (S4985) S4985G3NR

1x Quad- Core Phenom 9650 (Sahara)

2.3

4

4 GB (4x 1GB UDDR2-533 MHz DIMMS)

Socket AM2
Family 0Ah
Revision B

AMD “Sahara” Socket AM2 Reference Motherboard

2x Quad- Core Opteron 2356 (Palomar)

2.3

8

8 GB (4x 2GB RDDR2-667 MHz DIMMS)

Socket 1207 (F)
Family 0Ah
Revision B

Tyan Thunder

n6650W (S2915-E)

S2895A2NRF