Next: Customized Installation
Up: Portability
Previous: Portability
The Makefile for CLP( ) contains definitions of the environment
variables CC, CFLAGS, EXEC and OPTIONS. They
should be checked before installation and adjusted as follows.
- CC is just the name of the C compiler to be used to compile the
CLP( ) system. It is almost always reasonable to leave this as cc,
although many machines now have more efficient (and more correct) C compilers
available. Information about these can be obtained from your system
administrator.
- CFLAGS specifies switches of the above C compiler that need to
be used. While various C compilers have their own range of switches that might
have to be used to make such a large program compile and run, in most
cases only the optimization level will be needed here. This will almost
always be -O but higher optimization levels may be available.
Also special flags may sometimes be necessary to utilize the
full performance of the native floating point hardware.
However, it is important to realize that many
optimizing C compilers have bugs that are only triggered by compiling
a large program at a high optimization level. For this reason, the first
attempt to install CLP( ) should be made without invoking the C compiler's
global optimizer. This usually involves just leaving the CFLAGS field
blank.
- EXEC specifies the name of the CLP( ) binary to be generated.
We recommend clpr.
- LIBPATH specifies the default directory for the startup file
init.clpr. It should be set to the directory in which CLP( ) is
installed.
- OPTIONS is used to specify the hardware and operating system.
A number of predefined options are available, which often need to be used
in combinations.
- BSD
- Always set if system is running Berkeley Unix, or MACH,
or Ultrix. This is also to be set for NEXT machines.
- AIX
- Always set if system is running IBM's AIX operating system.
- SYS5
- This broadly indicates that some version of System V Unix
is being used. Should also be used in combination with AIX flag and
if the operating system is Hewlett-Packard's HP/UX.
- IBMRT
- This indicates that the system is an IBM RT/PC.
- RS6000
- This indicates that the system is an IBM RS/6000.
- HP835
- This is needed for the Hewlett-Packard RISC workstations -
especially the 9000 series model 835. Note that it is not appropriate for
those HP workstations based on Motorola processors.
- MIPS
- Needed for machines with MIPS CPU, such as SGI machines
and the DECStation 3100.
bsphackfloatpenalty -Mii
floatpenalty-Miii
parmoderrfloatpenalty@
nextcurrboxfreelist
currbox-2floatpenalty@ fltovf
currboxtempboxa
tempboxa
@floatesphackbsphackfloatpenalty -Mii
floatpenalty-Miii
parmoderrfloatpenalty@
nextcurrboxfreelist
currbox-3floatpenalty@ fltovf
currboxtempboxa
tempboxa
@floatesphack
- MSDOS
- Set for 386 or 486 PC's running MS/DOS.
See the file ``DOS/README.DOS'' for details.
- OS2V2
- Set for 386 or 486 PC's running OS/2 2.0
(IMPORTANT NOTE: CLP( ) version 1.2 will not
work on OS/2 1.x because that only supports 16-bit addressing).
See the file ``DOS/README.OS2'' for details.
bsphackfloatpenalty -Mii
floatpenalty-Miii
parmoderrfloatpenalty@
nextcurrboxfreelist
currbox-4floatpenalty@ fltovf
currboxtempboxa
tempboxa
@floatesphack
So, for example an IBM RS/6000 running AIX would need the definition
bsphackfloatpenalty -Mii
floatpenalty-Miii
parmoderrfloatpenalty@
nextcurrboxfreelist
currbox-2floatpenalty@ fltovf
currboxtempboxa
tempboxa
@floatesphackbsphackfloatpenalty -Mii
floatpenalty-Miii
parmoderrfloatpenalty@
nextcurrboxfreelist
currbox-3floatpenalty@ fltovf
currboxtempboxa
tempboxa
@floatesphack
One parameter which may have to be changed to ensure that the CPU timing
is correct on machines running System V Unix is the Hertz rate which
determines the unit of time measured.
Typically this value of HZ is either 60 or 100.
The default value is 60 and otherwise it should be added to the
OPTIONS line in the Makefile, eg. -DHZ=100,
(on the RS/6000 the default is 100hz).
bsphackfloatpenalty -Mii
floatpenalty-Miii
parmoderrfloatpenalty@
nextcurrboxfreelist
currbox-4floatpenalty@ fltovf
currboxtempboxa
tempboxa
@floatesphack
Next: Customized Installation
Up: Portability
Previous: Portability
Alan Borning
Fri Oct 8 12:51:18 PDT 1999