NCARGF90(1NCARG)

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

πŸ’– NCARGF90 πŸ’– (the NCAR GRAPHICS manual, section 1NCARG)

okay bestie, listen up β€” this is the page for ncargf90, and it's literally the moment your Fortran code meets the NCAR Graphics low-level utilities. it's giving ✨glue✨ energy. let's go 🫢


✨ NAME ✨

ncargf90 β€” the command you run to compile Fortran code that uses the NCAR Graphics low-level utilities. that's the whole vibe. πŸŽ€


🌸 SYNOPSIS 🌸

ncargf90 [-ngmath] [-smooth] [-quick] [-super] [-agupwrtx] [-ictrans]
[-noX11] ...

πŸ¦‹ DESCRIPTION πŸ¦‹

so ncargf90 is a script, right? and what it does is invoke the FORTRAN 90 compiler/linker with all the proper NCAR Graphics LLU (low-level utility) libraries already hooked up. no cap, it just handles the linking drama for you πŸ’…

the arguments listed up there in the synopsis are the ones associated with NCAR Graphics. every other argument and option is identical to the f90 command on your particular machine β€” so if you know your local f90, you already know the rest. one lil heads up: arguments that include quoted strings may have to be enclosed in single quotes. just how it is πŸ™ˆ

NOTE: ncargf90 cannot be used to compile NCAR Graphics Fortran programs that call the HLUs (high-level utilities). for those you must use nhlf90 instead. go read the nhlf90 man page for more info, bestie, don't fight it 😭

now, to actually run ncargf90, you gotta have your NCARG_ROOT environment variable set to the directory pathname where the NCAR Graphics libraries, binaries, and include files were installed. that's non-negotiable, it's the main character of your environment 🌈

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 know, you don't have to guess fr fr.

and 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, a lil note for the multitaskers: on some systems, if you supply your own binary libraries in addition to the ones automatically referenced by ncargf90, then all the libraries must have been created in a similar fashion. keep that in mind, no mixing and matching chaos please πŸ’€

✨ OPTIONS ✨

  • -ngmath β€” links in the NCAR Graphics ngmath library. math but make it graphics πŸ“
  • -smooth β€” link in the "smooth" objects. sleek. silky. iconic.
  • -quick β€” link in the "quick" objects. speedrun mode ⭐
  • -super β€” link in the "super" objects. super indeed πŸ‘‘
  • -agupwrtx β€” link in the "agupwrtx" library. yes that's the name, don't @ me πŸ’…
  • -ictrans β€” when ncargf90 is invoked with this option, the resulting executable will, upon invocation, send its metafile output to the translator ictrans. the environment variable GRAPHCAP must be set to a valid graphics output device whenever the executable is executed. so like, set GRAPHCAP, always, every time, or nothing happens 😭
  • -noX11 β€” do not link in the X library when linking the code.

by default, ncargf90 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 ncargf90 and the compiler complains that it cannot find the library for X11, then try running:

ncargf90 -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, you can use the -noX11 option. problem solved, slay πŸŽ€


πŸ”₯ SEE ALSO πŸ”₯

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

go read them, iykyk πŸ“šβœ¨


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


okay that's the whole page, you're fully caught up 🫢 this was the NCAR GRAPHICS manual, June 1998, brought to you by NCAR β€” and the page title is NCARGF90(1NCARG) in case you forgot. now go compile something cute, bestie πŸ’…πŸŒΈ

πŸ“¦ where this page comes from