File: aaaread.me

package info (click to toggle)
pgplot5 5.2.2-19.3
  • links: PTS
  • area: non-free
  • in suites: buster, stretch
  • size: 7,136 kB
  • ctags: 6,763
  • sloc: fortran: 39,792; ansic: 22,549; objc: 1,534; sh: 1,298; makefile: 385; perl: 234; pascal: 233; tcl: 190; awk: 51; csh: 25
file content (90 lines) | stat: -rw-r--r-- 3,338 bytes parent folder | download | duplicates (11)
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
pgplot/sys_sol2

The *.conf files in this directory are for use with Solaris 2.x (SunOS
5.x).  Use the *.conf files in pgplot/sys_sun4 for SunOS v4.1.x
(Solaris version 1.x).

f77_cc.conf: for the Solaris f77 FORTRAN compiler and Solaris
(SunWpro) cc ANSI C compiler.

  NOTE: this will not work if "cc" on your system invokes the
 old BSD (non-ANSI) C compiler.

f77_gcc.conf: for the Solaris f77 FORTRAN compiler and Gnu gcc C
compiler.

g77_gcc.conf: for the GNU g77 FORTRAN compiler and Gnu gcc C compiler.

  NOTE: g77 will not compile some of the very non-standard drivers,
  including HGDRIV and LJDRIV. The drivers should be rewritten.

f90_cc.conf: for the Solaris f90 1.1 FORTRAN compiler and Solaris cc
ANSI C compiler.

  (Provided by Ricardo Piriz.) This does not create a shared library:
  The f90 manual is not very clear about it, but it says "...this
  release does not provide a way to guarantee that code is position
  independent (no -PIC option)". The compiler warns about INTEGER*2
  variables, but compiles them (correctly) as INTEGER*4.  Many of the
  device drivers cannot be compiled with this compiler; so far, only the
  NULL, POSTSCRIPT, Xterm, and X-window drivers (nudriv, psdriv, ttdriv,
  xwdriv)have been tested.

  The effect of promotion of INTEGER*2 to INTEGER*4 is to double the
  size of the binary font file grfont.dat, and it also means that you
  cannot use an f77 version of grfont.dat with an f90 version of pgplot,
  or vice versa.

-----------------------------------------------------------------------

POTENTIAL PROBLEMS

(1) You must use the Solaris version of "ld", not the ucb version.

Symptom: when running a pgplot program, you get the following message:
 % pgdemo1
 ld.so.1: pgdemo1: fatal: libucb.so.1: can't open file: errno=2
 killed 

Check which version of "ld" you are using by executing the following
command:

% which ld

You should get a result like:

/usr/ccs/bin/ld

However, if the command shows a filename with "ucb" in it, you are
picking up the wrong version. Solaris 2.5 does not require anything in
the "ucb" directories, but they are provided for backwards
compatibility with SunOS. You will need to change your path (PATH
environment variable) (before installing PGPLOT) to make sure that the
Solaris directories are scanned before any ucb directories. My PATH
does not include the ucb directories at all:

bottom% echo $PATH
/usr/openwin/bin:/opt/SUNWspro/bin:/usr/bin:/usr/local/bin:/usr/sbin:/usr/ccs/bin:/home/bottom/tjp/bin:.

I do not know why Sun distributes two versions of "ld" with Solaris,
or why they are imcompatible.

------------------------------------------------------------------------

OTHER NOTES

A user has successfully linked a program compiled with Craysoft f90
with PGPLOT compiled with Sun f77; but it required a large number of
libraries to be included:

LIBS    =        -lm -L/usr/local/SUNWspro/lib -lF77 -lF77_mt 
-L/usr/local/SUNWspro/SC3.0.1/lib -lM77 -lm_mt -lmtsk -lmopt -lsunmath 
-lsunmath_mt -L/usr/openwin/lib -lX11 -lnsl -lsocket -L$(PGPLOT_DIR)
-lpgplot -lcpgplot -ltkpgplot -L/usr/local/tk8.0/unix -ltk8.0
-L/usr/local/tcl8.0/unix -ltcl8.0 -L/usr/local/SUNWspro/SC3.0.1/libp
-lF77 -lF77_mt  -lm_mt -lsunmath -lsunmath_mt

------------------------------------------------------------------------

Tim Pearson
30 Jun 1998