File: README

package info (click to toggle)
pcx 1.1.18-2
  • links: PTS
  • area: non-free
  • in suites: lenny, squeeze
  • size: 2,644 kB
  • ctags: 1,980
  • sloc: ansic: 20,454; fortran: 2,974; makefile: 367; sh: 150; csh: 48
file content (64 lines) | stat: -rw-r--r-- 2,056 bytes parent folder | download | duplicates (6)
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
To install PCx on a Unix system, download the file
PCx.tar.gz and place it in its own subdirectory (referred to
henceforth as the "working directory"). From the working directory,
uncompress by typing

gunzip PCx.tar.gz

and un-tar by typing

tar xvf PCx.tar

The subdirectories SRC/, DOC/, MAKEARCH/, Ng-Peyton/, and mps/
will be created, together with this README file, a COPYRIGHT statement,
and a sample parameter specifications file named "PCx.specs".
To create the executable "PCx" in the working directory, type 

build

=======================================================================

We have tested this procedure on the following architectures:

sun4-class workstations running SunOS;
UltraSparc workstation running Solaris 2.x;
SGI workstations running IRIX 5.3 and 6.4;
HP-9000 workstations;
Pentium PC running Linux;
IBM RS6000 workstations.

Unfortunately, the build procedure is site-specific as well as 
architecture-specific, particularly since it involves linking of 
Fortran and C source files, so there are no guarantees that it will 
work on your machine, even if you have one of the systems mentioned 
above. If the "build" fails on your machine, you can download an 
executable from the PCx web site for each of the architectures above. 
See the PCx home page for details.

Some linkers might issue a warning that there are two main-functions, 
chances are that this warning can be safely ignored and the executable 
will be fully functional.

If your compiler does not compile the PCx code correctly, try removing
the reference to nullmain.o in the file SRC/Makefile.  Some compilers
seem need this null routine in the linking process. 

If you are having difficulty compiling the file timers.c, it is
possible to turn off the timing routines.  Simply change the file
SRC/Makefile.  Change the line

CFLAGS = -O -D$(PCx_ARCH)

to 

CFLAGS = -O -D$(PCx_ARCH) -DNO_TIMING

To test PCx on one of the input files in the subdirectory "mps/", type

PCx afiro

or

PCx greenbeb

A User Manual is available in the subdirectory DOC.