NCARGF77(1NCARG)

πŸ“¦ version 6.6.2, in epel 9, fedora 43, fedora 44

πŸ’– NCARGF77 πŸ’– (the NCAR Graphics low-level-utilities Fortran compiler bestie)

okay so real talk, this is ncargf77, and it lives in the NCAR Graphics corner of the manual universe. she's giving compiler-wrapper, she's giving low-level utility energy, and she's here to help you build your Fortran stuff. 🫢


✨ NAME ✨

ncargf77 β€” the command for compiling Fortran code that uses the NCAR Graphics low-level utilities. that's her whole job, and she ate. πŸ’…


🌸 SYNOPSIS 🌸

ncargf77 [-ngmath] [-smooth] [-quick] [-super] [-agupwrtx] [-ncarbd]
[-ngmathbd] [-ictrans] [-noX11] ...

πŸ¦‹ DESCRIPTION πŸ¦‹

so ncargf77 is a script β€” not a compiler, a script, main character energy β€” and what she does is invoke the FORTRAN 77 compiler/linker with the proper NCAR Graphics LLU (low-level utility) libraries all linked in for you. no cap. πŸ”₯

the arguments listed up there in the synopsis are the NCAR Graphics ones. every single other argument and option is identical to the f77 command on your particular machine, so whatever your f77 does, this does too. one tiny heads-up: arguments that include quoted strings may have to be enclosed in single quotes. just a lil thing. πŸ™ˆ

NOTE, and this one matters bestie: ncargf77 cannot be used to compile NCAR Graphics Fortran programs that call the HLUs (high-level utilities). like, she cannot. you have to use nhlf77 instead. go read the nhlf77 man page for more info. πŸ’€

in order to run ncargf77, you must have your NCARG_ROOT environment variable set to the directory pathname where the NCAR Graphics libraries, binaries, and include files were installed. if you're not sure what NCARG_ROOT should be set to, please check with your system administrator or the site representative for NCAR Graphics β€” they got you. 🧚

if the NCAR Graphics libraries, binaries, and include files were not installed under one root directory, then you'll need to set the environment variables NCARG_LIB, NCARG_BIN, and NCARG_INCLUDE instead. please see man ncargintro for more information. πŸ“š

also, note that on some systems, if you supply your own binary libraries in addition to the ones automatically referenced by ncargf77, all the libraries must have been created in a similar fashion. like they have to match, that's the vibe check. ✨


πŸ’… OPTIONS πŸ’…

  • -ngmath β€” links in the NCAR Graphics ngmath library. come through, math. πŸ“
  • -smooth β€” link in the "smooth" objects. yes, lowercase smooth, she's chill like that.
  • -quick β€” link in the "quick" objects. fast girlie behavior. ⭐
  • -super β€” link in the "super" objects. iconic, no notes. πŸ‘‘
  • -agupwrtx β€” link in the "agupwrtx" library.
  • -ictrans β€” when ncargf77 is invoked with the this option, the resulting executable will, upon invocation, send its metafile output to the translator ictrans. and listen β€” the environment variable GRAPHCAP must be set to a valid graphics output device whenever the executable is executed. every single time. don't forget. πŸŽ€
  • -ncarbd β€” use this option for compilers that appear to be having trouble initializing blockdata variables. it will cause a small subroutine to be linked in that helps force the loading of blockdata initialization routines. lil guy doing big work. 🫢
  • -ngmathbd β€” just like with the -ncarbd option, use this option for compilers that appear to be having trouble initializing Ngmath-related blockdata variables. it will cause a small subroutine to be linked in that helps force the loading of Ngmath blockdata initialization routines.
Note: this option doesn't need to be specified separately if you are already including the -ncarbd and -ngmath options. save yourself the typing, bestie. 😌
  • -noX11 β€” do not link in the X library when linking the code.

by default, ncargf77 will load the X11 library when linking your Fortran program. this is because the GKS library now has an X11 driver. so if you try running ncargf77 and the compiler complains that it cannot find the library for X11, then try running:

ncargf77 -L/xxx/yyy/zzz program.f

where /xxx/yyy/zzz is the path leading to your X11 library. and if you do not have the X11 library, or else you just don't want it to be loaded β€” valid β€” you can use the -noX11 option. πŸ’œ


πŸ‘€ SEE ALSO πŸ‘€

Online: ictrans(1NCARG), gcaps(1NCARG), ncargcc(1NCARG), nhlcc(1NCARG), nhlf77(1NCARG), ncargintro(5NCARG)

Hardcopy: NCAR Graphics Fundamentals, UNIX Version


Copyright (C) 1987-2002 University Corporation for Atmospheric Research The use of this Software is governed by a License Agreement.


okay that's the whole page, you're so welcome. this was brought to you by NCAR, dated March 1993, filed under NCARGF77(1NCARG) β€” go compile something gorgeous, bestie, you got this πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from