NHLCC(1NCARG)
๐ NHLCC โ the NCAR Graphics C-compiling bestie ๐
okay so this is the manual page for nhlcc, from the NCAR Graphics manual (section 1NCARG). Buckle up, it's giving compiler-wrapper realness. ๐
โจ NAME โจ
nhlcc โ the command you use to compile C code that uses the NCAR Graphics high-level utilities. slay. ๐
โจ SYNOPSIS โจ
nhlcc [-ngmath] [-ncarbd] [-ngmathbd] [-netcdf] [-hdf] ...
yes bestie, that ... is doing SO much heavy lifting, it means you can pass literally anything else through too. ๐ธ
โจ DESCRIPTION โจ
So nhlcc is a script that calls up the C compiler/linker with all the right NCAR Graphics LLU (low-level utility) and HLU (high-level utility) libraries already baked in. no cap. โจ
The arguments listed up in the synopsis are the ones that are specifically about NCAR Graphics. Every other argument and option behaves exactly like cc does on your particular machine โ like, your machine's cc, fr fr. One lil caveat though: arguments that include quoted strings may have to be wrapped in single quotes. ๐
Not feeling the nhlcc lifestyle? Totally valid. You can just type it on the command line to see what gets included in the link line, and then copy that info into your own Makefile or script. main character energy, honestly. ๐ซถ
โ ๏ธ but listen: you must define the macro NeedFuncProto for function prototyping to work correctly. not optional. periodt. ๐
To actually run nhlcc, you need your NCARG_ROOT environment variable set to the directory pathname where the NCAR Graphics libraries, binaries, and include files were installed. If you're sitting there like "bestie what do I even set NCARG_ROOT to" โ go ask your system administrator or your site representative for NCAR Graphics, they got you. ๐
And if the NCAR Graphics libraries, binaries, and include files were not installed under one single root directory? Then you gotta set these three instead:
NCARG_LIBNCARG_BINNCARG_INCLUDE
pls go read man ncargintro for more info, it's the blueprint. ๐โจ
One more thing โ note that on some systems, if you supply your own binary libraries in addition to the ones nhlcc automatically references, all the libraries must have been created in a similar fashion. that's the vibe check, don't skip it. ๐ฅ
โจ OPTIONS โจ
-ngmathโ links in the NCAR Graphicsngmathlibrary. cute, math-y, iconic. ๐งฎโจ-ncarbdโ use this one for compilers that appear to be having trouble initializing blockdata variables. ๐ญ It causes a small subroutine to be linked in that helps force the loading of blockdata initialization routines. basically a little rescue mission for your compiler. ๐ซถ-ngmathbdโ just like-ncarbd, but for compilers that appear to be having trouble initializing Ngmath-related blockdata variables. It links in a small subroutine that helps force the loading of Ngmath blockdata initialization routines. ๐
๐ก Note: you don't need to specify this option separately if you're already including the-ncarbdand-ngmathoptions. iykyk. ๐
-netcdfโ links in thenetCDFlibrary. Heads up bestie: this library is not part of NCAR Graphics, so check with your system administrator if you need it installed. You can obtain a copy by doing an anonymousftptounidata.ucar.edu. ๐-hdfโ links in theHDFlibrary. Same deal: this library is not part of NCAR Graphics, so check with your system administrator if you need it installed. You can obtain a copy by doing an anonymousftptoftp.ncsa.uiuc.edu. ๐
โจ SEE ALSO โจ
Online, go read these too, they're all part of the fam ๐ซถ:
nhlf77(1NCARG)ncargf77(1NCARG)ncargcc(1NCARG)ncargintro(5NCARG)
โจ COPYRIGHT โจ
Copyright (C) 1987-2000
University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.
so iconic of them, protecting the software since 1987. ๐๐
and that's the whole page bestie โ this one's from <strong>NCAR</strong>, dated <strong>April 1995</strong>, filed under <strong>NHLCC(1NCARG)</strong>. go compile something gorgeous โจ๐
๐ฆ 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