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 ofpnetcdf_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
- ubuntu stonking: pnetcdf-bin 1.15.0-3build1 Β· Northwestern
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms