Print view
back  |   1   2  |  next

Cross: Compile Server and Data Frontend for Hurrikan


Introduction

Compilers for NEC-SX6 (hurrikan) are not only provided on the hurrikan itself but also as a so called cross compile environment for LINUX and UNIX computers. This means you can create executables for SX-6 on other computers. The complete cross environment is available to all users of HLRE on the DKRZ cross compile server  cross.dkrz.de . For efficiency reasons it is strongly recommended to use these cross compilers.

Note: A cross compiling environment is also available for your personel linux or solaris system if you are willing to deal with installation and version control yourself (see ...)


System Description

cross  is a NEC TX7 ( 32-way Intel Itanium2  IA64) computer with a shared physical memory of 32 GB.
The operating system is Linux (Red Hat Advanced Server). 


Cross Compilation

Initialization of the default cross-compilers

In order to use the SX cross-compiler the environment has to be initialized.

It is recommended to use the module  command

module load cross-compiler

So the current default environment is loaded.  (see compiler versions).

Display the default compiler versions:

module whatis sxf90/default
resp.
module whatis sxc++/default

Initialize other versions of the cross-compilers

The  module  command can be used to switch between different compiler versions.
To get a list of the available compiler versions submit

module avail

For example, if you want to switch to the Fortran compiler rev. 267 you have to type

module swap sxf90/default sxf90/2.0rev267-ia64

Then you might like issuing

module list

which will give you a quite comprehensive list of all modules currently loaded. For all details of the module command please refer to the man page.

For an introduction to the usage of the cross compilers see the respective chapter of  "usage of the SX-6 at DKRZ"

next page
Deutsches Klimarechenzentrum GmbH | Impressum