NCARGF90(1NCARG)
π 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:ncargf90cannot be used to compile NCAR Graphics Fortran programs that call the HLUs (high-level utilities). for those you must usenhlf90instead. go read thenhlf90man 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 Graphicsngmathlibrary. 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β whenncargf90is invoked with this option, the resulting executable will, upon invocation, send its metafile output to the translatorictrans. the environment variableGRAPHCAPmust be set to a valid graphics output device whenever the executable is executed. so like, setGRAPHCAP, 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 π
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
- epel 9: ncl-common 6.6.2-59.el9 Β· LicenseRef-Callaway-BSD
- fedora 43: ncl-common 6.6.2-58.fc43 Β· LicenseRef-Callaway-BSD
- fedora 44: ncl-common 6.6.2-62.fc44 Β· LicenseRef-Callaway-BSD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms