1NCARGF77(1NCARG) NCAR GRAPHICS NCARGF77(1NCARG)
2
3
4
6 ncargf77 - Command for compiling Fortran code that uses the NCAR Graph‐
7 ics low-level utilities
8
10 ncargf77 [-ngmath] [-smooth] [-quick] [-super] [-agupwrtx] [-ncarbd]
11 [-ngmathbd] [-ictrans] [-noX11] ...
12
14 ncargf77 is a script that invokes the FORTRAN 77 compiler/linker with
15 the proper NCAR Graphics LLU (low-level utility) libraries. Arguments
16 presented above are associated with NCAR Graphics. All other arguments
17 and options are identical to the f77 command on your particular
18 machine; arguments that include quoted strings may have to be enclosed
19 in single quotes.
20
21 NOTE: ncargf77 cannot be used to compile NCAR Graphics Fortran programs
22 that call the HLUs (high-level utilities). You must use nhlf77
23 instead. See the nhlf77 man page for more information.
24
25 In order to run ncargf77, you must have your NCARG_ROOT environment
26 variable set to the directory pathname where the NCAR Graphics
27 libraries, binaries, and include files were installed. If you are not
28 sure what NCARG_ROOT should be set to, please check with your system
29 administrator or the site representative for NCAR Graphics. If the
30 NCAR Graphics libraries, binaries, and include files were not installed
31 under one root directory, then you will need to set the environment
32 variables NCARG_LIB, NCARG_BIN, and NCARG_INCLUDE instead. Please see
33 "man ncargintro" for more information.
34
35 Note that, on some systems, if you supply your own binary libraries in
36 addition to the ones automatically referenced by ncargf77, all the
37 libraries must have been created in a similar fashion.
38
39 OPTIONS
40
41 -ngmath
42 Links in the NCAR Graphics ngmath library.
43
44
45 -smooth
46 Link in the "smooth" objects.
47
48
49 -quick Link in the "quick" objects.
50
51
52 -super Link in the "super" objects.
53
54
55 -agupwrtx
56 Link in the "agupwrtx" library.
57
58 -ictrans
59 When ncargf77 is invoked with the this option, the resulting
60 executable will, upon invocation, send its metafile output to
61 the translator ictrans. The environment variable GRAPHCAP must
62 be set to a valid graphics output device whenever the executable
63 is executed.
64
65
66 -ncarbd
67 Use this option for compilers that appear to be having trouble
68 initializing blockdata variables. It will cause a small subrou‐
69 tine to be linked in that helps force the loading of blockdata
70 initialization routines.
71
72
73 -ngmathbd
74 Just like with the -ncarbd option, use this option for compilers
75 that appear to be having trouble initializing Ngmath-related
76 blockdata variables. It will cause a small subroutine to be
77 linked in that helps force the loading of Ngmath blockdata ini‐
78 tialization routines.
79
80 Note: this option doesn't need to be specified separately if you
81 are already including the -ncarbd and -ngmath options.
82
83
84 -noX11 Do not link in the X library when linking the code.
85
86 By default, ncargf77 will load the X11 library when linking your
87 Fortran program. This is because the GKS library now has an X11
88 driver. If you try running ncargf77 and the compiler complains
89 that it cannot find the library for X11, then try running
90 ncargf77 -L/xxx/yyy/zzz program.f where /xxx/yyy/zzz is the path
91 leading to your X11 library. If you do not have the X11
92 library, or else you just don't want it to be loaded, you can
93 use the -noX11 option.
94
95
97 Online: ictrans(1NCARG), gcaps(1NCARG), ncargcc(1NCARG), nhlcc(1NCARG),
98 nhlf77(1NCARG), ncargintro(5NCARG)
99
100 Hardcopy: NCAR Graphics Fundamentals, UNIX Version
101
103 Copyright (C) 1987-2002
104 University Corporation for Atmospheric Research
105
106 This documentation is free software; you can redistribute it and/or
107 modify it under the terms of the GNU General Public License as pub‐
108 lished by the Free Software Foundation; either version 2 of the
109 License, or (at your option) any later version.
110
111 This software is distributed in the hope that it will be useful, but
112 WITHOUT ANY WARRANTY; without even the implied warranty of MER‐
113 CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
114 Public License for more details.
115
116 You should have received a copy of the GNU General Public License along
117 with this software; if not, write to the Free Software Foundation,
118 Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
119
120
121
122NCAR March 1993 NCARGF77(1NCARG)