1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105
|
These are a few helpful hints for compiling PGPLOT on Silicon Graphics
machines running the Irix operating system.
IRIX prior to 6.2
-----------------
If you are using an earlier version of IRIX than 6.2, edit the .conf
file in this directory and change
LIBS="-lX11"
to
LIBS="-lX11_s"
Compilation Options
-------------------
The SG Fortran and C compilers have a variety of compilation modes,
e.g., -32, -n32, -64. The configuration files provided use the
default; if you change this, make sure you compile everything in the
same mode. The appropriate options may depend on how your system is
set up or how you plan to use the library. For example, one user
reported that he needed "-mips4" in Fortran and "-n32" in C. To change
the options, eirther edit the makefile, or (better), edit the
configuration file in this directory (e.g.,
pgplot/sys_linux/f77_cc.conf) before running makemake, following the
comments in the file.
SGI manuals are available online at http://techpubs.sgi.com/library/
PGNUMB
------
A user has reported that PGNUMB does not generate correct code for
numbers in exponential format. This affects axes drawn with PGBOX
etc. when labels require a multiplying power of 10. This appears to be
a due to a bug in the SGI Fortran compiler. It can apparently be fixed
by specifying -backslash when compiling the pgplot library. Edit the
.conf file and change
FFLAGC="-u -O2"
to
FFLAGC="-u -O2 -backslash"
PGPLOT driver for SGI GL library: not recommended
-------------------------------------------------
In the drivers/old directory there is a native SGI GL library driver
called irdriv.c. Note this driver does not report the position of the
cursor correctly unless the window is in the very bottom left of the
screen, and may have other problems.. Since the new /XW and /XS
devices work fine on the SGI console, you are encouraged to use these
instead of /IR.
If you want to use this driver, move it to the pgplot/drivers
directory, and add the line:
IRDRIV 0 /IRIS SiliconGraphics Console SGI only (C)
to your local drivers.list file. You will also need to include the gl
library when linking programs: add "-lgl" or "-lgl_s" to the
definition of LIBS in the .conf file in this directory. Then rerun
makemake and make.
Some people have gotten a "-lgl_s file not found" message. This error
occurs if you only have the runtime version of the gl library
installed. The solution is to create a version of pgplot without the
IRIS driver.
PGPLOT driver for PGDISP/FIGDISP: not supported
-----------------------------------------------
The device driver x2driv.c and its supporting server program pgdisp
cannot be compiled on SGI. Use xwdriv.c (/XWIN or /XSERV) instead. I
no longer support x2driv/pgdisp and I only distribute the code for the
benefit of people using the Figaro astronomical image processing
system.
Other Problems
--------------
Some users report warning messages when linking the the demo programs.
Messages that routines are multiply defined are probably harmless; if
you think they are due to a problem in PGPLOT or the installation
procedure, please let me know.
Older versions of the compiler would sometimes crash compiling some
PGPLOT routines. If this happens, just decrease the level of
optimization and try again; e.g., change the flags in the
configuration file (*.conf) to -O1 on FFLAGC and -O0 on FFLAGD.
PGPLOT should compile and run without the -static flag. This flag
is equivalent to including a SAVE statement in the code. If you find
a routine that needs the -static then this is a bug in the PGPLOT code
that should be fixed. Please report the problem.
________________________________________________________________________
TJP 23-Nov-1998
|