4
Determine current operating system and return a
5
unique string by using the script 'util/arch'
17
Architecture strings are used as unique identifiers for operating system
18
brands and versions in various contexts in Grid Engine. Example uses are
19
for making the compilation process generic, for installing across
20
different platforms via the same procedures and for locating the
21
appropriate binaries. The architecture string is generated and returned
22
by the script 'dist/util/arch' by printing it to STDOUT.
24
'aimk', for instance, uses the architecture string to define the names of
25
subdirectories where the binaries of a Grid Engine distribution later
26
will be stored. Thus it is possible to easily create a distribution for a
27
heterogenous cluster of Grid engine hosts in a shared directory. 'aimk'
28
will map this lower case strings to upper case strings. The name of the
29
upper case strings will be used to create subdirectories where the
30
compilation will create object files and binaries for a single
31
architecture target. This scheme makes it possible to use the same Grid
32
Engine source code distribution for compilation on a variety of different
35
Currently the 'arch' script returns the following strings. This list may
38
arch compile arch description
39
----------------------------------------------------------------------
40
aix43 AIX43 IBM AIX 4.3.x, 32bit
41
aix51 AIX51 IBM AIX 5.1.x, 64bit kernel
42
cray UNICOS Cray Unicos 10.0.x XMP, YMP, J90, C90, SV1
43
crayts UNICOS_TS Cray Unicos 10.0.x T90
44
craytsieee UNICOS_TS_IEEE Cray Unicos 10.0.x T90 with IEEE hardware
45
hp11 HP11 HP HP-UX 11 32bit
46
hp11-64 HP1164 HP HP-UX 11.00 64bit
47
irix65 IRIX65 SGI Irix 6.5,
48
lx22-axp ALINUX Linux for Alpha AXP, glibc
49
lx24-amd64 LINUXAMD64_24 Linux AMD64, 2.4 kernel
50
lx24-x86 LINUX86_24 Linux x86, 2.4 kernel
51
necsx4 NECSX4 NEC SX4, SUPER-UX
52
necsx5 NECSX5 NEC SX5, SUPER-UX
53
sol-sparc SOLARIS Sun, Sparc Solaris 7, 8, 9 32bit
54
sol-sparc64 SOLARIS64 Sun, Sparc, Solaris 7, 8, 9 64bit
55
sol-x86 SOLARIS86 Sun, x86, Solaris 8, 9
56
tru64 ALPHA5 Compaq Tru64 Unix 5.0, 5.1
58
Often a binary set compiled on an older operating system will run without
59
any problems on a newer OS version. The reverse is almost never true.
64
The Contents of this file are made available subject to the terms of
65
the Sun Industry Standards Source License Version 1.2
67
Sun Microsystems Inc., March, 2001
69
Sun Industry Standards Source License Version 1.2
70
=================================================
71
The contents of this file are subject to the Sun Industry Standards
72
Source License Version 1.2 (the "License"); You may not use this file
73
except in compliance with the License. You may obtain a copy of the
74
License at http://gridengine.sunsource.net/Gridengine_SISSL_license.html
76
Software provided under this License is provided on an "AS IS" basis,
77
WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
78
WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
79
MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
80
See the License for the specific provisions governing your rights and
81
obligations concerning the Software.
83
The Initial Developer of the Original Code is: Sun Microsystems, Inc.
85
Copyright: 2001 by Sun Microsystems, Inc.