Skip to content

NCL

NCL (NCAR Command Language) is an interpreted language designed specifically for scientific data analysis and visualization. NCAR provides official documentation regarding NCL.

Usage Summary

Cori

NCL is available on Cori as the module ncl. To use:

module load ncl
ncl mycode.ncl

Add $NCAR to the link line if needed. On Cori, the ncl module also provides the NCL compiler wrappers ncargf77, ncargf90, and ncargcc, and it defines the environment variable NCAR which contain the full list of compiler switches that can be used to compile NCL applications.

Perlmutter

NCL is avaiable on Perlmutter as part of the E4S software stack. To use:

module load e4s
spack env activate gcc
spack load --only package ncl
ncl mycode.ncl

Add -L/usr/lib64 -lX11 -lcairo -lfreetype to the link line if needed. Notice each module or spack load command above can be relatively slow since it is making lots of environment configurations.

The following is a list of related Web documentation for NCL: