pnetcdf_version(1)

✨ pnetcdf_version(1) ✨

okay bestie, welcome to the PnetCDF utilities</pnetcdf> corner of the manual πŸ’… this one lives in the PnetCDF utilities manual and it's genuinely the easiest glow-up in the whole toolbox β€” it just tells you what you're working with.


🌸 NAME 🌸

pnetcdf_version β€” prints the version info of the PnetCDF library. that's it. that's the job. and she does it flawlessly 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

pnetcdf_version [-v] [-d] [-c] [-b] [-l] [-h]

πŸ’– DESCRIPTION πŸ’–

so pnetcdf_version prints out the version information of the PnetCDF library, plus the configure command line that was used to build that library. iykyk, build forensics are lowkey essential when something's acting up πŸ‘‘

and here's the vibe: if you give it no argument at all, it prints all the information. everything. the whole feed. no cap.


✨ OPTIONS ✨

  • -v β€” the version number of this PnetCDF release. iconic, short, to the point.
  • -d β€” the release date.
  • -c β€” the configure command-line arguments used to build this PnetCDF.
  • -b β€” the MPI compilers used to build this PnetCDF library. this is the one you want when you're like "wait, which compiler??" 😭
  • -l β€” the LMOD PrgEnv module loaded, if it's available.
  • -h β€” prints the available command-line options of pnetcdf_version. a little help menu, a little self-care πŸŽ€

🌈 EXAMPLES 🌈

want literally everything about your PnetCDF library? just run the command with no options. periodt.

% pnetcdf_version

and she gives you this whole gorgeous receipt:

PnetCDF Version:     1.15.0
PnetCDF Release date:     July 1, 2026
PnetCDF configure:    --with-mpi=/usr/local/bin

MPICC:  /opt/cray/pe/craype/2.7.35/bin/cc
        CFLAGS: -O2
        MPI standard version: 4.0
        MPI compiler vendor: Cray MPICH 9.0.1.498
        Base compiler: /usr/bin/gcc-14
        Base compiler version: gcc-14 (SUSE Linux) 14.3.0

MPICXX: /opt/cray/pe/craype/2.7.35/bin/CC
        CXXFLAGS: -O2
        Base compiler: /usr/bin/g++-14
        Base compiler version: g++-14 (SUSE Linux) 14.3.0

MPIF77: /opt/cray/pe/craype/2.7.35/bin/ftn
        FFLAGS: -O2
        Base compiler: /opt/cray/pe/gcc-native/14/bin/gfortran
        Base compiler version: GNU Fortran (SUSE Linux) 14.3.0

MPIF90: /opt/cray/pe/craype/2.7.35/bin/ftn
        FCFLAGS: -O2
        Base compiler: /opt/cray/pe/gcc-native/14/bin/gfortran
        Base compiler version: GNU Fortran (SUSE Linux) 14.3.0

LMOD module loaded:
        LMOD_VERSION                    8.7.60
        LMOD_FAMILY_PRGENV              PrgEnv-gnu
        LMOD_FAMILY_PRGENV_VERSION      8.6.0
        LMOD_FAMILY_COMPILER            gcc-native
        LMOD_FAMILY_COMPILER_VERSION    14
        LMOD_FAMILY_MPI                 cray-mpich
        LMOD_FAMILY_MPI_VERSION         9.0.1
ngl, look at all those compiler paths. that's main character energy for a build config πŸ’€βœ¨

πŸŽ€ SEE ALSO πŸŽ€


🌸 DATE 🌸

July 1, 2026


okay that's the whole page, bestie 🫢 this version of the doc came from the PnetCDF 1.15.0 release and it was Printed: 2026-11-02, and yeah β€” pnetcdf_version(1), we love her, we stan, go run it with no options and soak in all that information πŸ’–πŸŒˆπŸ¦‹

πŸ“¦ where this page comes from